View source: R/get_owid_testing_meta.R
owid_testing_meta | R Documentation |
A metadata table used within get_testing()
to determine how country testing data is computed.
To scrape the OWID coronavirus testing website for data related to the source and definitions of their testing data by country. Note that OWID testing data will no longer be updated from 23 June 2022 on.
owid_testing_meta
get_owid_testing_meta(url = "https://ourworldindata.org/coronavirus-testing")
A data frame with 141 rows and 5 columns, including:
id
character ISO 3166-1 alpha-3 country code
test_definition
character Description of OWID testing definition
case_definition
character Description of OWID case definition
posrate_definition
character Description of OWID test positivity calculation
posrate_direct
logical Indicator for whether OWID pulls test positivity directly, or computes it
Data set of scraped information related to data definitions and sources by country
owid_testing_meta
: Saved dataset
## Not run:
owid_testing_meta <- get_owid_testing_meta()
usethis::use_data(owid_testing_meta, overwrite = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.