Project

General

Profile

« Previous | Next » 

Revision 10560

inputs/NY/Ecatalog_all/: translated multi-column filters 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
9 9
MinimumElevation,/location/elevation_m/_alt/2/_avg/1/_nullIf:[null=.]/value,
10 10
MaximumElevation,/location/elevation_m/_alt/2/_avg/2,
11 11
FieldNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",Usage inconsistent with DwC definition
12
Locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/1,
13
Substrate,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/2/_label[label=""substrate""]/value",
14
Vegetation,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/3/_label[label=""vegetation""]/value",
12
locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
15 13
Habitat,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
16 14
DayIdentified,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
17 15
MonthIdentified,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
......
20 18
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
21 19
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
22 20
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
23
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1/_join/1,
24
PlantFungDescription,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1/_join/2,"Contains the specimenDescription. PlantFung confusingly refers to the plant/fungus the specimen came from, rather than to a fungus growing on the plant."
21
occurrenceRemarks,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1,
25 22
FieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_first/2,Usage inconsistent with DwC definition
26 23
Sex,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/definedvalue[*_id/userdefined[tablename=plantobservation,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
27 24
CatalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
......
61 58
FieldNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",Usage inconsistent with DwC definition
62 59
MinimumDepth,/location/locationevent/waterdepth_m/_avg/1,
63 60
MaximumDepth,/location/locationevent/waterdepth_m/_avg/2,
64
Locality,/location/locationnarrative/_merge/1/_join/1,
65
Substrate,"/location/locationnarrative/_merge/1/_join/2/_label[label=""substrate""]/value",
66
Vegetation,"/location/locationnarrative/_merge/1/_join/3/_label[label=""vegetation""]/value",
61
locality,/location/locationnarrative/_merge/1,
67 62
Habitat,"/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?"
68 63
CoordinatePrecision,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value,"Usage inconsistent with DwC definition, which only allows degrees. Assuming units based on the range and precision of values."
69 64
BoundingBox,/location/locationplace/*_id/place/*_id/coordinates/footprintgeometry_dwc,
......
82 77
CollectorNumber,,** No non-empty join mapping for UNUSED#CollectorNumber ** 
83 78
DateLastModified,,** No join mapping for modified ** 
84 79
JulianDay,,** No join mapping for dayOfYear ** 
80
Locality,,** No join mapping for locality__main ** 
81
Notes,,** No join mapping for occurrenceRemarks__main ** 
82
PlantFungDescription,,"** No join mapping for specimenDescription ** PlantFung confusingly refers to the plant/fungus the specimen came from, rather than to a fungus growing on the plant"
85 83
PreparationType,,** No join mapping for preparations ** 
86 84
PreviousCatalogNumber,,** No join mapping for otherCatalogNumbers ** 
87 85
RelatedCatalogItem,,** No join mapping for relatedResourceID ** 
88 86
RelationshipType,,** No join mapping for relationshipOfResource ** 
87
Substrate,,** No join mapping for substrate ** 
89 88
TimeOfDay,,** No join mapping for eventTime ** 
90 89
TypeStatus,,** No join mapping for typeStatus ** 
91 90
UniqueNYInternalRecordNumber,,** No non-empty join mapping for OMIT#UniqueNYInternalRecordNumber ** Sometimes duplicated. Omitted to avoid confusion since this is an internal-only ID.
91
Vegetation,,** No join mapping for vegetation ** 
92 92
key,,"** No non-empty join mapping for OMIT#key ** CatalogNumber, etc. is a better pkey"
93 93
pkey,,"** No non-empty join mapping for OMIT#pkey ** CatalogNumber, etc. is a better pkey"

Also available in: Unified diff