Skip to content

Instantly share code, notes, and snippets.

@MattCowgill
Last active November 17, 2022 05:45
Show Gist options
  • Save MattCowgill/67f3ce456c301eb208e0d16467b05898 to your computer and use it in GitHub Desktop.
Save MattCowgill/67f3ce456c301eb208e0d16467b05898 to your computer and use it in GitHub Desktop.
library(readabs)
path <- file.path(tempdir(), "abs_dwellings")
dir.create(path)
dwellings_sa2_zip <- download_abs_data_cube("estimated-dwelling-stock",
"zip",
path = path)
zip::unzip(dwellings_sa2_zip,
exdir = path)
dwellings_csv_loc <- list.files(path, pattern = ".csv", full.names = T)
dwellings_csv_loc |>
readr::read_csv()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment