Project

General

Profile

« Previous | Next » 

Revision 4340

mappings/VegCore-VegBIEN.csv: Redirect eventID, fieldNumber (authoreventcode) to parent locationevent when subplot columns exist

View differences:

Veg+.cs-VegBIEN.csv
60 60
samplingProtocol,/location/locationevent/*_id/method/name,
61 61
projectName,/location/locationevent/*_id/project/projectname,
62 62
projectID,/location/locationevent/*_id/project/sourceaccessioncode,
63
PlotCensusNumber,/location/locationevent/authoreventcode,
64
authorObsCode,/location/locationevent/authoreventcode,
65
fieldNumber,/location/locationevent/authoreventcode,
63
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/1",
64
subplotID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/1",
65
QuadratName,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
66
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
67
PlotCensusNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
68
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
69
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
70
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
71
eventID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
72
plotEventID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
73
PlotCensusNumber,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/authorlocationcode",
74
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/authorlocationcode",
75
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/authorlocationcode",
76
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
77
eventID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
78
plotEventID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
66 79
communityID,/location/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
67 80
communityName,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription,
68 81
endDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value,
......
101 114
silt,/location/locationevent/soilobs/silt,
102 115
sodium,/location/locationevent/soilobs/sodium,
103 116
texture,/location/locationevent/soilobs/texture,
104
CensusID,/location/locationevent/sourceaccessioncode,
105
eventID,/location/locationevent/sourceaccessioncode,
106
plotEventID,/location/locationevent/sourceaccessioncode,
107 117
dateCollected/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt,
108 118
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
109 119
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",

Also available in: Unified diff