Project

General

Profile

« Previous | Next » 

Revision 1474

inputs/NCU-NCSC/maps/DwC.specimens.csv: "Cultivated?": For clarity, use _map instead of _if to translate boolean to "cultivated". Translate "No" to "wild" (the opposite of "cultivated") to store an explicit not-cultivated as such.

View differences:

inputs/NCU-NCSC/maps/src.join.specimens.csv
142 142
institutionID,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/datasource_id/party/organizationname/_alt/1,,8
143 143
Alt E/W,,
144 144
Alt N/S,,
145
Cultivated?,,** No join mapping for establishmentMeans/_if:[then=cultivated]/cond/_eq:[right=Yes]/left ** 
145
Cultivated?,,"** No join mapping for establishmentMeans/_map:[_closed=1,Yes=cultivated,No=]/value ** "
146 146
Elevation,,** No join mapping for VerbatimElevation ** 
147 147
FIPS,,FIPS county code
148 148
Format,,** No join mapping for PreparationType ** 
inputs/NCU-NCSC/maps/DwC.specimens.csv
5 5
"Full Taxon Name","ScientificName",
6 6
"Collect Date","CollectedDate",
7 7
"State","StateProvince",
8
"Cultivated?","establishmentMeans/_if:[then=cultivated]/cond/_eq:[right=Yes]/left",
8
"Cultivated?","establishmentMeans/_map:[_closed=1,Yes=cultivated,No=wild]/value",
9 9
"Elevation","VerbatimElevation",
10 10
"Lat (-=S)","Latitude/_replace:[""\?$""=]/value",
11 11
"Long (-=W)","Longitude/_replace:[""\?$""=]/value",
inputs/NCU-NCSC/maps/DwC.specimens.full.csv
270 270
earliestPeriodOrLowestSystem,earliestPeriodOrLowestSystem
271 271
endDayOfYear,endDayOfYear
272 272
establishmentMeans,establishmentMeans
273
Cultivated?,establishmentMeans/_if:[then=cultivated]/cond/_eq:[right=Yes]/left,
273
Cultivated?,"establishmentMeans/_map:[_closed=1,Yes=cultivated,No=]/value",
274 274
eventDate,eventDate
275 275
eventDate/_alt,eventDate/_alt
276 276
eventID,eventID

Also available in: Unified diff