View source: R/odkc_tsi_as_wastd_ae.R
odkc_tsi_as_wastd_ae | R Documentation |
Transform odkc_data$tsi into WAStD AnimalEncounters.
odkc_tsi_as_wastd_ae(data, user_mapping)
data |
The tibble of Turtle Sightings,
e.g. |
user_mapping |
The output of |
A tibble suitable to
wastd_POST("animal-encounters")
## Not run: data("odkc_data", package = "wastdr") user_mapping <- NULL # see odkc_plan for actual user mapping ae <- odkc_tsi_as_wastd_ae(odkc_ex$tsi, user_mapping) ae %>% wastd_POST("animal-encounters", api_url = Sys.getenv("WASTDR_API_DEV_URL"), api_token = Sys.getenv("WASTDR_API_DEV_TOKEN") ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.