add_db_directory: Add DB Directory

View source: R/param_funcs.R

add_db_directoryR Documentation

Add DB Directory

Description

Adds a directory for a small DB and creates an entry in the db build status log

Usage

add_db_directory(
  project_name,
  base_path = "/Shared/AML/small_dbs",
  sources = c("ccae", "mdcr", "medicaid"),
  years = 1:21,
  medicaid_years = 14:18,
  param_path = "/Shared/AML/params"
)

Arguments

project_name

a name for the project. This should also correspond to a disease group in the codeBuildr package

base_path

a path of where to build the db

sources

the sources to pull data from

years

the years to pull data for

medicaid_years

the years of medicaid data to pull from

param_path

the path to the parameter folder


aarmiller/dbBuildr documentation built on Jan. 29, 2024, 5:36 a.m.