root/trunk/inputs/Madidi/LocationObservation/postprocess.sql @ 14910
1 |
SELECT util.search_path_append('util'); |
---|---|
2 |
|
3 |
SELECT mk_derived_col((:table_str, 'verbatimEventDate'), |
4 |
$$"authorEventCode"$$); |
5 |
|
6 |
SELECT mk_derived_col((:table_str, 'eventDate'), |
7 |
$$util.date_from_spanish("verbatimEventDate")$$); |
8 |
|
9 |
SELECT mk_derived_col((:table_str, 'locationRemarks'), |
10 |
$$_alt("locationRemarks_1", "locationRemarks_2")$$); |
11 |
-- _alt() is fine because only one of these is ever populated
|