Project

General

Profile

« Previous | Next » 

Revision 3919

VegBIEN mappings: Wrapped dates in _date() and _dateRangeStart()/_dateRangeEnd(), to assist in importing date and date range values that PostgreSQL cannot parse. This will increase the import time, but hopefully also decrease the # of invalid values in the errors tables. (These functions can later be optimized to reduce the impact on import time.)

View differences:

VegBIEN.organisms.csv
1 1
SALVIAS-CSV,VegBIEN:,Comments
2 2
subplot,/location/locationevent/authorlocationcode,
3
census_date,/location/locationevent/obsstartdate/_date/year,
3
census_date,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_date/year,
4 4
PLOT_ID,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
5 5
plot_code,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above"
6 6
plot_code,/location/locationevent/parent_id/locationevent/authorlocationcode,"Brad: Same as plotCode, above"

Also available in: Unified diff