Description Usage Arguments Value Examples
getAE_data
1 2 | getAE_data(update_data = TRUE, directory = file.path("data-raw", "sitreps"),
url_list = NULL, use_filename_date = FALSE)
|
update_data |
whether to download files afresh from NHS England website (TRUE) or use existing downloaded files (FALSE) |
directory |
directory to find existing downloaded files, and to save new downloads |
url_list |
list of urls (as strings) for the pages to scrape for data files |
use_filename_date |
if TRUE, take dates from the Excel file's name, if FALSE, take from the date specified inside the sheet |
A data frame containing all the monthly A&E data from the NHS England website.
1 2 | AE_data <- getAE_data(directory = file.path('nhsAEscraper','sitreps'))
str(AE_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.