Project

General

Profile

« Previous | Next » 

Revision 3678

mappings/DwC2-VegBIEN.specimens.csv, VegX-VegBIEN.stems.csv: Removed all manual mappings to datasource_id now that datasource_id is auto-populated, both on the VegBIEN output side and the DwC/VegX input side. This should greatly simplify many of the mappings!

View differences:

VegBIEN.plots.csv
13 13
LatDec,"/*_id/location/{locationdetermination/latitude,centerlatitude}",
14 14
LongDec,"/*_id/location/{locationdetermination/longitude,centerlongitude}",
15 15
PlotMethod,/*_id/method/name,
16
project_id,/*_id/project:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/projectname,
16
project_id,/*_id/project/projectname,
17 17
life_zone_code,/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
18 18
life_zone,/commclass/commdetermination/*_id/commconcept/commdescription,
19 19
date_finish,/obsenddate/_*/date,
......
37 37
soil_Na,"/soilobs/sodium/_units:[default=""%"",to=]/value",
38 38
soil_texture,"/soilobs/texture/_units:[default=""%"",to=]/value",
39 39
Temp,/temperature,
40
SiteCode,"/{./authorlocationcode,*_id/location:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/sourceaccessioncode/_merge/2/_alt/2}","Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project); ""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
41
PlotID,"/{./sourceaccessioncode,*_id/location:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/sourceaccessioncode/_merge/2/_alt/1}","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata.; ""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
40
SiteCode,"/{authorlocationcode,*_id/location/sourceaccessioncode/_merge/2/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
41
PlotID,"/{sourceaccessioncode,*_id/location/sourceaccessioncode/_merge/2/_alt/1}","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
42 42
AccessCode,,** No input mapping for AccessCode ** 
43 43
ElevSource,,** No input mapping for ElevSource ** 
44 44
Habitat,,** No input mapping for Habitat ** 

Also available in: Unified diff