Project

General

Profile

« Previous | Next » 

Revision 6313

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

View differences:

VegBIEN.csv
9 9
HAVING count(*) > 1
10 10
-----"
11 11
herbarium,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1",
12
accession,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
13

  
14
[1] Using the following query:
15
-----
16
SELECT herbarium, accession, count(*)
17
FROM ""UNCC"".""Specimen""
18
GROUP BY herbarium, accession
19
HAVING count(*) > 1
20
-----"
21
cultivated,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/else",Ignore other values
12 22
collday,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
13 23
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
14 24
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
......
36 46
collector1,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/2,
37 47
collector2,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/3,
38 48
collector3,/location/locationevent/taxonoccurrence/collector_id/party/fullname/_join/4,
39
cultivated,/location/locationevent/taxonoccurrence/iscultivated/_alt/1,Ignore other values
49
accession,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
50

  
51
[1] Using the following query:
52
-----
53
SELECT herbarium, accession, count(*)
54
FROM ""UNCC"".""Specimen""
55
GROUP BY herbarium, accession
56
HAVING count(*) > 1
57
-----"
58
cultivated,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then",Ignore other values
40 59
accession,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,"Globally unique, although occasionally duplicated. [1]
41 60

  
42 61
[1] Using the following query:

Also available in: Unified diff