Revision 21
Added by Aaron Marcuse-Kubitza about 13 years ago
NYBG-VegBank-VegX_mapping.csv | ||
---|---|---|
1 | 1 |
"NYBG","VegBank","VegX" |
2 | 2 |
"key",, |
3 | 3 |
"DateLastModified",, |
4 |
"InstitutionCode","/taxonInterpretation/museum_ID->party/OrganizationName/_name/firstName","/*s/taxonNameUsageConcept/partyWithRole/partyID->/parties/party/organizationName/_name/firstName" |
|
5 |
"CollectionCode","/taxonInterpretation/museum_ID->party/OrganizationName/_name/lastName","/*s/taxonNameUsageConcept/partyWithRole/partyID->/parties/party/organizationName/_name/lastName" |
|
4 |
"InstitutionCode","/taxonInterpretation/museum_ID->/party/OrganizationName/_name/firstName","/*s/taxonNameUsageConcept/partyWithRole/partyID->/parties/party/organizationName/_name/firstName"
|
|
5 |
"CollectionCode","/taxonInterpretation/museum_ID->/party/OrganizationName/_name/lastName","/*s/taxonNameUsageConcept/partyWithRole/partyID->/parties/party/organizationName/_name/lastName"
|
|
6 | 6 |
"CatalogNumber","/taxonInterpretation/museumAccessionNumber","/*s/taxonNameUsageConcept/voucher" |
7 | 7 |
"ScientificName","/plantName/plantName","/*s/taxonName/Simple" |
8 | 8 |
"BasisOfRecord",, |
... | ... | |
14 | 14 |
"Genus","/plantName[plantStatus/plantLevel=Genus]/plantName","/*s/taxonConcept[Rank/@code=gen]/Name" |
15 | 15 |
"Species","/plantName[plantStatus/plantLevel=Species]/plantName","/*s/taxonConcept[Rank/@code=sp]/Name" |
16 | 16 |
"Subspecies","/plantName[plantStatus/plantLevel=Subspecies]/plantName","/*s/taxonConcept[Rank/@code=ssp]/Name" |
17 |
"ScientificNameAuthor","/plantConcept/reference_ID->referenceParty/{givenName,surname}","/*s/taxonConcept/AccordingTo/Simple" |
|
18 |
"IdentifiedBy","/taxonInterpretation/PARTY_ID->party/{givenName,middleName,surName}","/*s/taxonDetermination/partyWithRole/partyID->/parties/party/individualName/{givenName,surName}"
|
|
17 |
"ScientificNameAuthor","/plantConcept/reference_ID->/referenceParty/{givenName,surname}","/*s/taxonConcept/AccordingTo/Simple"
|
|
18 |
"IdentifiedBy","/taxonInterpretation/PARTY_ID->/party/{givenName,middleName,surName}","/*s/taxonDetermination/partyWithRole[role=identifier]/partyID->/parties/party/individualName/{givenName,surName}"
|
|
19 | 19 |
"YearIdentified","/taxonInterpretation/interpretationDate/_date/year","/*s/taxonDetermination/date/_date/year" |
20 | 20 |
"MonthIdentified","/taxonInterpretation/interpretationDate/_date/month","/*s/taxonDetermination/date/_date/month" |
21 | 21 |
"DayIdentified","/taxonInterpretation/interpretationDate/_date/day","/*s/taxonDetermination/date/_date/day" |
22 | 22 |
"TypeStatus",, |
23 | 23 |
"CollectorNumber",, |
24 | 24 |
"FieldNumber","/taxonInterpretation/collectionNumber","/*s/taxonNameUsageConcept/authorCode" |
25 |
"Collector","/taxonInterpretation/collector_ID->party/{givenName,middleName,surName}","/*s/taxonDetermination/partyWithRole[role=collector]/partyID->/parties/party/individualName/{givenName,surName}" |
|
25 |
"Collector","/taxonInterpretation/collector_ID->/party/{givenName,middleName,surName}","/*s/taxonDetermination/partyWithRole[role=collector]/partyID->/parties/party/individualName/{givenName,surName}"
|
|
26 | 26 |
"YearCollected","/taxonInterpretation/collectionDate/_date/year","/*s/plotObservation/obsStartDate/_date/year" |
27 | 27 |
"MonthCollected","/taxonInterpretation/collectionDate/_date/month","/*s/plotObservation/obsStartDate/_date/month" |
28 | 28 |
"DayCollected","/taxonInterpretation/collectionDate/_date/day","/*s/plotObservation/obsStartDate/_date/day" |
Also available in: Unified diff
Merged data2xml XPath functionality into xpath.py. Merged data2xml xml_dom.py and xml2db xml_util.py into identical xml_util.py for each script.