Project

General

Profile

« Previous | Next » 

Revision 4638

inputs/*/*/map.csv: Changed empty mappings to self mappings, using the steps at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Map_refactoring#Change-empty-mappings-to-self-mappings&gt;. Note that in map.full.csv and VegBIEN.csv, lines that have changed are always the result of the input field's case being changed to match the case of the datasource's actual column name.

View differences:

VegBIEN.csv
1 1
TEAM[Veg+],VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
2
Subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 3
1haPlotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
4
ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
5 5
1haPlotCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6
subplot,/location/authorlocationcode,
7
latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value",
8
longitude,"/location/locationdetermination/longitude/_alt/2/_nullIf:[null=0,type=float]/value",
6
Subplot,/location/authorlocationcode,
7
Latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value",
8
Longitude,"/location/locationdetermination/longitude/_alt/2/_nullIf:[null=0,type=float]/value",
9 9
Method,/location/locationevent/*_id/method/name,
10 10
SiteName,/location/locationevent/*_id/project/projectname,
11
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
11
Subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12 12
1haPlotCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
13 13
ObservationDate,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value,
14 14
ObservationDate,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value,
15
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
16
DBH,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight,
15
ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
16
dbh,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight,
17 17
TreeNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true]/tag",Quotes sort it before tag2
18 18
X_1haPlot,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,
19 19
Y_1haPlot,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,
20
specificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
21
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",
22
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",
20
SpecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
21
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",
22
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",
23 23
Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname,
24
Comments,,** No join mapping for Comments ** 
25
ConditionCodes,,** No join mapping for ConditionCodes ** 
26
LocationCodes,,** No join mapping for LocationCodes ** 
27
ProtocolLeadScientist,,** No join mapping for ProtocolLeadScientist ** 
28
ProtocolLeadScientistInstitution,,** No join mapping for ProtocolLeadScientistInstitution ** 
29
ProtocolVersion,,** No join mapping for ProtocolVersion ** 
30
ResponsibleInstitution,,** No join mapping for ResponsibleInstitution ** 
31
SamplingPeriod,,** No join mapping for SamplingPeriod ** 
32
SamplingUnitName,,** No join mapping for SamplingUnitName ** 
33
max_diam,,** No join mapping for max_diam ** 
34
max_diam_pom,,** No join mapping for max_diam_pom ** 

Also available in: Unified diff