Revision 6735
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/NCU-NCSC/Specimen/map.csv | ||
---|---|---|
1 |
NCU-NCSC,VegCore,Filter,Comments |
|
2 |
Accession Number,occurrenceID,, |
|
3 |
SeriesName,collectionCode,, |
|
4 |
Barcode,catalogNumber,, |
|
5 |
Full Taxon Name,taxonName,, |
|
6 |
Collect Date,dateCollected,, |
|
7 |
Country,country,, |
|
8 |
State,stateProvince,, |
|
9 |
County,county,, |
|
10 |
Cultivated?,cultivated,, |
|
11 |
Elevation,verbatimElevation,, |
|
12 |
Lat (-=S),decimalLatitude,"/_replace:[""\?$""=]/value", |
|
13 |
Long (-=W),decimalLongitude,"/_replace:[""\?$""=]/value", |
|
14 |
Accuracy,coordinateUncertaintyInMeters,, |
|
15 |
FIPS,*FIPS,,FIPS county code |
|
16 |
Alt N/S,*Alt N/S,, |
|
17 |
Alt E/W,*Alt E/W,, |
|
18 |
Format,preparations,, |
|
19 |
Typology,typeStatus,, |
inputs/NCU-NCSC/Specimen/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>NCU-NCSC</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<location> |
|
10 |
<authorlocationcode> |
|
11 |
<_alt> |
|
12 |
<1>$Accession Number</1> |
|
13 |
<2> |
|
14 |
<_join> |
|
15 |
<2>$SeriesName</2> |
|
16 |
<3>$Barcode</3> |
|
17 |
</_join> |
|
18 |
</2> |
|
19 |
</_alt> |
|
20 |
</authorlocationcode> |
|
21 |
<elevation_m> |
|
22 |
<_units> |
|
23 |
<to>m</to> |
|
24 |
<to></to> |
|
25 |
<value>$Elevation</value> |
|
26 |
</_units> |
|
27 |
</elevation_m> |
|
28 |
<locationevent> |
|
29 |
<taxonoccurrence> |
|
30 |
<aggregateoccurrence> |
|
31 |
<collectiondate>$Collect Date</collectiondate> |
|
32 |
<plantobservation> |
|
33 |
<specimenreplicate> |
|
34 |
<catalognumber_dwc>$Barcode</catalognumber_dwc> |
|
35 |
<collectioncode_dwc>$SeriesName</collectioncode_dwc> |
|
36 |
<sourceaccessioncode>$Accession Number</sourceaccessioncode> |
|
37 |
</specimenreplicate> |
|
38 |
</plantobservation> |
|
39 |
</aggregateoccurrence> |
|
40 |
<iscultivated>$Cultivated?</iscultivated> |
|
41 |
<sourceaccessioncode>$Accession Number</sourceaccessioncode> |
|
42 |
<taxondetermination> |
|
43 |
<taxonverbatim_id> |
|
44 |
<taxonverbatim> |
|
45 |
<taxonlabel_id> |
|
46 |
<taxonlabel> |
|
47 |
<matched_label_id> |
|
48 |
<taxonlabel> |
|
49 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
50 |
<taxonomicname>$Full Taxon Name</taxonomicname> |
|
51 |
</taxonlabel> |
|
52 |
</matched_label_id> |
|
53 |
<taxonomicname>$Full Taxon Name</taxonomicname> |
|
54 |
</taxonlabel> |
|
55 |
</taxonlabel_id> |
|
56 |
<taxonname>$Full Taxon Name</taxonname> |
|
57 |
</taxonverbatim> |
|
58 |
</taxonverbatim_id> |
|
59 |
</taxondetermination> |
|
60 |
</taxonoccurrence> |
|
61 |
</locationevent> |
|
62 |
<locationplace> |
|
63 |
<place_id> |
|
64 |
<place> |
|
65 |
<coordinates_id> |
|
66 |
<coordinates> |
|
67 |
<coordsaccuracy_m><_noCV><value>$Accuracy</value></_noCV></coordsaccuracy_m> |
|
68 |
<latitude_deg> |
|
69 |
<_nullIf> |
|
70 |
<null>0</null> |
|
71 |
<type>float</type> |
|
72 |
<value> |
|
73 |
<_replace> |
|
74 |
<\?$></\?$> |
|
75 |
<value>$Lat (-=S)</value> |
|
76 |
</_replace> |
|
77 |
</value> |
|
78 |
</_nullIf> |
|
79 |
</latitude_deg> |
|
80 |
<longitude_deg> |
|
81 |
<_nullIf> |
|
82 |
<null>0</null> |
|
83 |
<type>float</type> |
|
84 |
<value> |
|
85 |
<_replace> |
|
86 |
<\?$></\?$> |
|
87 |
<value>$Long (-=W)</value> |
|
88 |
</_replace> |
|
89 |
</value> |
|
90 |
</_nullIf> |
|
91 |
</longitude_deg> |
|
92 |
</coordinates> |
|
93 |
</coordinates_id> |
|
94 |
<country>$Country</country> |
|
95 |
<county>$County</county> |
|
96 |
<matched_place_id> |
|
97 |
<place> |
|
98 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
99 |
<coordinates_id> |
|
100 |
<coordinates> |
|
101 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
102 |
<latitude_deg> |
|
103 |
<_nullIf> |
|
104 |
<null>0</null> |
|
105 |
<type>float</type> |
|
106 |
<value> |
|
107 |
<_replace> |
|
108 |
<\?$></\?$> |
|
109 |
<value>$Lat (-=S)</value> |
|
110 |
</_replace> |
|
111 |
</value> |
|
112 |
</_nullIf> |
|
113 |
</latitude_deg> |
|
114 |
<longitude_deg> |
|
115 |
<_nullIf> |
|
116 |
<null>0</null> |
|
117 |
<type>float</type> |
|
118 |
<value> |
|
119 |
<_replace> |
|
120 |
<\?$></\?$> |
|
121 |
<value>$Long (-=W)</value> |
|
122 |
</_replace> |
|
123 |
</value> |
|
124 |
</_nullIf> |
|
125 |
</longitude_deg> |
|
126 |
</coordinates> |
|
127 |
</coordinates_id> |
|
128 |
<country>$Country</country> |
|
129 |
<county>$County</county> |
|
130 |
<stateprovince>$State</stateprovince> |
|
131 |
</place> |
|
132 |
</matched_place_id> |
|
133 |
<stateprovince>$State</stateprovince> |
|
134 |
</place> |
|
135 |
</place_id> |
|
136 |
</locationplace> |
|
137 |
<verbatimelevation>$Elevation</verbatimelevation> |
|
138 |
</location> |
|
139 |
</path> |
|
140 |
</_simplifyPath> |
|
141 |
</path> |
|
142 |
</_setDefault> |
|
143 |
</VegBIEN> |
|
144 |
Inserted 29 new rows into database |
inputs/NCU-NCSC/Specimen/VegBIEN.csv | ||
---|---|---|
1 |
NCU-NCSC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
Accession Number,"/_if[@name=""if specimen""]/cond/_exists", |
|
3 |
Barcode,"/_if[@name=""if specimen""]/cond/_exists", |
|
4 |
Accession Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1", |
|
5 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists", |
|
6 |
Accession Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists", |
|
7 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists", |
|
8 |
SeriesName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/1", |
|
9 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else", |
|
10 |
Elevation,"/location/elevation_m/_alt/1/_units:[to=m,to=]/value", |
|
11 |
Accession Number,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists", |
|
12 |
Cultivated?,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_alt/2", |
|
13 |
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1, |
|
14 |
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else", |
|
15 |
SeriesName,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name |
|
16 |
Accession Number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/cond/_exists", |
|
17 |
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/cond/_exists", |
|
18 |
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode, |
|
19 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3", |
|
20 |
Accession Number,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists", |
|
21 |
Cultivated?,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_alt/2", |
|
22 |
Accession Number,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3, |
|
23 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/1/_taxon_family_require_std/family/_nullIf/null/_first/1", |
|
24 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/1", |
|
25 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/1/_taxon_family_require_std/family/_nullIf/null/_first/1, |
|
26 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/1, |
|
27 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonname, |
|
28 |
Barcode,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then", |
|
29 |
Accuracy,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value, |
|
30 |
Lat (-=S),"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value", |
|
31 |
Long (-=W),"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value", |
|
32 |
Country,/location/locationplace/*_id/place/country, |
|
33 |
County,/location/locationplace/*_id/place/county, |
|
34 |
Lat (-=S),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings" |
|
35 |
Long (-=W),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings" |
|
36 |
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2, |
|
37 |
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2, |
|
38 |
State,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
|
39 |
State,/location/locationplace/*_id/place/stateprovince, |
|
40 |
Elevation,/location/verbatimelevation, |
|
41 |
Alt E/W,,** No join mapping for *Alt E/W ** |
|
42 |
Alt N/S,,** No join mapping for *Alt N/S ** |
|
43 |
FIPS,,** No join mapping for *FIPS ** FIPS county code |
|
44 |
Format,,** No join mapping for preparations ** |
|
45 |
Typology,,** No join mapping for typeStatus ** |
inputs/NCU-NCSC/Specimen/new_terms.csv | ||
---|---|---|
1 |
Accession Number,occurrenceID,, |
|
2 |
SeriesName,collectionCode,, |
|
3 |
Barcode,catalogNumber,, |
|
4 |
Full Taxon Name,taxonName,, |
|
5 |
Collect Date,dateCollected,, |
|
6 |
Lat (-=S),decimalLatitude,"/_replace:[""\?$""=]/value", |
|
7 |
Long (-=W),decimalLongitude,"/_replace:[""\?$""=]/value", |
|
8 |
Accuracy,coordinateUncertaintyInMeters,, |
|
9 |
Format,preparations,, |
|
10 |
Typology,typeStatus,, |
inputs/NCU-NCSC/Specimen/+header.csv | ||
---|---|---|
1 |
!'Accession Number','SeriesName','Barcode','Full Taxon Name','Collect Date','Country','State','County','Cultivated?','Elevation','Lat (-=S)','Long (-=W)','Accuracy','FIPS','Alt N/S','Alt E/W','Format','Typology' |
inputs/NCU-NCSC/Specimen/unmapped_terms.csv | ||
---|---|---|
1 |
*FIPS |
|
2 |
*Alt N/S |
|
3 |
*Alt E/W |
|
4 |
preparations |
|
5 |
typeStatus |
inputs/NCU-NCSC/new_terms.csv | ||
---|---|---|
1 |
Accession Number,occurrenceID,, |
|
2 |
Accuracy,coordinateUncertaintyInMeters,, |
|
3 |
Barcode,catalogNumber,, |
|
4 |
Collect Date,dateCollected,, |
|
5 |
Format,preparations,, |
|
6 |
Full Taxon Name,scientificName,, |
|
7 |
Lat (-=S),verbatimLatitude,"/_replace:[""\?$""=]/value", |
|
8 |
Long (-=W),verbatimLongitude,"/_replace:[""\?$""=]/value", |
|
9 |
SeriesName,collectionCode,, |
|
10 |
Typology,typeStatus,, |
inputs/NCU-NCSC/unmapped_terms.csv | ||
---|---|---|
1 |
Alt E/W |
|
2 |
Alt N/S |
|
3 |
FIPS |
|
4 |
preparations |
|
5 |
typeStatus |
inputs/NCU-NCSC/Source/map.csv | ||
---|---|---|
1 |
NCU-NCSC,VegCore,Filter,Comments |
|
2 |
:herbarium,referenceType,, |
|
3 |
:specimen,sampleType,, |
inputs/NCU-NCSC/Source/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>NCU-NCSC</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<source> |
|
10 |
<shortname>NCU-NCSC</shortname> |
|
11 |
<sampletype>specimen</sampletype> |
|
12 |
<sourcetype>herbarium</sourcetype> |
|
13 |
</source> |
|
14 |
</path> |
|
15 |
</_simplifyPath> |
|
16 |
</path> |
|
17 |
</_setDefault> |
|
18 |
</VegBIEN> |
|
19 |
Inserted 0 new rows into database |
inputs/NCU-NCSC/Source/VegBIEN.csv | ||
---|---|---|
1 |
NCU-NCSC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sampletype", |
|
3 |
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype", |
inputs/NCU/Source/map.csv | ||
---|---|---|
1 |
NCU-NCSC,VegCore,Filter,Comments |
|
2 |
:herbarium,referenceType,, |
|
3 |
:specimen,sampleType,, |
inputs/NCU/Source/VegBIEN.csv | ||
---|---|---|
1 |
NCU-NCSC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sampletype", |
|
3 |
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype", |
inputs/NCU/Source/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>NCU-NCSC</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<source> |
|
10 |
<shortname>NCU-NCSC</shortname> |
|
11 |
<sampletype>specimen</sampletype> |
|
12 |
<sourcetype>herbarium</sourcetype> |
|
13 |
</source> |
|
14 |
</path> |
|
15 |
</_simplifyPath> |
|
16 |
</path> |
|
17 |
</_setDefault> |
|
18 |
</VegBIEN> |
|
19 |
Inserted 0 new rows into database |
inputs/NCU/Specimen/VegBIEN.csv | ||
---|---|---|
1 |
NCU-NCSC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
Accession Number,"/_if[@name=""if specimen""]/cond/_exists", |
|
3 |
Barcode,"/_if[@name=""if specimen""]/cond/_exists", |
|
4 |
Accession Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1", |
|
5 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists", |
|
6 |
Accession Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists", |
|
7 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists", |
|
8 |
SeriesName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/1", |
|
9 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else", |
|
10 |
Elevation,"/location/elevation_m/_alt/1/_units:[to=m,to=]/value", |
|
11 |
Accession Number,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists", |
|
12 |
Cultivated?,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_alt/2", |
|
13 |
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1, |
|
14 |
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else", |
|
15 |
SeriesName,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name |
|
16 |
Accession Number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/cond/_exists", |
|
17 |
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/cond/_exists", |
|
18 |
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode, |
|
19 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3", |
|
20 |
Accession Number,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists", |
|
21 |
Cultivated?,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_alt/2", |
|
22 |
Accession Number,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3, |
|
23 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/1/_taxon_family_require_std/family/_nullIf/null/_first/1", |
|
24 |
Full Taxon Name,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/1", |
|
25 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/1/_taxon_family_require_std/family/_nullIf/null/_first/1, |
|
26 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/1, |
|
27 |
Full Taxon Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonname, |
|
28 |
Barcode,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then", |
|
29 |
Accuracy,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value, |
|
30 |
Lat (-=S),"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value", |
|
31 |
Long (-=W),"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value", |
|
32 |
Country,/location/locationplace/*_id/place/country, |
|
33 |
County,/location/locationplace/*_id/place/county, |
|
34 |
Lat (-=S),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings" |
|
35 |
Long (-=W),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings" |
|
36 |
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2, |
|
37 |
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2, |
|
38 |
State,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
|
39 |
State,/location/locationplace/*_id/place/stateprovince, |
|
40 |
Elevation,/location/verbatimelevation, |
|
41 |
Alt E/W,,** No join mapping for *Alt E/W ** |
|
42 |
Alt N/S,,** No join mapping for *Alt N/S ** |
|
43 |
FIPS,,** No join mapping for *FIPS ** FIPS county code |
|
44 |
Format,,** No join mapping for preparations ** |
|
45 |
Typology,,** No join mapping for typeStatus ** |
inputs/NCU/Specimen/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>NCU-NCSC</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<location> |
|
10 |
<authorlocationcode> |
|
11 |
<_alt> |
|
12 |
<1>$Accession Number</1> |
|
13 |
<2> |
|
14 |
<_join> |
|
15 |
<2>$SeriesName</2> |
|
16 |
<3>$Barcode</3> |
|
17 |
</_join> |
|
18 |
</2> |
|
19 |
</_alt> |
|
20 |
</authorlocationcode> |
|
21 |
<elevation_m> |
|
22 |
<_units> |
|
23 |
<to>m</to> |
|
24 |
<to></to> |
|
25 |
<value>$Elevation</value> |
|
26 |
</_units> |
|
27 |
</elevation_m> |
|
28 |
<locationevent> |
|
29 |
<taxonoccurrence> |
|
30 |
<aggregateoccurrence> |
|
31 |
<collectiondate>$Collect Date</collectiondate> |
|
32 |
<plantobservation> |
|
33 |
<specimenreplicate> |
|
34 |
<catalognumber_dwc>$Barcode</catalognumber_dwc> |
|
35 |
<collectioncode_dwc>$SeriesName</collectioncode_dwc> |
|
36 |
<sourceaccessioncode>$Accession Number</sourceaccessioncode> |
|
37 |
</specimenreplicate> |
|
38 |
</plantobservation> |
|
39 |
</aggregateoccurrence> |
|
40 |
<iscultivated>$Cultivated?</iscultivated> |
|
41 |
<sourceaccessioncode>$Accession Number</sourceaccessioncode> |
|
42 |
<taxondetermination> |
|
43 |
<taxonverbatim_id> |
|
44 |
<taxonverbatim> |
|
45 |
<taxonlabel_id> |
|
46 |
<taxonlabel> |
|
47 |
<matched_label_id> |
|
48 |
<taxonlabel> |
|
49 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
50 |
<taxonomicname>$Full Taxon Name</taxonomicname> |
|
51 |
</taxonlabel> |
|
52 |
</matched_label_id> |
|
53 |
<taxonomicname>$Full Taxon Name</taxonomicname> |
|
54 |
</taxonlabel> |
|
55 |
</taxonlabel_id> |
|
56 |
<taxonname>$Full Taxon Name</taxonname> |
|
57 |
</taxonverbatim> |
|
58 |
</taxonverbatim_id> |
|
59 |
</taxondetermination> |
|
60 |
</taxonoccurrence> |
|
61 |
</locationevent> |
|
62 |
<locationplace> |
|
63 |
<place_id> |
|
64 |
<place> |
|
65 |
<coordinates_id> |
|
66 |
<coordinates> |
|
67 |
<coordsaccuracy_m><_noCV><value>$Accuracy</value></_noCV></coordsaccuracy_m> |
|
68 |
<latitude_deg> |
|
69 |
<_nullIf> |
|
70 |
<null>0</null> |
|
71 |
<type>float</type> |
|
72 |
<value> |
|
73 |
<_replace> |
|
74 |
<\?$></\?$> |
|
75 |
<value>$Lat (-=S)</value> |
|
76 |
</_replace> |
|
77 |
</value> |
|
78 |
</_nullIf> |
|
79 |
</latitude_deg> |
|
80 |
<longitude_deg> |
|
81 |
<_nullIf> |
|
82 |
<null>0</null> |
|
83 |
<type>float</type> |
|
84 |
<value> |
|
85 |
<_replace> |
|
86 |
<\?$></\?$> |
|
87 |
<value>$Long (-=W)</value> |
|
88 |
</_replace> |
|
89 |
</value> |
|
90 |
</_nullIf> |
|
91 |
</longitude_deg> |
|
92 |
</coordinates> |
|
93 |
</coordinates_id> |
|
94 |
<country>$Country</country> |
|
95 |
<county>$County</county> |
|
96 |
<matched_place_id> |
|
97 |
<place> |
|
98 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
99 |
<coordinates_id> |
|
100 |
<coordinates> |
|
101 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
102 |
<latitude_deg> |
|
103 |
<_nullIf> |
|
104 |
<null>0</null> |
|
105 |
<type>float</type> |
|
106 |
<value> |
|
107 |
<_replace> |
|
108 |
<\?$></\?$> |
|
109 |
<value>$Lat (-=S)</value> |
|
110 |
</_replace> |
|
111 |
</value> |
|
112 |
</_nullIf> |
|
113 |
</latitude_deg> |
|
114 |
<longitude_deg> |
|
115 |
<_nullIf> |
|
116 |
<null>0</null> |
|
117 |
<type>float</type> |
|
118 |
<value> |
|
119 |
<_replace> |
|
120 |
<\?$></\?$> |
|
121 |
<value>$Long (-=W)</value> |
|
122 |
</_replace> |
|
123 |
</value> |
|
124 |
</_nullIf> |
|
125 |
</longitude_deg> |
|
126 |
</coordinates> |
|
127 |
</coordinates_id> |
|
128 |
<country>$Country</country> |
|
129 |
<county>$County</county> |
|
130 |
<stateprovince>$State</stateprovince> |
|
131 |
</place> |
|
132 |
</matched_place_id> |
|
133 |
<stateprovince>$State</stateprovince> |
|
134 |
</place> |
|
135 |
</place_id> |
|
136 |
</locationplace> |
|
137 |
<verbatimelevation>$Elevation</verbatimelevation> |
|
138 |
</location> |
|
139 |
</path> |
|
140 |
</_simplifyPath> |
|
141 |
</path> |
|
142 |
</_setDefault> |
|
143 |
</VegBIEN> |
|
144 |
Inserted 29 new rows into database |
inputs/NCU/Specimen/map.csv | ||
---|---|---|
1 |
NCU-NCSC,VegCore,Filter,Comments |
|
2 |
Accession Number,occurrenceID,, |
|
3 |
SeriesName,collectionCode,, |
|
4 |
Barcode,catalogNumber,, |
|
5 |
Full Taxon Name,taxonName,, |
|
6 |
Collect Date,dateCollected,, |
|
7 |
Country,country,, |
|
8 |
State,stateProvince,, |
|
9 |
County,county,, |
|
10 |
Cultivated?,cultivated,, |
|
11 |
Elevation,verbatimElevation,, |
|
12 |
Lat (-=S),decimalLatitude,"/_replace:[""\?$""=]/value", |
|
13 |
Long (-=W),decimalLongitude,"/_replace:[""\?$""=]/value", |
|
14 |
Accuracy,coordinateUncertaintyInMeters,, |
|
15 |
FIPS,*FIPS,,FIPS county code |
|
16 |
Alt N/S,*Alt N/S,, |
|
17 |
Alt E/W,*Alt E/W,, |
|
18 |
Format,preparations,, |
|
19 |
Typology,typeStatus,, |
inputs/NCU/Specimen/new_terms.csv | ||
---|---|---|
1 |
Accession Number,occurrenceID,, |
|
2 |
SeriesName,collectionCode,, |
|
3 |
Barcode,catalogNumber,, |
|
4 |
Full Taxon Name,taxonName,, |
|
5 |
Collect Date,dateCollected,, |
|
6 |
Lat (-=S),decimalLatitude,"/_replace:[""\?$""=]/value", |
|
7 |
Long (-=W),decimalLongitude,"/_replace:[""\?$""=]/value", |
|
8 |
Accuracy,coordinateUncertaintyInMeters,, |
|
9 |
Format,preparations,, |
|
10 |
Typology,typeStatus,, |
inputs/NCU/Specimen/+header.csv | ||
---|---|---|
1 |
!'Accession Number','SeriesName','Barcode','Full Taxon Name','Collect Date','Country','State','County','Cultivated?','Elevation','Lat (-=S)','Long (-=W)','Accuracy','FIPS','Alt N/S','Alt E/W','Format','Typology' |
inputs/NCU/Specimen/unmapped_terms.csv | ||
---|---|---|
1 |
*FIPS |
|
2 |
*Alt N/S |
|
3 |
*Alt E/W |
|
4 |
preparations |
|
5 |
typeStatus |
inputs/NCU/new_terms.csv | ||
---|---|---|
1 |
Accession Number,occurrenceID,, |
|
2 |
Accuracy,coordinateUncertaintyInMeters,, |
|
3 |
Barcode,catalogNumber,, |
|
4 |
Collect Date,dateCollected,, |
|
5 |
Format,preparations,, |
|
6 |
Full Taxon Name,scientificName,, |
|
7 |
Lat (-=S),verbatimLatitude,"/_replace:[""\?$""=]/value", |
|
8 |
Long (-=W),verbatimLongitude,"/_replace:[""\?$""=]/value", |
|
9 |
SeriesName,collectionCode,, |
|
10 |
Typology,typeStatus,, |
inputs/NCU/unmapped_terms.csv | ||
---|---|---|
1 |
Alt E/W |
|
2 |
Alt N/S |
|
3 |
FIPS |
|
4 |
preparations |
|
5 |
typeStatus |
Also available in: Unified diff
Renamed inputs/NCU-NCSC/ to NCU because this is the primary herbarium contained in the data