read_xn_spin: Read-In and Clean the Substances in Preparations in Nordic...

View source: R/read_xn_spin.R

read_xn_spinR Documentation

Read-In and Clean the Substances in Preparations in Nordic Countries inventory

Description

This function reads-in and automatically cleans the Substances in Preparations in Nordic Countries inventory.

Usage

read_xn_spin(path, clean_non_ascii = FALSE)

Arguments

path

(Character) The path to the TSV file.

clean_non_ascii

(Logical) Should the non-ASCII characters be reasonably converted? Defaults to FALSE.

Details

This function reads-in and automatically cleans the Substances in Preparations in Nordic Countries inventory.

The file needs to be manually downloaded from the following URL: http://www.spin2000.net/spinmyphp/

Value

Returns a data frame.

Author(s)

Raoul Wolf (https://github.com/RaoulWolf/)

Examples

## Not run: 
path <- "spin.tsv"

spin <- read_xn_spin(path)

## End(Not run)

RaoulWolf/cleanventory documentation built on Sept. 15, 2022, 4:25 a.m.