View source: R/odkc_mwi_as_wastd_ae.R
| odkc_mwi_as_wastd_ae | R Documentation | 
Transform odkc_data$mwi into WAStD AnimalEncounters.
odkc_mwi_as_wastd_ae(data, user_mapping)
data | 
 The tibble of Marine Wildlife Incidents,
e.g.   | 
user_mapping | 
 .  | 
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_mwi_as_wastd_ae(odkc_ex$mwi, 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.