read_nz_ioc | R Documentation |
This function reads-in and automatically cleans the New Zealand Inventory of Chemicals.
read_nz_ioc(path, clean_non_ascii = FALSE)
path |
(Character) The path to the XLSX file. |
clean_non_ascii |
(Logical) Should the non-ASCII characters be
reasonably converted? Defaults to |
This function reads-in and automatically cleans the New Zealand Inventory of Chemicals.
Returns a data frame.
Tested with the December 2021 version.
Raoul Wolf (https://github.com/RaoulWolf/)
## Not run: download.file( url = paste( "https://www.epa.govt.nz/assets/Uploads/Documents/Hazardous-Substances", "Guidance/NZIOC_Full_Spreadsheet_December_2021.xlsx", sep = "/" ), destfile = "NZIOC_Full_Spreadsheet_December_2021.xlsx" ) path <- "NZIOC_Full_Spreadsheet_December_2021.xlsx" ioc <- read_ioc(path) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.