Import and explore the data
In this exercise, we will start with reading and exploring two new datasets:
- First, a dataset on artisanal mining sites in Eastern Congo (adapted from IPIS open data).
- Second, a dataset on the national parks in Congo (adapted from the World Resources Institute).
For each of those datasets, the exercise consists of importing the necessary packages, reading the data with geopandas.read_file()
, inspecting the first 5 rows and the Coordinate Reference System (CRS) of the data, and making a quick visualization.
This exercise is part of the course
Working with Geospatial Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import GeoPandas and Matplotlib
____
import ____ as ___
# Read the mining site data
mining_sites = ____
# Print the first rows and the CRS information
print(____)
print(____)
# Make a quick visualisation
____
plt.show()