The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

heaven

heaven provides fast, memory-conscious tools for preparing large Danish administrative and health registry datasets. It was developed for analysis in the secure research environment at Statistics Denmark and uses data.table throughout its core workflows.

The package includes tools for:

Installation

Until the package is released on CRAN, install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("tagteam/heaven")

Example

library(heaven)
library(data.table)

set.seed(7)
population <- simPop(1000)
population[]

Most functions accept or return data.table objects. Because data.table can modify objects by reference, use data.table::copy() before a call when the original object must remain unchanged.

The SAS import helpers require access to a local or remote SAS installation. The Parquet viewer uses the optional arrow and dplyr packages.

Documentation and support

See vignette("R_on_DST", package = "heaven") for an introduction to working with large datasets at Statistics Denmark. Report bugs or request features at https://github.com/tagteam/heaven/issues.

License

GPL (>= 3)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.