getunz | R Documentation |
Download, Unzip and Read Data: getunz
getunz(url)
url |
A url string for a .zip file. |
A dataframe object from a zipped file. Particulary useful For downloading data from IHME GBD Results: "https://vizhub.healthdata.org/gbd-results/". The function takes the url, creates a temp directory, unzip the file, if more than one csv files is available, it lists the files, and reads them.
Select a dataset from the IHME GBD results and download it. You will receive an email with a url. Use the url to download the data.
## Not run:
# This is a dontrun example because it requires a valid url.
url <- "https://www.healthdata.org/.../some-file.zip"
getunz(url)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.