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
XAL:/content/record/,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
darwin:CatalogNumber,"/_if[@name=""if specimen""]/cond/_exists",
3
darwin:InstitutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
2 4
darwin:CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
3 5
darwin: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",
4 6
darwin:InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
......
74 76
darwin:County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
75 77
darwin:StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
76 78
darwin:StateProvince,/location/locationplace/*_id/place/stateprovince,
77
darwin:CatalogNumber,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
78
darwin:InstitutionCode,"/source/shortname/_if[@name=""if specimen""]/else",
79 79
darwin:BasisOfRecord,,** No join mapping for basisOfRecord ** 
80 80
darwin:CoordinatePrecision,,** No non-empty join mapping for UNUSED ** 
81 81
darwin:DateLastModified,,** No join mapping for dcterms:modified ** 

Also available in: Unified diff