fastpynuts.download
Contains utilities for the automatic download of NUTS files.
Module Contents
Functions
Create the URL to a NUTS file in the Eurostat API. For a specification of the parameters, see https://gisco-services.ec.europa.eu/distribution/v2/nuts/nuts-2021-files.html Download of CSV is not supported due to different signature. |
|
Download a NUTS file from the Eurostat API and save to file. |
API
- fastpynuts.download.get_NUTS_url(geomtype='RG', scale=1, year=2021, format='geojson', epsg=4326, level=None)
Create the URL to a NUTS file in the Eurostat API. For a specification of the parameters, see https://gisco-services.ec.europa.eu/distribution/v2/nuts/nuts-2021-files.html Download of CSV is not supported due to different signature.
- fastpynuts.download.download_NUTS(datadir, filename=None, scale=1, year=2021, epsg=4326)
Download a NUTS file from the Eurostat API and save to file.