Project

General

Profile

« Previous | Next » 

Revision 10385

inputs/BRIT/specimen_flat/: translated multi-column filters with _join() to postprocessing derived columns, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

VegBIEN.csv
11 11
Elevation_Min,/location/elevation_m/_alt/2/_avg/1,Assuming units based on the range and precision of values
12 12
Elevation_Max,/location/elevation_m/_alt/2/_avg/2,Assuming units based on the range and precision of values
13 13
Collection_Number,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
14
Locality_Summary,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/1,
15
Locality_Description,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/2,
16
Locality_Site_Specific,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/3,
14
locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
17 15
Habitat_Description,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
18 16
Collection_Method,/location/locationevent/*_id/method/name,
19 17
Project_Name,/location/locationevent/*_id/project/projectname,
......
39 37
height_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/height_m,
40 38
Collection_Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
41 39
Scientific_Name,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
42
Collector_Abbrev_Name,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/1,
43
Collection_Team,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/2,
40
recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
44 41
Collection_Number,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
45 42
specimen_id,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
46 43
specimen_id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
......
71 68
Year_Identified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
72 69
Catalog_Number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
73 70
Collection_Number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
74
Locality_Summary,/location/locationnarrative/_merge/1/_join/1,
75
Locality_Description,/location/locationnarrative/_merge/1/_join/2,
76
Locality_Site_Specific,/location/locationnarrative/_merge/1/_join/3,
71
locality,/location/locationnarrative/_merge/1,
77 72
Habitat_Description,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
78 73
Coordinate_Uncertainity,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value,Assuming units based on the range and precision of values
79 74
Latitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
......
90 85
Auxilirary_Collections,,** No non-empty join mapping for UNUSED#Auxilirary_Collections ** 
91 86
Basis_Of_Specimen,,** No join mapping for basisOfRecord ** 
92 87
Closest_Town,,** No non-empty join mapping for UNUSED#Closest_Town ** 
88
Collection_Team,,** No join mapping for recordedBy_additional ** additional collectors
89
Collector_Abbrev_Name,,** No join mapping for recordedBy_primary ** the primary collector
93 90
DBH_Max,,** No join mapping for diameterBreastHeight_max_cm_verbatim ** Assuming units based on the range and precision of values
94 91
DBH_Min,,** No join mapping for diameterBreastHeight_min_cm_verbatim ** Assuming units based on the range and precision of values
95 92
Dubpliate_Herbarium,,** No non-empty join mapping for UNUSED#Dubpliate_Herbarium ** 
......
100 97
Height_Min,,** No join mapping for height_min_m_verbatim ** Assuming units based on the range and precision of values
101 98
Infra_Rank,,** No join mapping for infraspecificRank ** 
102 99
Local_Name,,** No join mapping for vernacularName ** 
100
Locality_Description,,** No join mapping for locality__area__main ** 
101
Locality_Site_Specific,,"** No join mapping for locality__spot ** location within area, including landmarks"
102
Locality_Summary,,** No join mapping for locality__area__prefix ** rarely populated
103 103
Notes_Plant,,** No join mapping for occurrenceRemarks_verbatim ** 
104 104
Research_Site_Name,,** No join mapping for *Research_Site_Name ** 
105 105
Soil_Description,,** No join mapping for *Soil_Description ** 

Also available in: Unified diff