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
WIN,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
catalogNumber,"/_if[@name=""if specimen""]/cond/_exists",
3
id,"/_if[@name=""if specimen""]/cond/_exists",
4
institutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
2 5
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
3 6
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
4 7
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists",
......
81 84
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
82 85
stateProvince,/location/locationplace/*_id/place/stateprovince,
83 86
verbatimElevation,/location/verbatimelevation,
84
catalogNumber,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
85
id,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
86
institutionCode,"/source/shortname/_if[@name=""if specimen""]/else",
87 87
associatedMedia,,** No join mapping for associatedMedia ** 
88 88
basisOfRecord,,** No join mapping for basisOfRecord ** 
89 89
bibliographicCitation,,** No join mapping for dcterms:bibliographicCitation ** 

Also available in: Unified diff