Project

General

Profile

« Previous | Next » 

Revision 10622

inputs/TEX/Specimen2/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

VegBIEN.csv
5 5
LOCALITY,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
6 6
VEGETATION,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
7 7
DET DATE,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/1/_dateRangeStart/value",
8
EXACT DATE,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_alt/1,
9
GENERAL DATE,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_alt/2,
8
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1,
10 9
PLANT DATA,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1, = specimenDescription
11 10
COLLECTOR NUMBER,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_first/2,
12 11
PHENOLOGY,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/reproductivecondition,
13 12
HERBARIUM,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_alt/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
14 13
COLLECTOR NUMBER,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/else",
15 14
COLLECTOR NUMBER,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
16
COLLECTOR 1 FIRST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/1/_join_words/1,
17
COLLECTOR 1 LAST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/1/_join_words/2,
18
COLLECTOR 2 FIRST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/2/_join_words/1,
19
COLLECTOR 2 LAST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/2/_join_words/2,
20
COLLECTOR 3 FIRST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/3/_join_words/1,
21
COLLECTOR 3 LAST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/3/_join_words/2,
22
COLLECTOR 4 FIRST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/4/_join_words/1,
23
COLLECTOR 4 LAST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/4/_join_words/2,
24
COLLECTOR 5 FIRST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/5/_join_words/1,
25
COLLECTOR 5 LAST NAME,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/5/_join_words/2,
15
recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
26 16
COLLECTOR NUMBER,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
27 17
ORIGIN,"/location/locationevent/taxonoccurrence/iscultivated/_alt/2/_map:[cultivated=t,wild=f,*=]/value",
28 18
ORIGIN,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
......
60 50
STATE,/location/locationplace/*_id/place/stateprovince,
61 51
ELEVATION,/location/verbatimelevation,
62 52
BARCODE,,** No join mapping for barcode ** 
53
COLLECTOR 1 FIRST NAME,,** No join mapping for recordedBy__primary__first ** 
54
COLLECTOR 1 LAST NAME,,** No join mapping for recordedBy__primary__last ** 
55
COLLECTOR 2 FIRST NAME,,** No join mapping for recordedBy__additional__1__first ** 
56
COLLECTOR 2 LAST NAME,,** No join mapping for recordedBy__additional__1__last ** 
57
COLLECTOR 3 FIRST NAME,,** No join mapping for recordedBy__additional__2__first ** 
58
COLLECTOR 3 LAST NAME,,** No join mapping for recordedBy__additional__2__last ** 
59
COLLECTOR 4 FIRST NAME,,** No join mapping for recordedBy__additional__3__first ** 
60
COLLECTOR 4 LAST NAME,,** No join mapping for recordedBy__additional__3__last ** 
61
COLLECTOR 5 FIRST NAME,,** No join mapping for recordedBy__additional__4__first ** 
62
COLLECTOR 5 LAST NAME,,** No join mapping for recordedBy__additional__4__last ** 
63 63
DATABASED BY,,** No join mapping for *DATABASED BY ** 
64 64
DET NOTES,,** No join mapping for identificationRemarks ** 
65 65
DETERMINER INSTITUTION,,** No join mapping for *DETERMINER INSTITUTION ** 
66 66
END DATE,,** No non-empty join mapping for UNUSED#END DATE ** 
67
EXACT DATE,,** No join mapping for dateCollected__scrubbed ** 
68
GENERAL DATE,,** No join mapping for dateCollected__verbatim ** 
67 69
LATLONG DATUM,,** No join mapping for *LATLONG DATUM ** 
68 70
LATLONG SOURCE,,** No join mapping for *LATLONG SOURCE ** 
69 71
SUBSPECIES AUTHOR,,** No join mapping for *SUBSPECIES AUTHOR ** 
70 72
UTM,,** No join mapping for *UTM ** 
71 73
VARIETY AUTHOR,,** No join mapping for *VARIETY AUTHOR ** 
74
recordedBy__additional__1,,** No join mapping for recordedBy__additional__1 ** 
75
recordedBy__additional__2,,** No join mapping for recordedBy__additional__2 ** 
76
recordedBy__additional__3,,** No join mapping for recordedBy__additional__3 ** 
77
recordedBy__additional__4,,** No join mapping for recordedBy__additional__4 ** 
78
recordedBy__primary,,** No join mapping for recordedBy__primary ** 
72 79
row_num,,** No join mapping for *row_num ** 

Also available in: Unified diff