find_dates: For a given Klass code, produce a table of dates describing...

View source: R/UpdateKlass-graph-build.R

find_datesR Documentation

For a given Klass code, produce a table of dates describing the valid-from and valid-to dates of all versions of the code

Description

For a given Klass code, produce a table of dates describing the valid-from and valid-to dates of all versions of the code

Usage

find_dates(code, api_alle, api_endringer)

Arguments

code

A Klass code

api_alle

A table of all codes in the classification. See example.

api_endringer

A table of all changes in the classification See example.

Value

A data.frame with number of rows equal to the number of variants of the combination of code and name, determined by the changes the code has been involved in. The data.frame has two columns:

  • "validFrom"

  • "validTo"


klassR documentation built on April 4, 2025, 4:16 a.m.

Related to find_dates in klassR...