View source: R/odkc_mwi_as_wastd_turtlemorph.R
| odkc_mwi_as_wastd_turtlemorph | R Documentation |
Transform odkc_data$mwi into WAStD TurtleMorphometricObservations.
odkc_mwi_as_wastd_turtlemorph(data, user_mapping)
data |
The tibble of Marine Wildlife Incidents,
e.g. |
user_mapping |
. |
A tibble suitable to
wastd_POST("turtle-morphometrics")
## Not run:
data("odkc_data", package = "wastdr")
user_mapping <- NULL # see odkc_plan for actual user mapping
tmorph <- odkc_mwi_as_wastd_turtlemorph(odkc_ex$mwi, user_mapping)
tmorph %>%
wastd_POST("turtle-morphometrics",
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.