build_tm: Build longitudinal timemap from small db

build_tmR Documentation

Build longitudinal timemap from small db

Description

This function makes a time_map from the inpatient and outpatient visit keys, contained in a small database. IF keys are not found in the database, optional arguments allow keys to be generated temporarily (NOTE: this function cannot be used to permanently add keys to the database, to permanently add keys use, 'add_time_map_keys()').

Usage

build_tm(db_con)

Arguments

db_con

connection to the small database

Value

a tibble containing the timemap


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