Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a copyright statement and acknowledgement #35

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 29 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
# pysquirrel
# pysquirrel - NUTS administrative region utility

pysquirrel is a Python package designed to fetch NUTS administrative
divisions.
[![license](https://img.shields.io/badge/License-MIT-blue)](https://github.com/iiasa/pysquirrel/blob/main/LICENSE)
[![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pytest](https://img.shields.io/github/actions/workflow/status/iiasa/pysquirrel/pytest.yml?logo=GitHub&label=pytest)](https://github.com/iiasa/pysquirrel/actions/workflows/pytest.yml)

Copyright 2024 IIASA Scenario Services team

This repository is licensed under the [MIT License](LICENSE).

## Overview

**pysquirrel** is a Python package designed to work with NUTS administrative divisions.

The current NUTS version is valid from 1 January 2024.

From the [Eurostat
website](https://ec.europa.eu/eurostat/web/nuts/overview):
## Background

From the [Eurostat website](https://ec.europa.eu/eurostat/web/nuts/overview)

The [NUTS
classification](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Glossary:Nomenclature_of_territorial_units_for_statistics_(NUTS))
(Nomenclature of territorial units for statistics) "is a geographical nomenclature subdividing the economic territory of the European Union (EU) into regions at three different levels (NUTS 1, 2 and 3 respectively, moving from larger to smaller territorial units). Above NUTS 1, there is the 'national' level of the Member States."
(Nomenclature of territorial units for statistics) is a geographical nomenclature subdividing the economic territory of the European Union (EU) into regions at three different levels (NUTS 1, 2 and 3 respectively, moving from larger to smaller territorial units). Above NUTS 1, there is the 'national' level of the Member States.

"NUTS is used for:
NUTS is used for:

- collecting, developing and harmonising European regional statistics
- carrying out socio-economic analyses of the regions
- framing of EU regional policies"
- framing of EU regional policies

## Usage

pysquirrel allows searching the list of all territorial units by specifying the
**pysquirrel** allows searching the list of all territorial units by specifying the
parameters and the values to search as shown below:

```python
Expand All @@ -37,7 +47,9 @@ parameters and the values to search as shown below:
>>> pysquirrel.nuts.get(parent_code="DE2") # gets all regions whose parent region is DE2
```

## Eurostat copyright notice
## Eurostat copyright notice on NUTS region data file

This package imports the NUTS spreadsheet from the Eurostat website.

Please note that pysquirrel is not developed, maintained or affiliated
with Eurostat. The [Eurostat copyright notice
Expand All @@ -51,4 +63,10 @@ with due citation of the source.
> European Commission, Eurostat, Statistical regions in the European
> Union and partner countries -- NUTS and statistical regions 2021 --
> 2022 edition, Publications Office of the European Union, 2022,
> https://data.europa.eu/doi/10.2785/321792
> https://data.europa.eu/doi/10.2785/321792

## Acknowledgement

This package is developed and maintained by the *Scenario Services & Scientific Software*
research theme at the IIASA Energy, Climate, and Enviroment program.
Visit https://software.ece.iiasa.ac.at for more information.