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