View source: R/contacts_per_case.R
contacts_per_case | R Documentation |
Uses cleaned relationship data to tally the number of contacts
per case. Relationship data is returned by get_relationships()
and
cleaned by clean_relationships()
.
contacts_per_case(relationships_clean)
relationships_clean |
A |
A tibble
with the number of contacts associated to each source
person
## Not run:
url <- "https://MyGoDataServer.com/"
username <- "myemail@email.com"
password <- "mypassword"
outbreak_id <- "3b5554d7-2c19-41d0-b9af-475ad25a382b"
relationships <- get_relationships(
url = url,
username = username,
password = password,
outbreak_id = outbreak_id
)
clean_relationships <- clean_relationships(relationships)
contacts_per_case <- contacts_per_case(clean_relationships)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.