Project

General

Profile

« Previous | Next » 

Revision 4081

inputs/XAL/maps/DwC.specimens.csv: Remapped FieldNumber to recordNumber because this historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber, but not the same meaning as the current fieldNumber term

View differences:

inputs/XAL/test/import.specimens.xml.ref
138 138
            </namedplace_id>
139 139
        </locationdetermination>
140 140
        <locationevent>
141
            <authoreventcode>$FieldNumber</authoreventcode>
142 141
            <obsenddate>
143 142
                <_date>
144 143
                    <date>
......
239 238
                    <count>$IndividualCount</count>
240 239
                    <notes>$Notes</notes>
241 240
                    <plantobservation>
242
                        <collectionnumber>$CollectorNumber</collectionnumber>
241
                        <collectionnumber>
242
                            <_alt>
243
                                <1>$CollectorNumber</1>
244
                                <2>$FieldNumber</2>
245
                            </_alt>
246
                        </collectionnumber>
243 247
                        <definedvalue fkey="tablerecord_id">
244 248
                            <userdefined_id>
245 249
                                <userdefined>
......
258 262
                </aggregateoccurrence>
259 263
                <authortaxoncode>
260 264
                    <_alt>
261
                        <1>$CollectorNumber</1>
265
                        <1>
266
                            <_alt>
267
                                <1>$CollectorNumber</1>
268
                                <2>$FieldNumber</2>
269
                            </_alt>
270
                        </1>
262 271
                        <2>$ScientificName</2>
263 272
                    </_alt>
264 273
                </authortaxoncode>
inputs/XAL/maps/DwC.specimens.csv
1 1
"XAL[DwC,darwin:]:/content/record/",DwC,Comments
2
CollectorNumber,recordNumber/_alt/1,
3
FieldNumber,recordNumber/_alt/2,"This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber). It is also unused: `grep -F ""<darwin:FieldNumber>"" inputs/XAL/src/digir.specimens.xml` returns no lines."
inputs/XAL/maps/DwC.specimens.full.csv
4 4
Class,Class
5 5
CollectionCode,CollectionCode
6 6
Collector,Collector
7
CollectorNumber,CollectorNumber
8 7
ContinentOcean,ContinentOcean
9 8
CoordinatePrecision,CoordinatePrecision
10 9
Country,Country
......
13 12
DayCollected,DayCollected
14 13
DayIdentified,DayIdentified
15 14
Family,Family
16
FieldNumber,FieldNumber
17 15
Genus,Genus
18 16
IdentifiedBy,IdentifiedBy
19 17
IndividualCount,IndividualCount
......
46 44
TypeStatus,TypeStatus
47 45
YearCollected,YearCollected
48 46
YearIdentified,YearIdentified
47
CollectorNumber,recordNumber/_alt/1,
48
FieldNumber,recordNumber/_alt/2,"This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber). It is also unused: `grep -F ""<darwin:FieldNumber>"" inputs/XAL/src/digir.specimens.xml` returns no lines."
inputs/XAL/maps/VegBIEN.specimens.csv
14 14
StateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
15 15
Country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
16 16
ContinentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
17
FieldNumber,/location/locationevent/authoreventcode,
18 17
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19 18
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20 19
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
......
26 25
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
27 26
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
28 27
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
29
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/1,
28
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/2/_alt/1,
29
FieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/2/_alt/2,"This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber). It is also unused: `grep -F ""<darwin:FieldNumber>"" inputs/XAL/src/digir.specimens.xml` returns no lines."
30 30
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"
31 31
CatalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
32 32
CollectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/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
33 33
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
34
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_alt/1,
34
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_alt/2/_alt/1,
35
FieldNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_alt/2/_alt/2,"This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber). It is also unused: `grep -F ""<darwin:FieldNumber>"" inputs/XAL/src/digir.specimens.xml` returns no lines."
35 36
ScientificName,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2,
36 37
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
37 38
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,

Also available in: Unified diff