Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/statisticsnorway/coicopconverter
https://github.com/statisticsnorway/coicopconverter
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/statisticsnorway/coicopconverter
- Owner: statisticsnorway
- License: mit
- Created: 2023-03-24T10:19:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T13:36:40.000Z (over 1 year ago)
- Last Synced: 2024-08-16T12:25:59.362Z (5 months ago)
- Language: R
- Size: 38.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# COICOP Converter
This R package contains a function to convert a COICOP variable from the European COICOP standard to the newer 2018 UN COICOP.
The package can be installed in a renv environment by running the code:
```
renv::install("statisticsnorway/coicopconverter")
```We then use the `library` to load the package
```
library(coicopconverter)
```The package contains some test data to run the main function, called `coicop_convert()`. The following gives an example
```
data(testdata)
new_coicop <- coicop_convert(testdata, "ecoicop5", "product_name",
coicop6 = "ecoicop6",
ingredients = "ingreds",
maxtemp = "temp")```