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
herbaria,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
herbariumAcronym,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
2 4
herbariumAcronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
3 5
herbariumAcronym,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/then/matched_source_id/source/shortname",
4 6
herbariumAcronym,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/then/name",
5
herbariumAcronym,"/source/shortname/_if[@name=""if specimen""]/else",
6
:herbarium,/source/sourcetype,
7 7
City,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
8 8
CoordinatesVerbatim,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
9 9
Country,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"

Also available in: Unified diff