Learn R Programming

klassR (version 1.0.2)

find_dates: 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)

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"

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.