Reference prices: lookups by domain/category/unit & years (table vs single value)"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.width = 7, fig.height = 4.2,
  dpi = 120
)
library(tatooheene)
library(dplyr)
library(tidyr)
library(lifecycle)

What this vignette covers

The function is r lifecycle::badge("experimental"). Column names reflect the CBS table embedded in df_ref_prices.

The underlying data

df_ref_prices %>%
  head()

Quick starts

1) Default: all filters = "all" -> table of all reference prices over all years

nl_ref_prices()

2) Specific year* & unit -> single value

nl_ref_prices(year = 2022, unit = "Emergency care")

3) Years values for a range of years

nl_ref_prices(year = 2022:2024, category = "Nursing")

4) Multiple selections return multiple columns

# nl_ref_prices(
#   year     = 2024,
#   category = "Nursing",
#   unit     = c("Nursing day excluding personnel costs, hospital",
#                "Nursing day including personnel costs, hospital")
# )

Error messages you might see



Try the tatooheene package in your browser

Any scripts or data that you put into this service are public.

tatooheene documentation built on Dec. 15, 2025, 5:06 p.m.