Skip to content
/ fyr Public

Analysis of data from NPR and KPR

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

fyrtaarn/fyr

Repository files navigation

fyr

Intro

Register data from Norsk pasientregister (NPR) and Kommunalt pasient- og brukerregister (KPR) contain information on accidents and injuries in Norway. Nevertheless, merging these two data sources is not a straightforward process. This package helps to mitigate this challenge.

Installation

To install fyr package can be done as follows:

if(!require(pak)) install.packages("pak")
pak::pkg_install("fyrtaarn/fyr")

Usage

To count injury cases, use function count_case().

dt <- count_case(
  d,
  period = 0,
  id = "lopenr",
  date.col = "innDato",
  acute = FALSE,
  days = 0,
  diag.col = "hoveddiagnoser"
)

See under References for other functions.

About

Analysis of data from NPR and KPR

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages