Skip to contents

Assemble line items for service requests billing

Usage

get_service_request_line_items(service_requests, rc_billing_conn, rc_conn)

Arguments

service_requests

A data frame of service requests, REDCap Service Request PID 1414.

rc_billing_conn

A connection to REDCap billing database containing an invoice_line_items table. connect_to_rcc_billing_db

rc_conn

A connection to REDCap database. connect_to_redcap_db

Value

A data frame of line items for service requests billing.

Examples

if (FALSE) { # \dontrun{
line_items <- get_service_request_line_items(service_requests, rc_billing_conn, rc_conn)
} # }