mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Add NAR 2025-07 and update download links
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": null,
|
||||
"id": "b6e053ec",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -12,12 +12,41 @@
|
||||
"source ../.env"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7535120d-7e2d-4bc1-8bfc-f8240a8b0902",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Export National Address Register File (2025-07 vintage)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "ad20ec9f-53d2-4616-84cf-ea98e7f3e39f",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"output_folder=\"${DATA_FOLDER}/national_address_register/output/2025-07\"\n",
|
||||
"output_file=\"${output_folder}/nar_2025_07.parquet\"\n",
|
||||
"echo \"Exporting silver.nar_2025_07 table to ${output_file}\" \n",
|
||||
"ogr2ogr \\\n",
|
||||
" -lco COMPRESSION=\"ZSTD\" \\\n",
|
||||
" -lco CREATOR=\"www.dataforcanada.org\" \\\n",
|
||||
" -lco WRITE_COVERING_BBOX=\"YES\" \\\n",
|
||||
" -lco SORT_BY_BBOX=\"YES\" \\\n",
|
||||
" -f Parquet \\\n",
|
||||
" ${output_file} \\\n",
|
||||
" \"PG:host=db dbname=${POSTGRES_DB} user=${POSTGRES_USER} password=${POSTGRES_PASSWORD} port=5432\" \\\n",
|
||||
" \"silver.nar_2025_07\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "12eca225-3d05-4bb7-95fa-7b9df694f53d",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 1. Export National Address Register File (2024-12 vintage)"
|
||||
"# Export National Address Register File (2024-12 vintage)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -54,7 +83,7 @@
|
||||
"id": "245cd8fb-da36-4476-8e5c-4d3665e901d7",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 2. Export National Address Register File (2024-06 vintage)"
|
||||
"# Export National Address Register File (2024-06 vintage)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -83,7 +112,7 @@
|
||||
"id": "56ef7755-06ef-473c-8a1f-0129f6b1dc28",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 3. Export National Address Register File (2023 vintage)"
|
||||
"# Export National Address Register File (2023 vintage)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -112,7 +141,7 @@
|
||||
"id": "f1bfd838-19aa-4de7-9ca1-61b1215d7865",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 4. Export National Address Register File (2022 vintage)"
|
||||
"# Export National Address Register File (2022 vintage)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user