getAEdata_page_urls_monthly: getAEdata_page_urls_monthly

View source: R/scrape_AE_data_Eng.R

getAEdata_page_urls_monthlyR Documentation

getAEdata_page_urls_monthly

Description

getAEdata_page_urls_monthly

Usage

getAEdata_page_urls_monthly(index_url, country = "England")

Arguments

index_url

the url of the page to scrape data files from

country

the country ("England" or "Scotland") whose AE data urls are to be returned

Value

character vector of the urls for NHS England A&E data *.xls files, or NHS Scotland .csv files from one of the index pages

Examples

## Not run: 
urls <- getAEdata_page_urls_monthly(paste0('https://www.england.nhs.uk/statistics/',
'statistical-work-areas/ae-waiting-times-and-activity/',
'ae-attendances-and-emergency-admissions-2017-18/'))
head(urls, n = 3)

## End(Not run)

HorridTom/nhsAEscraper documentation built on April 11, 2024, 1:12 a.m.