Skip to content

Commit

Permalink
fix population data link
Browse files Browse the repository at this point in the history
  • Loading branch information
ElcoK committed Oct 18, 2024
1 parent d888db2 commit b189b66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TAA4/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"id": "6d8c4878-9662-4de4-9c69-b9ec0af9cda3"
},
"source": [
"Here, we download the population data from WorldPop, an open source platform. Select the country of interest from the WorldPop [website](https://hub.worldpop.org/geodata/listing?id=62) and add the link to the URL below."
"Here, we download the population data from WorldPop, an open source platform. Select the country of interest from the WorldPop [website](https://hub.worldpop.org/geodata/listing?id=69) and add the link to the URL below."
]
},
{
Expand Down Expand Up @@ -229,7 +229,7 @@
"id": "84d4cc8e-d8fc-495a-9337-bfb06958a553"
},
"source": [
"Now, we use a file with country borders from Natural Earth, to get boundries of the country of your interest."
"Now, we use a file with country borders from Natural Earth, to get the boundaries of the country of your interest."
]
},
{
Expand Down Expand Up @@ -375,9 +375,9 @@
"df_worldpop_ = gpd.GeoDataFrame(df_worldpop_.drop(['y','x','spatial_ref','band'],axis=1))\n",
"\n",
"# dynamically create a variable name for the DataFrame\n",
"globals()[f'df_pop_{country_iso3}'] = gpd.GeoDataFrame(df_worldpop_)\n",
"globals()[f'df_pop_{country_iso3}'] = gpd.GeoDataFrame(df_worldpop_) \n",
"\n",
"# dynamically create a print statement that reflects the current country code\n",
"# dynamically create a print statement that reflects the current country code (however df_worldpop_ would work as well)\n",
"print(f\"The output is df_pop_{country_iso3} as a dataframe of the population data of {country_full_name}\")"
]
},
Expand Down

0 comments on commit b189b66

Please sign in to comment.