Skip to content

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages