get_collapse_enrollment: Get collapsed enrollment data from one specific multiple...

Description Usage Arguments Value

Description

Get collapsed enrollment data from one specific multiple "enrollment_detail" table

Usage

1
2
3
4
5
6
7
get_collapse_enrollment(
  table,
  enrolid_list,
  collect_n = Inf,
  vars = c("egeoloc", "msa", "plantyp", "indstry"),
  db_path
)

Arguments

table

A tibble with a single row containing the specific source (i.e. ccae or mdcr) and year to access

enrolid_list

A list of enrolids for which enrollment data will be collected

collect_n

The number of observations to return

vars

Vector of specific variables of interest in the "enrollees" tables (e.g. c("egeoloc", "msa", "plantyp" ,"indstry"))

db_path

Path to the database

Value

A tibble with information on each enrolid in enrolid_list. The number of columns in the tibble depends on the number of vars selected


aarmiller/delayDX documentation built on July 11, 2021, 4:01 p.m.