The get_shark_options() function retrieves available search options from the SHARK database.
It sends a GET request to the SHARK API and returns the results as a structured named list.
Value
A named list of available search options from the SHARK API.
If unparsed = TRUE, returns the raw JSON structure as a list.
If unparsed = FALSE, returns a simplified list of character or numeric vectors.
Details
This function sends a GET request to the /api/options endpoint of the SHARK API
to retrieve available search filters and options that can be used in SHARK data queries.
See also
get_shark_data() for retrieving actual data from the SHARK API.
https://shark.smhi.se for the SHARK database portal.
