mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-10-02 04:05:46 +02:00
Split off geosuite download URLs by year and change download URLs to use Source Cooperative
This commit is contained in:
+11
-3
@@ -2,10 +2,18 @@
|
|||||||
if [ ! -d "${DATA_FOLDER}/geosuite" ]
|
if [ ! -d "${DATA_FOLDER}/geosuite" ]
|
||||||
then
|
then
|
||||||
echo "Making directory ${DATA_FOLDER}/geosuite/"
|
echo "Making directory ${DATA_FOLDER}/geosuite/"
|
||||||
mkdir -p ${DATA_FOLDER}/geosuite/{input,extracted,output}
|
mkdir -p ${DATA_FOLDER}/geosuite/{input,extracted,output}/{2021,2016,2011,2006,2001}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
INPUT_FOLDER="${DATA_FOLDER}/geosuite/input"
|
INPUT_FOLDER="${DATA_FOLDER}/geosuite/input"
|
||||||
|
|
||||||
echo "Downloading geosuite files"
|
echo "Downloading 2021 geosuite"
|
||||||
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/files.txt" --dir=${INPUT_FOLDER} --auto-file-renaming=false
|
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2021.txt" --dir=${INPUT_FOLDER}/2021 --auto-file-renaming=false
|
||||||
|
echo "Downloading 2016 geosuite"
|
||||||
|
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2016.txt" --dir=${INPUT_FOLDER}/2016 --auto-file-renaming=false
|
||||||
|
echo "Downloading 2011 geosuite"
|
||||||
|
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2011.txt" --dir=${INPUT_FOLDER}/2011 --auto-file-renaming=false
|
||||||
|
echo "Downloading 2006 geosuite"
|
||||||
|
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2006.txt" --dir=${INPUT_FOLDER}/2006 --auto-file-renaming=false
|
||||||
|
echo "Downloading 2001 geosuite"
|
||||||
|
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/geosuite_2001.txt" --dir=${INPUT_FOLDER}/2001 --auto-file-renaming=false
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
# 2021. Here is the reference guide https://web.archive.org/web/20240809014903/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2021001-eng.htm
|
|
||||||
https://www12.statcan.gc.ca/census-recensement/2021/geo/aip-pia/geosuite/files-fichiers/2021_92-150-X_eng.zip
|
|
||||||
# 2016. Here is the reference guide https://web.archive.org/web/20250115043056/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2016002-eng.htm
|
|
||||||
https://www12.statcan.gc.ca/census-recensement/2016/geo/ref/geosuite/files-fichiers/GeoSuite_2016_92-150_XBB_eng.zip
|
|
||||||
# 2011. Here is the reference guide https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2011001-eng.htm
|
|
||||||
https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/2011_92-150_XBB_eng.zip
|
|
||||||
# 2006. Here is the reference guide
|
|
||||||
https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/2006_92-150_XBB_eng.zip
|
|
||||||
# 2001. Here is the reference guide
|
|
||||||
https://www12.statcan.gc.ca/census-recensement/2011/geo/ref/files-fichiers/92F0150WCB2001000.zip
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# 2001. Here is the reference guide
|
||||||
|
https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2001/92F0150WCB2001000.zip
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# 2006. Here is the reference guide
|
||||||
|
https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2006/2006_92-150_XBB_eng.zip
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# 2011. Here is the reference guide https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2011001-eng.htm
|
||||||
|
https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2011/2011_92-150_XBB_eng.zip
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# 2016. Here is the reference guide https://web.archive.org/web/20250115043056/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2016002-eng.htm
|
||||||
|
https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2016/GeoSuite_2016_92-150_XBB_eng.zip
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# 2021. Here is the reference guide https://web.archive.org/web/20240809014903/https://www150.statcan.gc.ca/n1/pub/92-150-g/92-150-g2021001-eng.htm
|
||||||
|
https://data.source.coop/dataforcanada/d4c-datapkg-statistical/archive/statcan/geosuite/2021/2021_92-150-X_eng.zip
|
||||||
Reference in New Issue
Block a user