dpd_load: Loads the DPD

Description Usage Arguments Value

View source: R/drugproductdatabase.R

Description

Loads the entire Drug Product Database from a cached copy stored on the filesystem. All tables are returned in a named list, and all sections (current, inactive, etc) are merged on a per-table bases.

Usage

1
dpd_load(data_dir = "data/", download = T)

Arguments

data_dir

target directory where extract is stored.

download

TRUE if a fresh copy of the extract should be downloaded before being loaded.

Value

A named list of each table as a data.frame


pipitone/rdrugshortages documentation built on May 5, 2020, 3:41 a.m.