Skip to contents

Convenience wrapper around brreg_search() that queries the underenheter registry filtered by overordnetEnhet. Each Norwegian legal entity that operates a business has one or more sub-units (BEDR/AAFY) representing physical locations or activities.

Usage

brreg_underenheter(org_nr, max_results = 200, type = c("code", "label"))

Arguments

org_nr

Character. 9-digit organization number of the parent entity (hovedenhet).

max_results

Integer. Maximum sub-units to return (default 200).

type

One of "code" (default) or "label".

Value

A tibble with one row per sub-unit. Same column schema as brreg_search() with registry = "underenheter".

See also

Examples

if (FALSE) { # interactive() && curl::has_internet()
brreg_underenheter("923609016")
}