This function imports and cleans raw toxic release data,
returning a single SpatVector
(points) object for the selected year
.
Usage
process_tri(
path = NULL,
year = 2018,
variables = c(1, 13, 12, 14, 20, 34, 36, 47, 48, 49),
extent = NULL,
...
)
Note
Visit TRI Data and Tools to view the available years and variables.
Examples
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
if (FALSE) { # \dontrun{
tri <- process_tri(
path = "./data",
year = 2020,
variables = c(1, 13, 12, 14, 20, 34, 36, 47, 48, 49)
)
} # }