Skip to content

Instantly share code, notes, and snippets.

@matt-dray
Last active September 19, 2018 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-dray/4accb4a51d80a304f0103a3c8c92e4b1 to your computer and use it in GitHub Desktop.
Save matt-dray/4accb4a51d80a304f0103a3c8c92e4b1 to your computer and use it in GitHub Desktop.
Download today's latest Get Information About Schools data
# This code sources the CSV for GIAS from online
# The URL is in the form [standard path][creation date][.csv], so we can just
# change the creation date to today's date using Sys.Date()
gias <- data.table::fread(
paste0(
"http://ea-edubase-api-prod.azurewebsites.net/edubase/edubasealldata",
stringr::str_replace_all(Sys.Date(), "-", ""),
".csv"
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment