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
CTFS[Veg+],VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
3
plotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
4
plotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
2
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
3
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
4
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
5 5
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
6 6
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/1",
7
plotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
7
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
8 8
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/sourceaccessioncode",
9
speciesInvID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/1,
10
subSpeciesName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last",
11
speciesName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
12
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",
13
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",
9
SpeciesInvID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/1,
10
SubSpeciesName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last",
11
SpeciesName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
12
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",
13
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",
14
Description,,** No join mapping for Description ** 
15
FamilyID,,** No join mapping for FamilyID ** 
16
FieldFamily,,** No join mapping for FieldFamily ** 
17
GenusAuthority,,** No join mapping for GenusAuthority ** 
18
GenusID,,** No join mapping for GenusID ** 
19
GenusReferenceID,,** No join mapping for GenusReferenceID ** 
20
IDLevel,,** No join mapping for IDLevel ** 
21
InfraSpecificLevel,,"** No join mapping for InfraSpecificLevel ** Not used, as the following query returns zero:
22
-----
23
SELECT COUNT(*) FROM ""CTFS"".""InfraspecificEpithet.src""
24
WHERE ""InfraSpecificLevel"" IS NOT NULL
25
-----"
26
ReferenceID,,** No join mapping for ReferenceID ** 
27
SpeciesAuthority,,** No join mapping for SpeciesAuthority ** 
28
SpeciesCurrentTaxonFlag,,** No join mapping for SpeciesCurrentTaxonFlag ** 
29
SpeciesID,,** No join mapping for SpeciesID ** 
30
SpeciesMnemonic,,** No join mapping for SpeciesMnemonic ** 
31
SpeciesObsoleteTaxonFlag,,** No join mapping for SpeciesObsoleteTaxonFlag ** 
32
SpeciesReferenceID,,** No join mapping for SpeciesReferenceID ** 
33
SubSpeciesAuthority,,** No join mapping for SubSpeciesAuthority ** 
34
SubSpeciesCurrentTaxonFlag,,** No join mapping for SubSpeciesCurrentTaxonFlag ** 
35
SubSpeciesID,,** No join mapping for SubSpeciesID ** 
36
SubSpeciesMnemonic,,** No join mapping for SubSpeciesMnemonic ** 
37
SubSpeciesObsoleteTaxonFlag,,** No join mapping for SubSpeciesObsoleteTaxonFlag ** 
38
row_num,,** No join mapping for row_num ** 

Also available in: Unified diff