read_jp_nite: Read-In and Clean the Japanese NITE Chemical Management GHS...

View source: R/read_jp_nite.R

read_jp_niteR Documentation

Read-In and Clean the Japanese NITE Chemical Management GHS Classification Results

Description

This function reads-in and automatically cleans the Japanese NITE Chemical Management GHS Classification results.

Usage

read_jp_nite(path, clean_non_ascii = FALSE)

Arguments

path

(Character) The path to the XLSX 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 Japanese NITE Chemical Management GHS Classification results.

Value

Returns a data frame.

Note

Tested with the March 2022 version; GHS classifications omitted.

Author(s)

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

Examples

## Not run: 
download.file(
  url = "https://www.nite.go.jp/chem/english/ghs/files/list_all_e.xlsx",
  destfile = "list_all_e.xlsx"
)

path <- "list_all_e"

nite <- read_jp_nite(path)

## End(Not run)

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