read_au_hcis: Read-In and Clean the Australia Hazardous Chemical...

View source: R/read_au_hcis.R

read_au_hcisR Documentation

Read-In and Clean the Australia Hazardous Chemical Information System (HCIS) Data Set

Description

This function reads-in and automatically cleans the Australia Hazardous Chemical Information System (HCIS) data set.

Usage

read_au_hcis(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

The function reads-in and cleans the Australia Hazardous Chemical Information System (HCIS) data set into long flat format.

Value

Returns a data frame.

Note

Tested with an XLSX retrieved on 4 May 2022.

Author(s)

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

Examples

## Not run: 
path <- "HCResults.xlsx"

hcis <- read_au_hcis(path)

## End(Not run)

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