query_tests: Query TSTs, QFTs, and CXRs from TBdb.

Description Usage Arguments Value Examples

View source: R/query_tests.r

Description

This function provides a standardized method for querying common diagnostics - TSTs, QFTs, and CXRs including date and result.

Usage

1
query_tests(start_date, stop_date = Sys.Date())

Arguments

start_date

The first Date on which to count patients

stop_date

The last Date on which to count patients

Value

The number of patients seen in the indicated period.

Examples

1
2
3
# Number of patients seen in the last thirty days
count_patients(start_date = Sys.Date() - 30,
               stop_date = Sys.Date())

mmparker/tbdbaid documentation built on May 23, 2019, 5:05 a.m.