powered by
British Columbia Natural Resource (NR) Districts
nr_districts(class = "sf", ask = interactive(), force = FALSE)
what class you want the object in? "sf" (default) or "sp".
"sf"
"sp"
Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().
Should you force download the data?
The spatial layer of nr_districts in the desired class
nr_districts
# NOT RUN { my_layer <- nr_districts() my_layer_sp <- nr_districts(class = 'sp') # } # NOT RUN { # }
Run the code above in your browser using DataLab