module data.data_shape_files
#
Short summary#
module ensae_teaching_cs.data.data_shape_files
Shapefiles data.
Functions#
function |
truncated documentation |
---|---|
Downloads shape files. |
|
Loads a dataframe with the list of French departments and the center of each. |
Documentation#
Shapefiles data.
- ensae_teaching_cs.data.data_shape_files.data_shape_files(name, cache='.', load=True)#
Downloads shape files.
- Paramètres:
name – name of the shape file (see below)
cache – cache folder
load – loads the shape files, the function relies on geopandas
- Renvoie:
shape files
List of availables shape files: * “depfr2018”: see `Contours des départements français issus d’OpenStreetMap
- ensae_teaching_cs.data.data_shape_files.load_french_departments()#
Loads a dataframe with the list of French departments and the center of each.