Project

General

Profile

« Previous | Next » 

Revision 4218

README.TXT: Datasource setup: Adding input data: Changed steps to use new %/add command to add table's subdir

View differences:

README.TXT
59 59
        <name> may not contain spaces, and should be abbreviated.
60 60
        If the datasource is a herbarium, <name> should be the herbarium code as
61 61
        defined by the Index Herbariorum <http://sweetgum.nybg.org/ih/>
62
    Add input data:
63
        Obtain/create CSVs for the table(s) present in the datasource
62
    Add input data for each table present in the datasource:
63
        Choose a table name from <https://projects.nceas.ucsb.edu/nceas/projects
64
            /bien/wiki/VegCSV#Suggested-table-names>, or use a custom name
65
        make inputs/<name>/<table>/add
66
        Place the CSV for the table in inputs/<name>/<table>/
64 67
        Important: When exporting relational databases to CSVs, you MUST ensure
65 68
            that embedded quotes are escaped by doubling them, *not* by
66 69
            preceding them with a "\" as is the default in phpMyAdmin
......
69 72
             (If the headers are not the same, the CSV concatenation script
70 73
             assumes the part files don't have individual headers and treats the
71 74
             subsequent headers as data rows.)
72
        Place each CSV in a subdir named according to one of the tables at
73
            <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCSV
74
            #Suggested-table-names>, or a custom name
75 75
    Auto-create the map spreadsheets:
76 76
        make inputs/<name>/; make inputs/<name>/
77 77
            Note: Must be run twice to properly bootstrap all maps.

Also available in: Unified diff