Project

General

Profile

« Previous | Next » 

Revision 6409

mappings/VegCore-VegBIEN.csv: source table mappings: Set shortname to env var $source when it's not explicitly specified, because shortname is a required field of source

View differences:

VegBIEN.csv
1 1
ARIZ,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
GlobalUniqueIdentifier,"/_if[@name=""if specimen""]/cond/_exists",
3
CatalogNumberNumeric,"/_if[@name=""if specimen""]/cond/_exists/_alt/1",
4
CatalogNumber,"/_if[@name=""if specimen""]/cond/_exists/_alt/2",Don't overwrite CatalogNumberNumeric
5
InstitutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
2 6
GlobalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
3 7
CatalogNumberNumeric,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists/_alt/1",
4 8
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists/_alt/2",Don't overwrite CatalogNumberNumeric
......
95 99
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
96 100
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
97 101
StateProvince,/location/locationplace/*_id/place/stateprovince,
98
GlobalUniqueIdentifier,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
99
CatalogNumberNumeric,"/source/shortname/_if[@name=""if specimen""]/cond/_exists/_alt/1",
100
CatalogNumber,"/source/shortname/_if[@name=""if specimen""]/cond/_exists/_alt/2",Don't overwrite CatalogNumberNumeric
101
InstitutionCode,"/source/shortname/_if[@name=""if specimen""]/else",
102 102
AgeClass,,** No join mapping for lifeStage ** 
103 103
BasisOfRecord,,** No join mapping for basisOfRecord ** 
104 104
DateLastModified,,** No join mapping for dcterms:modified ** 

Also available in: Unified diff