View source: R/clean_case_med_history.R
clean_case_med_history | R Documentation |
This function un-nests and cleans date ranges of isolation and hospitalization history and stores it in a standalone table.
clean_case_med_history(cases, language_tokens)
cases |
A tibble with case data. Case data is returned by
|
language_tokens |
A tibble of language tokens returned by
|
A tibble with information on isolation and hospitalization history.
## Not run:
url <- "https://MyGoDataServer.com/"
username <- "myemail@email.com"
password <- "mypassword"
outbreak_id <- "3b5554d7-2c19-41d0-b9af-475ad25a382b"
cases <- get_cases(
url = url,
username = username,
password = password,
outbreak_id = outbreak_id
)
language_tokens <- get_language_tokens(
url = url,
username = username,
password = password,
language = "english_us"
)
cases_med_history <- clean_case_med_history(
cases = cases,
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.