this is for holding javascript data
Scott Rohde Updates to bulk upload documentation.
Fixed typo in TOC.
over 9 years ago
Commit id: b44ffe43f6bd888951ee274b0efb05e166a29006
deletions | additions
diff --git a/TOC.md b/TOC.md
index ff4a28f..dbf3567 100644
--- a/TOC.md
+++ b/TOC.md
...
* Getting Started \ref{sec:getting_started}
* Preparing Publications \ref{sec:preparing_publications}
* Adding Data
*
Ciations Citations \ref{sec:citation}
* Site \ref{sec:site}
* Treatments \ref{sec:treatments}
* Managements \ref{sec:managements}
diff --git a/bulk upload.md b/bulk upload.md
index ba7ef73..237452e 100644
--- a/bulk upload.md
+++ b/bulk upload.md
...
## **Required fields**:
1. For yields uploads, the only required field is a `yield` column.
2. For trait uploads, there must be at least one column whose label exactly matches the variable name for the trait value being specified. (Leading and trailing spaces are permitted, but letter case must exactly match the name of the variable specified in the database.)
## Information that may be specified globally for the entire dataset.
1. Citation
* If only one citation for the entire dataset exists,
this it may be specified interactively by choosing a citation on the citations page
instead of including citation information in the CSV file.
*
otherwise, Otherwise, specify
the citation in the CSV table using either (doi) or (author, year, first n characters of (title)) for some number n; or perhaps (author, year, first 3 words of (title))
_[Clarify this. Currently, the full title must be specified.]_
*
For citations, if citation_ doi If a `citation_doi` is
available, then available for all citations in the
rest of fields pertaining to data set, the citation
corresponding to each row may be
left blank. However, if specified in a `citation_doi` column. In this case, the `citation_author`, `citation_year`, and `citation_title` columns must all be deleted. (Alternatively, the
citation_ string `-ignore` may be appended to each of these headings. One might want to do this, for example, to keep a visual record of the author, year, and title even when it is the citation doi
that is being used to determine how the data will associated with a citation in the database.)
* Conversely, if a `citation_doi` is not
available, then citation_ available for all citations in the data set, or if it is preferred to specify the citation by author,
citation_ year, and
citation_ title title, then the `citation_doi` column should be deleted and the `citation_author`, `citation_year`, and `citation_title` must all be entered.
2.
site: use sitename Site
* If all of the data in the data set pertains to a single site, that site may be specified interactively.
* Otherwise, the `site` column is required. The value must match an existing `sitename` column value in the `sites` table of the database. (Letter case, leading and trailing spaces, and extra internal spaces are ignored when searching for a match.)
3.
species: use scientificname Species
* If all of the data in the data set pertains to a single species, that species may be specified interactively.
* Otherwise, the `species` column is required. The value must match an existing `scientificname` column value in the `species` table of the database. (Again, letter case, leading and trailing spaces, and extra internal spaces are ignored when searching for a match.)
4.
treatment: Treatment
* use name
5. date: require one of the forms "2003-07-25", "2003-07", or "2003".
Of these, the citation, site, species, treatment, and access_level may be specified interactively when uploading the dataset (if they are uniform for the whole set) rather than appearing as a field or set of fields of the CSV file. As noted above, for citations, this is done outside of the upload wizard by choosing a citation on the citations page.