Skip to content

Commit

Permalink
Fix path to download zipped PAD file
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerMatteo authored Sep 14, 2023
1 parent 77f6271 commit 8f99a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _download_data.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Increase timeout to 600 -> 10 min
options(timeout=600)
# Define location of specified PAD version
source <- paste("https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/pad", padVersion, ".zip", sep="")
source <- paste("https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/pad_", padVersion, ".zip", sep="")
# Download PAD
download(source, dest=paste0(dataDir, "/dataset.zip"), mode="wb")
# Unzip PAD
Expand Down

0 comments on commit 8f99a2a

Please sign in to comment.