Project

General

Profile

« Previous | Next » 

Revision 6375

mappings/VegCore-VegBIEN.csv: institutionCode: Remap to source.shortname when specimen information is not provided, as is the case for geoscrub.herbaria on nimoy

View differences:

VegBIEN.csv
2 2
Subplot Number,"/location/_if[@name=""if subplot""]/cond/_exists",
3 3
1ha Plot Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
Id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
5
Id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists",
5 6
1ha Plot Number,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6 7
Subplot Number,/location/authorlocationcode,
7 8
Id,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists",
......
15 16
Observation Date,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsstartdate/_alt/2/_dateRangeStart/value",
16 17
Observation Date,/location/locationevent/obsenddate/_alt/2/_dateRangeEnd/value,
17 18
Observation Date,/location/locationevent/obsstartdate/_alt/2/_dateRangeStart/value,
19
Id,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/cond/_exists",
18 20
Id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
19 21
Diameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight_m/_cm_to_m/value,"""Tree diameter measurement. {cm}"" (Diameter definition on p. 7 at <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/TEAM/_src/TEAM-DataPackage-20120920191251_3859/Vegetation+-+Trees+&+Lianas/Vegetation-Tree-and-Liana-Metadata-1.5.pdf>)"
20 22
Tree Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/tag,
......
46 48
Subplot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
47 49
1ha Plot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
48 50
Subplot Number,/location/sourceaccessioncode/_join/2,
51
Id,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
49 52
Comments,,** No join mapping for *Comments ** 
50 53
Condition Codes,,** No join mapping for *Condition Codes ** 
51 54
Data Level,,** No join mapping for *Data Level ** 

Also available in: Unified diff