Description Usage Arguments Details Value Examples
View source: R/structure_and_map_event.R
This function takes your event-based dataset and returns an event dataframe ready to be upserted.
1 | str_map_events(data, conn, location_table)
|
data |
Dataframe to be structured. The column names need to match the NaTron terms (DwC). |
conn |
NaTron connection object with access permission (see |
location_table |
location table for your data (see |
data
needs to contain a column called dateQualifierstating the resolution of the eventDate. Options are "Only year", "Only month-year", "Complete date", "0-No date", or "Doubtful day/month". Discrepancies returns an error.
Dataframe: event table, mapped to the location table and ready to be upserted to Natron.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data("setesdal")
myConnection <- natron_connect("YOUR-USERNAME")
myLocationTable(data = setesdal, conn = myConnection)
#map_location(myLocationTable)
myEvents <- str_map_events(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.