Description Usage Arguments Value Examples
View source: R/structure_and_map_occurrence.R
Function takes inn a datatable where the columns correspond exactly to the database columns and returns an occurrence dataframe ready to be upserted.
1 | str_map_occ(data, conn, location_table)
|
data |
Data to be structured. |
conn |
DB connection with access permission (see |
location_table |
location table (see |
Occurrence data (dataframe) that is ready to be upserted to Natron.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data("setesdal")
myConnection <- natron_connect("myUserName")
myLocationTable(data = setesdal, conn = myConnection)
#map_location(myLocationTable)
myOccurences <- str_map_occ(data = setesdal,
conn = myConnection,
location_table = myLocationTable)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.