nl_pat_fam_prices: A function to download the Patient & Family Reference prices...

View source: R/nl_pat_fam_prices.R

nl_pat_fam_pricesR Documentation

A function to download the Patient & Family Reference prices of the Dutch Costing Manual for one or multiple years

Description

[Experimental] This function downloads the Patient & Family Reference prices of the Dutch Costing Manual for one or multiple years. The prices are available in Euro (EUR) or International Dollar (INT$).

Usage

nl_pat_fam_prices(
  year = "all",
  category = "all",
  unit = "all",
  currency = c("EUR", "INT$")
)

Arguments

year

The year of which the reference price should be downloaded, multiple years are possible, default is the whole dataset (year = "all")

category

The category of prices that should be included (one or more categories), default is including all categories

unit

The reference price that should be included (one or multiple reference prices), default is including the whole data frame

currency

The currency of the output of the prices. A decision can be made between EUR and INT$, the default is EUR.

Value

A dataframe or value with the Patient & Family Reference price(s) of the Dutch Costing Manual for the specified years

Examples

# Example usage of the nl_pat_fam_prices function
# Calculate for 2023 with the category Transportation and the unit Car, cost per kilometer in EURO
nl_pat_fam_prices(year = "2022", category = "Transportation", unit = "Car, cost per kilometer")

# Calculate for year 2022 and 2023 the unit Car, cost per kilometer in EURO
nl_pat_fam_prices(year = "all", unit = "Car, cost per kilometer")

# Calculate for the year 2022 with the category Transportation in INT$
nl_pat_fam_prices(year = "2022", category = "Transportation", currency = "INT$")


tatooheene documentation built on April 3, 2025, 7:11 p.m.