diff --git a/DESCRIPTION b/DESCRIPTION index 210658c6..b5f38b90 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: covidregionaldata Title: Subnational Data for the Covid-19 Outbreak -Version: 0.8.0 +Version: 0.8.1 Authors@R: c(person(given = "Sam Abbott", role = c("aut", "cre"), email = "sam.abbott@lshtm.ac.uk", diff --git a/R/uk.R b/R/uk.R index ed629259..cccd2055 100644 --- a/R/uk.R +++ b/R/uk.R @@ -63,7 +63,7 @@ Also adding new variable: hosp_new_first_admissions. This is NHS data for first gsub("-", "", as.character(Sys.Date()-1)), ".xlsx") - tmp <- paste0(tempdir(), "\\nhs.xlsx") + tmp <- file.path(tempdir(), "nhs.xlsx") download.file(nhs_url, destfile = tmp, mode = "wb")