
Load an example SPA site designation record
get_example_spadat2.RdRetrieves information for a single Special Protection Area (SPA) from
the example spalist dataset included with the package.
Value
A tibble containing the matching row(s) from spalist. If the
supplied site_code is not found, an empty tibble is returned.
Details
This function provides convenient access to an example SPA record from the package dataset and is intended for demonstrations, tutorials, and testing workflows.
See also
get_example_spadat1() for retrieving site coordinate information.
Examples
# Load the default example SPA
spa <- get_example_spadat2()
# Load a specific SPA by site code
spa <- get_example_spadat2("UK9004171")
#> Error in dplyr::filter(seabORD::spalist, SITE_CODE == site_code): ℹ In argument: `SITE_CODE == site_code`.
#> Caused by error:
#> ! object 'site_code' not found