Project

General

Profile

« Previous | Next » 

Revision 4340

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

View differences:

VegBIEN.csv
9 9
PlotCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
10 10
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
11 11
Line,/location/authorlocationcode,
12
Line,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12 13
census_date,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows:
13 14
-----
14 15
SELECT ""PlotID"", ""Line"", count(DISTINCT census_date) AS census_date_count

Also available in: Unified diff