Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

download _gda2020.zip file - #8

#8
Open
mtmail wants to merge 0 commit into
data61:masterdata61/gnaf:masterfrom
OpenCageData:GDA2020OpenCageData/gnaf:GDA2020Copy head branch name to clipboard
Open

download _gda2020.zip file#8
mtmail wants to merge 0 commit into
data61:masterdata61/gnaf:masterfrom
OpenCageData:GDA2020OpenCageData/gnaf:GDA2020Copy head branch name to clipboard

Conversation

@mtmail

@mtmail mtmail commented Jun 23, 2020

Copy link
Copy Markdown

Sometime in 2019 the data.gov.au started publishing multiple files, which broke the dataURL= assignment.

curl -sL 'http://www.data.gov.au/api/3/action/package_show?id=19432f89-dc3a-4ef3-b943-5326ef1dbecc' | jq -r '.result.resources[] | select(.format == "ZIP") | .url'
https://data.gov.au/data/dataset/19...2f/download/may20_gnaf_pipeseparatedvalue.zip
https://data.gov.au/data/dataset/19...2a/download/may20_gnaf_pipeseparatedvalue_gda2020.zip
https://data.gov.au/data/dataset/19...33/download/documents.zip

I hope http://www.gda2020.com.au/ is safe to be the new default.

Also added wget --no-clobber because if a build breaks during download a restart would instead download to new file with ".1" or ".2" appended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.