data-raw/README.md

Data Preparation Directory - data-raw

Folders

➜ tree data-raw
├───cache
├───database
│   ├───CSV
│   └───SQL
├───original
│   └───downloaded
│   └───mockaroo
├───scripts
└───working
    ├───exposures
    ├───industry
    ├───lossruns
    ├───policies
    └───priors

Cache

A cache directory for intermediate caching of long-running data manipulations.

Database

This directory represents the data preparation portion of the final inst/database folder which houses the final utilized database files.

In particular this folder should have:

Scripts

The scripts directory houses all the data preparation R scripts.

Currently the following scripts are used:

Any other scripts are extras and may be ignored.

Original

The original directory houses raw, original data downloaded or brought in from an external source. This data is assumed to be as raw as possible.

Working

The working directory houses data that has been manipulated from the files in the original directory. For example, extracted zips, renamed files, re-formatted tables, etc. The working data is what is actually used when preparing the datasets for use in the package.

Data Lineage: ORIGINAL --> WORKING --> USED

Lossruns

Lossruns to be scrubbed.

Exposures

Exposure Data for various scenarios and coverages.

Industry Data

Prior Working Data



jimbrig/lossrx documentation built on Dec. 20, 2024, 3:46 a.m.