Skip to content
example.Rmd 1.02 KiB
Newer Older
---
title: "Examples R Markdown"
author: "Pauline Maury Laribière"
date: "21/10/2021"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

# Installation

You can install the library with
```{r install}
install.packages("fso_metadata")
then at the beginning of your R script, you will need to 
```{r library}
library("fso_metadata")
```


# Available everywhere with the interoperability plateform (i14y)

## Code list

```{r codelist, echo=FALSE}
get_codelist(identifier='CL_NOGA_SECTION')
```


## Data Structure

```{r , echo=FALSE}
get_data_structure(identifier='HCL_NOGA', language='it')
```

## Nomenclature
```{r , echo=FALSE}
Pauline Maury Laribière's avatar
Pauline Maury Laribière committed
my_filters <- hash::hash(
  'prop1'= list("string"),
  'prop2' = list("string", "string2")
)
```


```{r , echo=FALSE}
get_nomenclature_one_level(identifier='HCL_CH_ISCO_19_PROF', filters=my_filters, level_number=2)
```

```{r , echo=FALSE}
get_nomenclature_multiple_levels(identifier='HCL_CH_ISCO_19_PROF', filters=my_filters, level_from=2, level_to=5)
```