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
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
10 10
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
11 11
subplot,/location/authorlocationcode,
12
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12 13
census_date,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value,"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 ""PLOT_ID"", subplot, count(DISTINCT census_date) AS census_date_count

Also available in: Unified diff