List DDB institution sectors
Usage
ddb_institution_sectors(safe = TRUE, refresh = FALSE)
Arguments
- safe
Logical; if TRUE (default), apply rate-limiting and cache
GET responses to tools::R_user_dir("bunddev", "cache").
- refresh
Logical; if TRUE, ignore cached responses and re-fetch
from the API (default FALSE).
Value
A tibble with one row per sector and columns:
- value
Character. Sector name.
- count
Integer. Number of institutions in sector.
Falls back to a one-row tibble with list-column response when the
API returns a non-homogeneous payload.
Details
Returns institution sector metadata.
Requires the DDB API key.
Examples
if (FALSE) { # \dontrun{
ddb_institution_sectors()
} # }