Description Usage Arguments Details Value Examples
This function imports the csv WHO mortality files, extracted from downloaded zip files from a local directory
1 2 | import_who(path, data = c("mort", "pop", "ccode", "notes"),
proc = TRUE)
|
path |
a |
data |
a |
proc |
a |
The data
parameter allows the user to download a specific set of data files.
The mort
imports the two ICD-10 mortality csv files, "Morticd10_part1.zip" and "Morticd10_part2.zip" and combines them into a single tibble
object
The pop
imports the WHO population csv file
The ccode
imports the country code csv file
The notes
imports the notes csv file
Fore more details see the docs for proc_who_mort
and snakecase_cols
a tibble
object of the specified data
1 2 3 4 5 6 7 | ## Not run:
download_who(dest = getwd(), data = "ccode")
extract_who(path = getwd(), dest = getwd(), convert = TRUE)
ccode_df <- import_who(path = getwd(), data = "ccode")
head(ccode_df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.