
<!-- README.md is generated from README.Rmd. Please edit that file. -->

# SCDB <a href="https://ssi-dk.github.io/SCDB/"><img src="man/figures/logo.png" align="right" height="138" alt="SCDB website" /></a>

<!-- badges: start -->

[![CRAN
status](https://www.r-pkg.org/badges/version/SCDB)](https://CRAN.R-project.org/package=SCDB)
[![CI
tests](https://github.com/ssi-dk/SCDB/actions/workflows/all-workflows.yaml/badge.svg)](https://github.com/ssi-dk/SCDB/actions/workflows/all-workflows.yaml)
[![codecov](https://codecov.io/gh/ssi-dk/SCDB/branch/main/graph/badge.svg)](https://app.codecov.io/gh/ssi-dk/SCDB)

<!-- badges: end -->

## Overview

`SCDB` is a package for easily maintaining and updating data with a
slowly changing dimension. More specifically, the package facilitates
type-2 history for data warehouses and provide a number of
quality-of-life improvements for working with SQL databases within R.

To better understand what a slowly changing dimension is and how and
this packages provides it, see `vignette("slowly-changing-dimension")`.

## Installation

``` r
# Install SCDB from CRAN:
install.packages("SCDB")

# Alternatively, install the development version from github:
# install.packages("pak")
pak::pak("ssi-dk/SCDB")
```

## Usage

For basic usage examples, see `vignette("SCDB")`.
