View source: R/clean_contact_vax_history.R
clean_contact_vax_history | R Documentation |
Cleans and un-nests vaccination history, where vaccination is
complete, from contact data. Contact data is returned from
get_contacts()
.
clean_contact_vax_history(contacts, language_tokens)
contacts |
A tibble with address information from contact data. |
language_tokens |
A tibble of language tokens returned by
|
A tibble with cleaned and un-nested vaccination history data.
## Not run:
url <- "https://MyGoDataServer.com/"
username <- "myemail@email.com"
password <- "mypassword"
outbreak_id <- "3b5554d7-2c19-41d0-b9af-475ad25a382b"
contacts <- get_contacts(
url = url,
username = username,
password = password,
outbreak_id = outbreak_id
)
language_tokens <- get_language_tokens(
url = url,
username = username,
password = password,
language = "english_us"
)
vax_history <- clean_contact_vax_history(
contacts = contacts,
language_tokens = language_tokens
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.