Skip to content

Commit

Permalink
CRAN checks fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AAoritz committed Jul 12, 2024
1 parent 252da42 commit ff0eddb
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2024-03-21 10:16:36 UTC
SHA: c0e7ccaa1f68f7812b2123140ebecba51d25bf30
Version: 1.1.0
Date: 2024-07-11 17:37:35 UTC
SHA: 252da427d218d3c195c1baa391ed5de5a37f1cda
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Please support the development of open science and data by citing the JRC and us

- Joint Research Centre (2022) NUTS converter. <https://urban.jrc.ec.europa.eu/tools/nuts-converter>

- Hennicke M, Krause W (2024). _nuts: Convert European Regional Data_. doi:10.5281/zenodo.10885973
<https://doi.org/10.5281/zenodo.10573057>, R package version 1.0.0, <https://docs.ropensci.org/nuts/>.
- Hennicke M, Krause W (2024). _nuts: Convert European Regional Data_. doi:10.5281/zenodo.10573056
<https://doi.org/10.5281/zenodo.10573056>, R package version 1.1.0, <https://docs.ropensci.org/nuts/>.


Bibtex Users:
Expand All @@ -53,8 +53,8 @@ Bibtex Users:
title = {nuts: Convert European Regional Data},
author = {Moritz Hennicke and Werner Krause},
year = {2024},
note = {R package version 1.0.0},
note = {R package version 1.1.0},
url = {https://docs.ropensci.org/nuts/},
doi = {https://doi.org/10.5281/zenodo.10885973},
doi = "https://doi.org/10.5281/zenodo.10573056",
}
```
6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
nuts: nuts.html
last_built: 2024-07-11T17:32Z
last_built: 2024-07-12T22:06Z
urls:
reference: https://aaoritz.github.io/nuts/reference
article: https://aaoritz.github.io/nuts/articles
Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bibentry(
title = "nuts: Convert European Regional Data",
author = "Moritz Hennicke, Werner Krause",
year = "2024",
note = "R package version 1.0.0",
note = "R package version 1.1.0",
url = "https://docs.ropensci.org/nuts/",
doi = "https://doi.org/10.5281/zenodo.10885973",
doi = "https://doi.org/10.5281/zenodo.10573056",
)
14 changes: 7 additions & 7 deletions vignettes/nuts.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For example, the German district *Northern Saxony* (*Nordsachsen*) is located wi

Since administrative boundaries in Europe change for demographic, economic, political or other reasons, there are five different **versions** of the NUTS Nomenclature (2006, 2010, 2013, 2016, and 2021). The current version, effective from 1 January 2021, lists 104 regions at NUTS-1, 283 regions at NUTS-2, 1 345 regions at NUTS-3 level[^2].

[^1]: [European Interinstitutional Style Guide](https://publications.europa.eu/code/en/en-5000600.htm) In the case of Greece for instance this code was changed from GR to EL in 2011.
[^1]: [Eurostat](https://ec.europa.eu/eurostat/web/nuts/history) In the case of Greece this code was changed from GR to EL in 2011.

[^2]: [2022 report of the European Union](https://ec.europa.eu/eurostat/documents/3859598/15193590/KS-GQ-22-010-EN-N.pdf)

Expand Down Expand Up @@ -308,7 +308,7 @@ nuts_get_missing(pat_classified) # ...use helper function
## Converting data between NUTS versions

Once the NUTS version and level of the original data are identified, you can easily **convert** the data to any other **NUTS version**. Here is an example of transforming the 2013 Norwegian data to the 2021 NUTS version. Between 2016 and 2021, the number of NUTS-2 regions in Norway decreased by one as the borders of six regions were transformed. The maps below show the affected regions.
We provide the classified NUTS data, specify the target NUTS version for data transformation, and supply the variable containing the values to be interpolated. It is important to indicate the **variable type** in the named input-vector since the interpolation approaches differ for [absolute and relative values](https://urban.jrc.ec.europa.eu/nutsconverter/docs/2022_08_04_NUTS_converter.pdf).
We provide the classified NUTS data, specify the target NUTS version for data transformation, and supply the variable containing the values to be interpolated. It is important to indicate the **variable type** in the named input-vector since the interpolation approaches differ for [absolute and relative values](https://urban.jrc.ec.europa.eu/static/sites/nutsconverter/2022_08_04_NUTS_converter.pdf).

```{r}
# Converting Data to 2021 NUTS version
Expand Down Expand Up @@ -759,7 +759,7 @@ To keep track of these changes, the `nuts` package uses two data sets:
1. Stocks: data(`all_nuts_codes`) contains **all historical NUTS codes** by NUTS version and country
2. Flows: data(`cross_walks`) contains the **conversion tables** between NUTS versions

They are based on [data provided by the JRC](https://urban.jrc.ec.europa.eu/nutsconverter/#/). Both data sets can also be used by the user manually to explore specific conversion patterns more closely.
They are based on [data provided by the JRC](https://urban.jrc.ec.europa.eu/tools/nuts-converter?lng=en). Both data sets can also be used by the user manually to explore specific conversion patterns more closely.

For Norway going from version 2016 to 2021 at NUTS level 2, the `cross_walks` can be easily subset as follows:

Expand Down Expand Up @@ -1119,8 +1119,8 @@ Please support the development of open science and data by citing the JRC and us

- Joint Research Centre (2022) NUTS converter. <https://urban.jrc.ec.europa.eu/tools/nuts-converter>

- Hennicke M, Krause W (2024). _nuts: Convert European Regional Data_. doi:10.5281/zenodo.10885973
<https://doi.org/10.5281/zenodo.10573057>, R package version 1.0.0, <https://docs.ropensci.org/nuts/>.
- Hennicke M, Krause W (2024). _nuts: Convert European Regional Data_. doi:10.5281/zenodo.10573056
<https://doi.org/10.5281/zenodo.10573056>, R package version 1.1.0, <https://docs.ropensci.org/nuts/>.


Bibtex Users:
Expand All @@ -1137,8 +1137,8 @@ Bibtex Users:
title = {nuts: Convert European Regional Data},
author = {Moritz Hennicke and Werner Krause},
year = {2024},
note = {R package version 1.0.0},
note = {R package version 1.1.0},
url = {https://docs.ropensci.org/nuts/},
doi = {https://doi.org/10.5281/zenodo.10885973},
doi = "https://doi.org/10.5281/zenodo.10573056",
}
```

0 comments on commit ff0eddb

Please sign in to comment.