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
MO,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
InstitutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
2 4
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
3 5
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
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
......
63 65
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
64 66
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
65 67
StateProvince,/location/locationplace/*_id/place/stateprovince,
66
CatalogNumber,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
67
InstitutionCode,"/source/shortname/_if[@name=""if specimen""]/else",
68 68
BasisOfRecord,,** No join mapping for basisOfRecord ** 
69 69
DateLastModified,,** No join mapping for dcterms:modified ** 
70 70
TypeStatus,,** No join mapping for typeStatus ** 

Also available in: Unified diff