Project

General

Profile

« Previous | Next » 

Revision 7312

inputs/.herbaria/: Removed no longer needed herbaria/. Use ih/ instead.

View differences:

inputs/.herbaria/herbaria/header.csv
1
herbariumAcronym,City,State,Country,CoordinatesVerbatim,latitude,longitude,ID,countryStd,countryID,Index_2_index,Index_3_index,Index_4_index,Index_5_index,Index_countryStd_index,Index_countryID_index
inputs/.herbaria/herbaria/map.csv
1
herbaria,VegCore,Filter,Comments
2
herbariumAcronym,institutionCode,,
3
City,OMIT,,"Just importing whether a datasource is a herbarium, for now"
4
State,OMIT,,"Just importing whether a datasource is a herbarium, for now"
5
Country,OMIT,,"Just importing whether a datasource is a herbarium, for now"
6
CoordinatesVerbatim,OMIT,,"Just importing whether a datasource is a herbarium, for now"
7
latitude,OMIT,,"Just importing whether a datasource is a herbarium, for now"
8
longitude,OMIT,,"Just importing whether a datasource is a herbarium, for now"
9
ID,OMIT,,"Just importing whether a datasource is a herbarium, for now"
10
countryStd,OMIT,,"Just importing whether a datasource is a herbarium, for now"
11
countryID,OMIT,,"Just importing whether a datasource is a herbarium, for now"
12
Index_2_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
13
Index_3_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
14
Index_4_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
15
Index_5_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
16
Index_countryStd_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
17
Index_countryID_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
18
:herbarium,referenceType,,
19
:specimen,observationType,,
inputs/.herbaria/herbaria/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>herbaria</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>$herbariumAcronym</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 2 new rows into database
inputs/.herbaria/herbaria/VegBIEN.csv
1
herbaria,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
herbariumAcronym,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
3
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
4
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
5
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
6
herbariumAcronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
7
herbariumAcronym,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/name",
8
herbariumAcronym,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/sourcename/name/_split:[separator="", ""]/value",
9
City,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
10
CoordinatesVerbatim,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
11
Country,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
12
ID,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
13
Index_2_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
14
Index_3_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
15
Index_4_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
16
Index_5_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
17
Index_countryID_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
18
Index_countryStd_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
19
State,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
20
countryID,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
21
countryStd,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
22
latitude,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
23
longitude,,"** No non-empty join mapping for OMIT ** Just importing whether a datasource is a herbarium, for now"
inputs/.herbaria/herbaria/new_terms.csv
1
herbariumAcronym,institutionCode,,
2
City,OMIT,,"Just importing whether a datasource is a herbarium, for now"
3
CoordinatesVerbatim,OMIT,,"Just importing whether a datasource is a herbarium, for now"
4
countryStd,OMIT,,"Just importing whether a datasource is a herbarium, for now"
5
countryID,OMIT,,"Just importing whether a datasource is a herbarium, for now"
6
Index_2_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
7
Index_3_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
8
Index_4_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
9
Index_5_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
10
Index_countryStd_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
11
Index_countryID_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation

Also available in: Unified diff