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
bien_web,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
observationID,"/_if[@name=""if specimen""]/cond/_exists",
3
dataSourceName,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
2 4
plotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
3 5
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4 6
observationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
......
66 68
stateProvince,/location/locationplace/*_id/place/stateprovince,
67 69
plotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
68 70
plotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
69
observationID,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
70
dataSourceName,"/source/shortname/_if[@name=""if specimen""]/else",
71 71
abund,,** No join mapping for *abund ** 
72 72
abund1,,** No join mapping for *abund1 ** 
73 73
abund10,,** No join mapping for *abund10 ** 

Also available in: Unified diff