Revision 4015
Added by Aaron Marcuse-Kubitza over 12 years ago
VegCSV.organisms.csv | ||
---|---|---|
3 | 3 |
PLOT_ID,parentLocationID,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
4 | 4 |
plot_code,parentPlotName,"Brad: Same as plotCode, above" |
5 | 5 |
census_no,censusNumber,"Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not." |
6 |
census_date,plotEventStartDate/_date/year,"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:
|
|
6 |
census_date,plotEventStartDate,"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: |
|
7 | 7 |
----- |
8 | 8 |
SELECT ""PLOT_ID"", subplot, count(DISTINCT census_date) AS census_date_count |
9 | 9 |
FROM ""SALVIAS-CSV"".organisms |
Also available in: Unified diff
inputs/SALVIAS-CSV/maps/VegCSV.organisms.csv: census_date: Don't map directly to the year, as this field is allowed to be a full date even though our data sample contains only years. Note that _date/date will automatically detect plain years and treat them as years, and so will casts to timestamp.