Project

General

Profile

« Previous | Next » 

Revision 10534

inputs/HVAA/Specimen/map.csv: fieldNumber: remapped to UNUSED

View differences:

inputs/HVAA/Specimen/map.csv
31 31
verbatimEventDate,verbatimEventDate,,
32 32
habitat,habitat,,
33 33
fieldNotes,UNUSED#fieldNotes,,
34
fieldNumber,collectorNumber,,
34
fieldNumber,UNUSED#fieldNumber,,
35 35
occurrenceRemarks,occurrenceRemarks_from_occurrenceRemarks,,
36 36
dynamicProperties,occurrenceRemarks_from_dynamicProperties,,Contains occurrenceRemarks data
37 37
associatedTaxa,associatedTaxa,,
inputs/HVAA/Specimen/VegBIEN.csv
14 14
verbatimElevation,"/location/elevation_m/_alt/1/_units:[to=m,to=]/value",
15 15
minimumElevationInMeters,/location/elevation_m/_alt/2/_avg/1,
16 16
maximumElevationInMeters,/location/elevation_m/_alt/2/_avg/2,
17
fieldNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
18 17
recordNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
19 18
symbiotaId,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
20 19
locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
......
29 28
year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
30 29
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
31 30
occurrenceRemarks,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1,
32
fieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_first/2,
33 31
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_first/2,
34 32
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"
35 33
reproductiveCondition,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/reproductivecondition,
36 34
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
37 35
collectionCode,/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
38
fieldNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/else",
39 36
recordNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/else",
40 37
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/cond/_exists",
41 38
symbiotaId,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/cond/_exists",
42 39
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/name/_first/2",
43 40
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/sourcename/name/_first/2/_split:[separator=""[,;] *""]/value",
44 41
symbiotaId,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
45
fieldNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
46 42
recordNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
47 43
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
48 44
recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
49
fieldNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
50 45
recordNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
51 46
symbiotaId,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
52 47
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_alt/2/_map:[cultivated=t,wild=f,*=]/value",
......
78 73
taxonRemarks,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/notes,
79 74
identificationQualifier,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/taxonfit,
80 75
catalogNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
81
fieldNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
82 76
recordNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
83 77
locality,/location/locationnarrative/_merge/1,
84 78
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?"
......
104 98
dynamicProperties,,** No join mapping for occurrenceRemarks_from_dynamicProperties ** Contains occurrenceRemarks data
105 99
endDayOfYear,,** No join mapping for endDayOfYear ** 
106 100
fieldNotes,,** No non-empty join mapping for UNUSED#fieldNotes ** 
101
fieldNumber,,** No non-empty join mapping for UNUSED#fieldNumber ** 
107 102
geodeticDatum,,** No join mapping for geodeticDatum ** 
108 103
georeferenceProtocol,,** No join mapping for georeferenceProtocol ** 
109 104
georeferenceRemarks,,** No join mapping for georeferenceRemarks ** 
inputs/HVAA/Specimen/test.xml.ref
85 85
                                    <count>$individualCount</count>
86 86
                                    <notes>$occurrenceRemarks</notes>
87 87
                                    <plantobservation>
88
                                        <authorplantcode>
89
                                            <_alt>
90
                                                <0>$fieldNumber</0>
91
                                                <1>$recordNumber</1>
92
                                            </_alt>
93
                                        </authorplantcode>
88
                                        <authorplantcode>$recordNumber</authorplantcode>
94 89
                                        <definedvalue fkey="tablerecord_id">
95 90
                                            <userdefined_id>
96 91
                                                <userdefined>
......
104 99
                                        <specimenreplicate>
105 100
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
106 101
                                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
107
                                            <collectionnumber>
108
                                                <_alt>
109
                                                    <0>$fieldNumber</0>
110
                                                    <1>$recordNumber</1>
111
                                                </_alt>
112
                                            </collectionnumber>
102
                                            <collectionnumber>$recordNumber</collectionnumber>
113 103
                                            <institution_id>
114 104
                                                <sourcelist>
115 105
                                                    <name>$institutionCode</name>

Also available in: Unified diff