get_facility_procs: Get Procedure visits from facility tables for a set of...

View source: R/pull_tables_get.R

get_facility_procsR Documentation

Get Procedure visits from facility tables for a set of procedure codes

Description

This function collects dates for procedures

Usage

get_facility_procs(
  source,
  year,
  proc_codes,
  tbl_vars = NULL,
  db_con,
  collect_n = Inf
)

Arguments

source

ccae, mdcr or medicaid

year

year

proc_codes

vector of procedure codes to pull visits for

tbl_vars

names of variables to pull from corresponding tables. If NULL date and enrolid will be collected

db_con

a connection to a database,

collect_n

the number of rows to collect


aarmiller/smallDB documentation built on March 29, 2024, 9:37 a.m.