Query the enheter registry for entities whose overordnetEnhet
matches the given org number. This traverses the ORGL parent-child
hierarchy (e.g. Stortinget to Riksrevisjonen), which is distinct
from the enhet-to-underenhet relationship.
Usage
brreg_children(org_nr, max_results = 200, type = c("code", "label"))Value
A tibble with one row per child entity. Same column schema
as brreg_search() with registry = "enheter".
See also
brreg_underenheter() for sub-units (BEDR/AAFY),
brreg_entity() for single lookups.
Other tidybrreg entity functions:
brreg_board_summary(),
brreg_download(),
brreg_entity(),
brreg_roles(),
brreg_roles_legal(),
brreg_search(),
brreg_underenheter(),
brreg_update_fields(),
brreg_updates()