Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/statisticsnorway/coicopconverter


https://github.com/statisticsnorway/coicopconverter

Last synced: 23 days ago
JSON representation

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")

```