get_proc_df: Get procedure data for animals within date ranges.

Description Usage Arguments Value

View source: R/get_procs.R

Description

Get procedure data for animals within date ranges.

Usage

1
get_proc_df(conn, ranges)

Arguments

conn

database connection object

ranges

has the list of animals with corresponding date ranges.

Value

A dataframe with admission and procedure data with user name (user_n), and entry_date_tm of animals for the date range specified.

An example of how to construct the ranges list follows:

ranges <- list(ids = c(" 12345", "1X1234"), dates = list(c("1/2/2014", "12/30/2014"), c("6/07/2010", "6/08/2017")))


rmsharp/animalr documentation built on March 10, 2021, 1:12 p.m.