Project

General

Profile

« Previous | Next » 

Revision 4340

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

View differences:

VegCore-VegBIEN.csv
36 36
samplingProtocol,/location/locationevent/*_id/method/name,
37 37
projectName,/location/locationevent/*_id/project/projectname,
38 38
projectID,/location/locationevent/*_id/project/sourceaccessioncode,
39
fieldNumber,/location/locationevent/authoreventcode,
39
subplotID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/1",
40
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
41
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
42
eventID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
43
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/authorlocationcode",
44
eventID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
40 45
communityID,/location/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
41 46
communityName,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription,
42 47
endDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value,
......
63 68
silt,/location/locationevent/soilobs/silt,
64 69
sodium,/location/locationevent/soilobs/sodium,
65 70
texture,/location/locationevent/soilobs/texture,
66
eventID,/location/locationevent/sourceaccessioncode,
67 71
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,
68 72
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
69 73
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,

Also available in: Unified diff