read_ca_dsl: Read-In and Clean the Canada Domestic Substance List

View source: R/read_ca_dsl.R

read_ca_dslR Documentation

Read-In and Clean the Canada Domestic Substance List

Description

This function reads-in and automatically cleans the Canada Domestic Substance List.

Usage

read_ca_dsl(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 .xlsx file has to be manually downloaded from the following website:

* https://pollution-waste.canada.ca/substances-search/Substance?lang=en

Value

Returns a data frame.

Author(s)

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

Examples

## Not run: 
path <- "Domestic Substances List (DSL).xlsx"

dsl <- read_ca_dsl(path)

## End(Not run)

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