get_enroll_data_parallel: Get enrollment data from one specific multiple "enrollees"...

get_enroll_data_parallelR Documentation

Get enrollment data from one specific multiple "enrollees" table (in parallel)

Description

Get enrollment data from one specific multiple "enrollees" table (in parallel)

Usage

get_enroll_data_parallel(
  table,
  enrolid_list,
  collect_n = Inf,
  vars = c("dobyr", "sex"),
  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("dobyr", "sex"))

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/smallDB documentation built on March 29, 2024, 9:37 a.m.