Map CTSI Study IDs to Project IDs
Source:R/get_ctsi_study_id_to_project_id_map.R
get_ctsi_study_id_to_project_id_map.Rd
This function generates a mapping between CTSI study IDs and project IDs from invoice_line_item and REDCap Service Request project. It filters invoice line items for service type codes 1 and 2, ensuring CTSI study IDs are present, and collects distinct pairs of project IDs and CTSI study IDs.
Arguments
- service_requests
A data frame of service requests, REDCap Service Request PID 1414.
- rcc_billing_conn
A connection to REDCap billing database.
connect_to_rcc_billing_db