diff --git a/404.html b/404.html index f8a57bb..e1f417f 100644 --- a/404.html +++ b/404.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/LICENSE.html b/LICENSE.html index 14f0c5a..f228b33 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/billable_candidates.html b/articles/billable_candidates.html index 30f2cef..c5bc7e9 100644 --- a/articles/billable_candidates.html +++ b/articles/billable_candidates.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/billing_for_support.html b/articles/billing_for_support.html index 1ab8b92..ffe7aef 100644 --- a/articles/billing_for_support.html +++ b/articles/billing_for_support.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/cleanup_bad_email_addresses.html b/articles/cleanup_bad_email_addresses.html index d1dc43e..ebef3ad 100644 --- a/articles/cleanup_bad_email_addresses.html +++ b/articles/cleanup_bad_email_addresses.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/cleanup_bad_project_pi_email_addresses.html b/articles/cleanup_bad_project_pi_email_addresses.html index 003654b..600b261 100644 --- a/articles/cleanup_bad_project_pi_email_addresses.html +++ b/articles/cleanup_bad_project_pi_email_addresses.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/cleanup_project_ownership_table.html b/articles/cleanup_project_ownership_table.html index 7f3ca69..1d398b6 100644 --- a/articles/cleanup_project_ownership_table.html +++ b/articles/cleanup_project_ownership_table.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/create_and_send_new_invoice_line_items.html b/articles/create_and_send_new_invoice_line_items.html index 297d83e..a169c37 100644 --- a/articles/create_and_send_new_invoice_line_items.html +++ b/articles/create_and_send_new_invoice_line_items.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/delete_abandoned_projects.html b/articles/delete_abandoned_projects.html index 626d1a9..f767e78 100644 --- a/articles/delete_abandoned_projects.html +++ b/articles/delete_abandoned_projects.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/index.html b/articles/index.html index 9e19b1f..ddd741b 100644 --- a/articles/index.html +++ b/articles/index.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/novel_concepts.html b/articles/novel_concepts.html index 433b5b8..115e7a4 100644 --- a/articles/novel_concepts.html +++ b/articles/novel_concepts.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/remind_owners_to_review_ownership.html b/articles/remind_owners_to_review_ownership.html index 0a49c9f..770b388 100644 --- a/articles/remind_owners_to_review_ownership.html +++ b/articles/remind_owners_to_review_ownership.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/request_correction_of_bad_ownership_data.html b/articles/request_correction_of_bad_ownership_data.html index ada7b6a..0027cca 100644 --- a/articles/request_correction_of_bad_ownership_data.html +++ b/articles/request_correction_of_bad_ownership_data.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/revenue_status_and_projections.html b/articles/revenue_status_and_projections.html index 5bf7d6c..a0c746e 100644 --- a/articles/revenue_status_and_projections.html +++ b/articles/revenue_status_and_projections.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/sequester_orphans.html b/articles/sequester_orphans.html index a107243..0811c6d 100644 --- a/articles/sequester_orphans.html +++ b/articles/sequester_orphans.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/sequester_unpaid_projects.html b/articles/sequester_unpaid_projects.html index f84ec40..65b5072 100644 --- a/articles/sequester_unpaid_projects.html +++ b/articles/sequester_unpaid_projects.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/update_free_support_time_remaining.html b/articles/update_free_support_time_remaining.html index 1339d47..eef1b44 100644 --- a/articles/update_free_support_time_remaining.html +++ b/articles/update_free_support_time_remaining.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/update_invoice_line_items_with_invoicing_details.html b/articles/update_invoice_line_items_with_invoicing_details.html index b7dad61..374122c 100644 --- a/articles/update_invoice_line_items_with_invoicing_details.html +++ b/articles/update_invoice_line_items_with_invoicing_details.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/update_probono_service_request_records.html b/articles/update_probono_service_request_records.html index 1ad8ab4..c2fd9e8 100644 --- a/articles/update_probono_service_request_records.html +++ b/articles/update_probono_service_request_records.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/update_project_billable_attribute.html b/articles/update_project_billable_attribute.html index 80f63a7..e49df71 100644 --- a/articles/update_project_billable_attribute.html +++ b/articles/update_project_billable_attribute.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/warn_owners_of_impending_bill.html b/articles/warn_owners_of_impending_bill.html index c869629..950ac34 100644 --- a/articles/warn_owners_of_impending_bill.html +++ b/articles/warn_owners_of_impending_bill.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/articles/when_jobs_run.html b/articles/when_jobs_run.html index 2f2b8d1..7d6443b 100644 --- a/articles/when_jobs_run.html +++ b/articles/when_jobs_run.html @@ -20,7 +20,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/authors.html b/authors.html index bd7f961..f7707b1 100644 --- a/authors.html +++ b/authors.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 @@ -91,13 +91,13 @@ Citation Chase P, James-Woodley L, Chesney K, Bentz M, Kamma S (2024). rcc.billing: REDCap Automated Billing. -R package version 1.43.0, https://ctsit.github.io/rcc.billing/. +R package version 1.43.1, https://ctsit.github.io/rcc.billing/. @Manual{, title = {rcc.billing: REDCap Automated Billing}, author = {Philip Chase and Laurence James-Woodley and Kyle Chesney and Michael Bentz and Sai Pavan Kamma}, year = {2024}, - note = {R package version 1.43.0}, + note = {R package version 1.43.1}, url = {https://ctsit.github.io/rcc.billing/}, } diff --git a/index.html b/index.html index fad3ef6..83527f6 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/news/index.html b/news/index.html index 6a7c7bc..7fa4c5b 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 @@ -53,6 +53,10 @@ Changelog + +rcc.billing 1.43.1 (released 2024-09-04) +Deselect term_date_is_accurate in project functions (@pbchase) + rcc.billing 1.43.0 (released 2024-09-04) Fix doc formatting for service_request_time() (@pbchase) diff --git a/pkgdown.yml b/pkgdown.yml index e26febc..4f67523 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -21,7 +21,7 @@ articles: update_project_billable_attribute: update_project_billable_attribute.html warn_owners_of_impending_bill: warn_owners_of_impending_bill.html when_jobs_run: when_jobs_run.html -last_built: 2024-09-04T21:16Z +last_built: 2024-09-04T21:47Z urls: reference: https://ctsit.github.io/rcc.billing/reference article: https://ctsit.github.io/rcc.billing/articles diff --git a/reference/cleanup_project_ownership_test_data.html b/reference/cleanup_project_ownership_test_data.html index 7a9ce1d..cacf890 100644 --- a/reference/cleanup_project_ownership_test_data.html +++ b/reference/cleanup_project_ownership_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/connect_to_rcc_billing_db.html b/reference/connect_to_rcc_billing_db.html index ccc215f..78136c5 100644 --- a/reference/connect_to_rcc_billing_db.html +++ b/reference/connect_to_rcc_billing_db.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/convert_schema_to_sqlite.html b/reference/convert_schema_to_sqlite.html index 21c35df..52a4539 100644 --- a/reference/convert_schema_to_sqlite.html +++ b/reference/convert_schema_to_sqlite.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/create_and_load_test_table.html b/reference/create_and_load_test_table.html index be387c6..a84be09 100644 --- a/reference/create_and_load_test_table.html +++ b/reference/create_and_load_test_table.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/create_table.html b/reference/create_table.html index 117164c..50980cd 100644 --- a/reference/create_table.html +++ b/reference/create_table.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/csbt_column_names.html b/reference/csbt_column_names.html index 48216bb..111b0aa 100644 --- a/reference/csbt_column_names.html +++ b/reference/csbt_column_names.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/ctsit_staff.html b/reference/ctsit_staff.html index 4d2bc96..6f79ab8 100644 --- a/reference/ctsit_staff.html +++ b/reference/ctsit_staff.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/ctsit_staff_employment_periods.html b/reference/ctsit_staff_employment_periods.html index b87a4ca..500bdb8 100644 --- a/reference/ctsit_staff_employment_periods.html +++ b/reference/ctsit_staff_employment_periods.html @@ -13,7 +13,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/draft_communication_record_from_line_item.html b/reference/draft_communication_record_from_line_item.html index 6758d50..58c5925 100644 --- a/reference/draft_communication_record_from_line_item.html +++ b/reference/draft_communication_record_from_line_item.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fiscal_years.html b/reference/fiscal_years.html index 4c1ccb4..20d2ec2 100644 --- a/reference/fiscal_years.html +++ b/reference/fiscal_years.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fix_data_in_invoice_line_item.html b/reference/fix_data_in_invoice_line_item.html index e67f995..8139c23 100644 --- a/reference/fix_data_in_invoice_line_item.html +++ b/reference/fix_data_in_invoice_line_item.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fix_data_in_invoice_line_item_communication.html b/reference/fix_data_in_invoice_line_item_communication.html index 7bb2ea3..eeb7e76 100644 --- a/reference/fix_data_in_invoice_line_item_communication.html +++ b/reference/fix_data_in_invoice_line_item_communication.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fix_data_in_redcap_log_event.html b/reference/fix_data_in_redcap_log_event.html index 3ab9571..e3d0413 100644 --- a/reference/fix_data_in_redcap_log_event.html +++ b/reference/fix_data_in_redcap_log_event.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fix_data_in_redcap_projects.html b/reference/fix_data_in_redcap_projects.html index 73f867c..43d5750 100644 --- a/reference/fix_data_in_redcap_projects.html +++ b/reference/fix_data_in_redcap_projects.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/fix_data_in_redcap_user_information.html b/reference/fix_data_in_redcap_user_information.html index e67c1b5..e7ac7b4 100644 --- a/reference/fix_data_in_redcap_user_information.html +++ b/reference/fix_data_in_redcap_user_information.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_bad_emails_from_log.html b/reference/get_bad_emails_from_log.html index 0a38543..105f9ed 100644 --- a/reference/get_bad_emails_from_log.html +++ b/reference/get_bad_emails_from_log.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_billable_candidates.html b/reference/get_billable_candidates.html index 7f3bf8d..9c87432 100644 --- a/reference/get_billable_candidates.html +++ b/reference/get_billable_candidates.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_creators.html b/reference/get_creators.html index 61c365c..87913e0 100644 --- a/reference/get_creators.html +++ b/reference/get_creators.html @@ -11,7 +11,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_ctsi_study_id_to_project_id_map.html b/reference/get_ctsi_study_id_to_project_id_map.html index 9fc2660..78f55e5 100644 --- a/reference/get_ctsi_study_id_to_project_id_map.html +++ b/reference/get_ctsi_study_id_to_project_id_map.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_last_project_user.html b/reference/get_last_project_user.html index 4746b14..790f9ac 100644 --- a/reference/get_last_project_user.html +++ b/reference/get_last_project_user.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_new_ctsi_study_ids.html b/reference/get_new_ctsi_study_ids.html index 3969fdc..4cd321f 100644 --- a/reference/get_new_ctsi_study_ids.html +++ b/reference/get_new_ctsi_study_ids.html @@ -11,7 +11,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_new_project_invoice_line_items.html b/reference/get_new_project_invoice_line_items.html index 17c68b9..4f81065 100644 --- a/reference/get_new_project_invoice_line_items.html +++ b/reference/get_new_project_invoice_line_items.html @@ -11,7 +11,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_new_project_service_instances.html b/reference/get_new_project_service_instances.html index ad42d55..4ed47a0 100644 --- a/reference/get_new_project_service_instances.html +++ b/reference/get_new_project_service_instances.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_orphaned_projects.html b/reference/get_orphaned_projects.html index 6d96586..00b801a 100644 --- a/reference/get_orphaned_projects.html +++ b/reference/get_orphaned_projects.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_privileged_user.html b/reference/get_privileged_user.html index 64b5a91..33d4f28 100644 --- a/reference/get_privileged_user.html +++ b/reference/get_privileged_user.html @@ -13,7 +13,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_probono_service_request_updates.html b/reference/get_probono_service_request_updates.html index b6d3096..5ff062a 100644 --- a/reference/get_probono_service_request_updates.html +++ b/reference/get_probono_service_request_updates.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_project_details_for_billing.html b/reference/get_project_details_for_billing.html index f9c1376..a6606cc 100644 --- a/reference/get_project_details_for_billing.html +++ b/reference/get_project_details_for_billing.html @@ -19,7 +19,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_project_flags.html b/reference/get_project_flags.html index 5d4ad16..a7584c2 100644 --- a/reference/get_project_flags.html +++ b/reference/get_project_flags.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_project_pis.html b/reference/get_project_pis.html index 1295d0c..f8fccef 100644 --- a/reference/get_project_pis.html +++ b/reference/get_project_pis.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_projects_needing_new_owners.html b/reference/get_projects_needing_new_owners.html index b00c34f..72ad038 100644 --- a/reference/get_projects_needing_new_owners.html +++ b/reference/get_projects_needing_new_owners.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_projects_without_owners.html b/reference/get_projects_without_owners.html index 3db6f35..e2cef02 100644 --- a/reference/get_projects_without_owners.html +++ b/reference/get_projects_without_owners.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_reassigned_line_items.html b/reference/get_reassigned_line_items.html index fb1e862..8a84b3a 100644 --- a/reference/get_reassigned_line_items.html +++ b/reference/get_reassigned_line_items.html @@ -15,7 +15,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_research_projects_not_using_viable_pi_data.html b/reference/get_research_projects_not_using_viable_pi_data.html index 897f877..766564e 100644 --- a/reference/get_research_projects_not_using_viable_pi_data.html +++ b/reference/get_research_projects_not_using_viable_pi_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_service_request_line_items.html b/reference/get_service_request_line_items.html index abf75c9..23cb612 100644 --- a/reference/get_service_request_line_items.html +++ b/reference/get_service_request_line_items.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_service_request_lines.html b/reference/get_service_request_lines.html index f4601ed..c09d5a8 100644 --- a/reference/get_service_request_lines.html +++ b/reference/get_service_request_lines.html @@ -13,7 +13,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_target_projects_to_invoice.html b/reference/get_target_projects_to_invoice.html index 3f14f7b..5e3ac7f 100644 --- a/reference/get_target_projects_to_invoice.html +++ b/reference/get_target_projects_to_invoice.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_unpaid_redcap_prod_per_project_line_items.html b/reference/get_unpaid_redcap_prod_per_project_line_items.html index c7597e3..062b582 100644 --- a/reference/get_unpaid_redcap_prod_per_project_line_items.html +++ b/reference/get_unpaid_redcap_prod_per_project_line_items.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_user_rights_and_info.html b/reference/get_user_rights_and_info.html index b843da4..39dbd41 100644 --- a/reference/get_user_rights_and_info.html +++ b/reference/get_user_rights_and_info.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/get_user_rights_and_info_v1.html b/reference/get_user_rights_and_info_v1.html index 13dd58b..43268f7 100644 --- a/reference/get_user_rights_and_info_v1.html +++ b/reference/get_user_rights_and_info_v1.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/index.html b/reference/index.html index bb0398a..4b63db3 100644 --- a/reference/index.html +++ b/reference/index.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/invoice_line_item_communications_test_data.html b/reference/invoice_line_item_communications_test_data.html index c99cda4..aae4e2d 100644 --- a/reference/invoice_line_item_communications_test_data.html +++ b/reference/invoice_line_item_communications_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/invoice_line_item_df_from.html b/reference/invoice_line_item_df_from.html index 6d26409..9c09d84 100644 --- a/reference/invoice_line_item_df_from.html +++ b/reference/invoice_line_item_df_from.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/invoice_line_item_reasons.html b/reference/invoice_line_item_reasons.html index ec09711..ed38f19 100644 --- a/reference/invoice_line_item_reasons.html +++ b/reference/invoice_line_item_reasons.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/invoice_line_item_statuses.html b/reference/invoice_line_item_statuses.html index 6dcafcc..6d24958 100644 --- a/reference/invoice_line_item_statuses.html +++ b/reference/invoice_line_item_statuses.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/invoice_line_item_test_data.html b/reference/invoice_line_item_test_data.html index 643232a..0735251 100644 --- a/reference/invoice_line_item_test_data.html +++ b/reference/invoice_line_item_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/log_event_tables.html b/reference/log_event_tables.html index 94e07c7..e59d477 100644 --- a/reference/log_event_tables.html +++ b/reference/log_event_tables.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/mutate_columns_to_posixct.html b/reference/mutate_columns_to_posixct.html index f3c7693..e50b969 100644 --- a/reference/mutate_columns_to_posixct.html +++ b/reference/mutate_columns_to_posixct.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/mysql_schema_to_sqlite.html b/reference/mysql_schema_to_sqlite.html index 1352e65..b74ce42 100644 --- a/reference/mysql_schema_to_sqlite.html +++ b/reference/mysql_schema_to_sqlite.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/next_n_months.html b/reference/next_n_months.html index 6c4d274..da5aef3 100644 --- a/reference/next_n_months.html +++ b/reference/next_n_months.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/one_deleted_project_record.html b/reference/one_deleted_project_record.html index 0489e9e..80076fe 100644 --- a/reference/one_deleted_project_record.html +++ b/reference/one_deleted_project_record.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/populate_table.html b/reference/populate_table.html index 7367bf8..8a4d3c9 100644 --- a/reference/populate_table.html +++ b/reference/populate_table.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/previous_month.html b/reference/previous_month.html index a4b9a3d..020c6e8 100644 --- a/reference/previous_month.html +++ b/reference/previous_month.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/previous_n_months.html b/reference/previous_n_months.html index cdb4f53..771a2f5 100644 --- a/reference/previous_n_months.html +++ b/reference/previous_n_months.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/projects_table_fragment.html b/reference/projects_table_fragment.html index f15a6d7..ad00914 100644 --- a/reference/projects_table_fragment.html +++ b/reference/projects_table_fragment.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/redcap_entity_project_ownership_test_data.html b/reference/redcap_entity_project_ownership_test_data.html index 56d1d84..efbb1af 100644 --- a/reference/redcap_entity_project_ownership_test_data.html +++ b/reference/redcap_entity_project_ownership_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/redcap_log_event_test_data.html b/reference/redcap_log_event_test_data.html index 28e5e45..d0d2c08 100644 --- a/reference/redcap_log_event_test_data.html +++ b/reference/redcap_log_event_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/redcap_projects_test_data.html b/reference/redcap_projects_test_data.html index f14d528..78a4348 100644 --- a/reference/redcap_projects_test_data.html +++ b/reference/redcap_projects_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/redcap_rights_test_data.html b/reference/redcap_rights_test_data.html index 6200323..a83b1f0 100644 --- a/reference/redcap_rights_test_data.html +++ b/reference/redcap_rights_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/redcap_user_information_test_data.html b/reference/redcap_user_information_test_data.html index 15a6ef5..63d9a45 100644 --- a/reference/redcap_user_information_test_data.html +++ b/reference/redcap_user_information_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/sequester_projects.html b/reference/sequester_projects.html index 2a9189c..8394f97 100644 --- a/reference/sequester_projects.html +++ b/reference/sequester_projects.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/service_instance_test_data.html b/reference/service_instance_test_data.html index 621402d..8bbae75 100644 --- a/reference/service_instance_test_data.html +++ b/reference/service_instance_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/service_request_time.html b/reference/service_request_time.html index b607c72..f0cf6f3 100644 --- a/reference/service_request_time.html +++ b/reference/service_request_time.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/service_type_test_data.html b/reference/service_type_test_data.html index 36e5679..6e6f186 100644 --- a/reference/service_type_test_data.html +++ b/reference/service_type_test_data.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/transform_invoice_line_items_for_csbt.html b/reference/transform_invoice_line_items_for_csbt.html index f30e065..cc62966 100644 --- a/reference/transform_invoice_line_items_for_csbt.html +++ b/reference/transform_invoice_line_items_for_csbt.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/transform_invoice_line_items_for_ctsit.html b/reference/transform_invoice_line_items_for_ctsit.html index e5d8f89..fef9583 100644 --- a/reference/transform_invoice_line_items_for_ctsit.html +++ b/reference/transform_invoice_line_items_for_ctsit.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/update_billable_by_ownership.html b/reference/update_billable_by_ownership.html index 49a8b5f..360ccac 100644 --- a/reference/update_billable_by_ownership.html +++ b/reference/update_billable_by_ownership.html @@ -9,7 +9,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/reference/update_billable_if_owned_by_ctsit.html b/reference/update_billable_if_owned_by_ctsit.html index 9172aac..12d0c64 100644 --- a/reference/update_billable_if_owned_by_ctsit.html +++ b/reference/update_billable_if_owned_by_ctsit.html @@ -7,7 +7,7 @@ rcc.billing - 1.43.0 + 1.43.1 diff --git a/search.json b/search.json index 7aa5490..3aa0a34 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"Apache License","title":"Apache License","text":"Version 2.0, January 2004 ","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_1-definitions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"1. Definitions","title":"Apache License","text":"“License” shall mean terms conditions use, reproduction, distribution defined Sections 1 9 document. “Licensor” shall mean copyright owner entity authorized copyright owner granting License. “Legal Entity” shall mean union acting entity entities control, controlled , common control entity. purposes definition, “control” means () power, direct indirect, cause direction management entity, whether contract otherwise, (ii) ownership fifty percent (50%) outstanding shares, (iii) beneficial ownership entity. “” (“”) shall mean individual Legal Entity exercising permissions granted License. “Source” form shall mean preferred form making modifications, including limited software source code, documentation source, configuration files. “Object” form shall mean form resulting mechanical transformation translation Source form, including limited compiled object code, generated documentation, conversions media types. “Work” shall mean work authorship, whether Source Object form, made available License, indicated copyright notice included attached work (example provided Appendix ). “Derivative Works” shall mean work, whether Source Object form, based (derived ) Work editorial revisions, annotations, elaborations, modifications represent, whole, original work authorship. purposes License, Derivative Works shall include works remain separable , merely link (bind name) interfaces , Work Derivative Works thereof. “Contribution” shall mean work authorship, including original version Work modifications additions Work Derivative Works thereof, intentionally submitted Licensor inclusion Work copyright owner individual Legal Entity authorized submit behalf copyright owner. purposes definition, “submitted” means form electronic, verbal, written communication sent Licensor representatives, including limited communication electronic mailing lists, source code control systems, issue tracking systems managed , behalf , Licensor purpose discussing improving Work, excluding communication conspicuously marked otherwise designated writing copyright owner “Contribution.” “Contributor” shall mean Licensor individual Legal Entity behalf Contribution received Licensor subsequently incorporated within Work.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_2-grant-of-copyright-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"2. Grant of Copyright License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable copyright license reproduce, prepare Derivative Works , publicly display, publicly perform, sublicense, distribute Work Derivative Works Source Object form.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_3-grant-of-patent-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"3. Grant of Patent License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable (except stated section) patent license make, made, use, offer sell, sell, import, otherwise transfer Work, license applies patent claims licensable Contributor necessarily infringed Contribution(s) alone combination Contribution(s) Work Contribution(s) submitted. institute patent litigation entity (including cross-claim counterclaim lawsuit) alleging Work Contribution incorporated within Work constitutes direct contributory patent infringement, patent licenses granted License Work shall terminate date litigation filed.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_4-redistribution","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"4. Redistribution","title":"Apache License","text":"may reproduce distribute copies Work Derivative Works thereof medium, without modifications, Source Object form, provided meet following conditions: () must give recipients Work Derivative Works copy License; (b) must cause modified files carry prominent notices stating changed files; (c) must retain, Source form Derivative Works distribute, copyright, patent, trademark, attribution notices Source form Work, excluding notices pertain part Derivative Works; (d) Work includes “NOTICE” text file part distribution, Derivative Works distribute must include readable copy attribution notices contained within NOTICE file, excluding notices pertain part Derivative Works, least one following places: within NOTICE text file distributed part Derivative Works; within Source form documentation, provided along Derivative Works; , within display generated Derivative Works, wherever third-party notices normally appear. contents NOTICE file informational purposes modify License. may add attribution notices within Derivative Works distribute, alongside addendum NOTICE text Work, provided additional attribution notices construed modifying License. may add copyright statement modifications may provide additional different license terms conditions use, reproduction, distribution modifications, Derivative Works whole, provided use, reproduction, distribution Work otherwise complies conditions stated License.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_5-submission-of-contributions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"5. Submission of Contributions","title":"Apache License","text":"Unless explicitly state otherwise, Contribution intentionally submitted inclusion Work Licensor shall terms conditions License, without additional terms conditions. Notwithstanding , nothing herein shall supersede modify terms separate license agreement may executed Licensor regarding Contributions.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_6-trademarks","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"6. Trademarks","title":"Apache License","text":"License grant permission use trade names, trademarks, service marks, product names Licensor, except required reasonable customary use describing origin Work reproducing content NOTICE file.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_7-disclaimer-of-warranty","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"7. Disclaimer of Warranty","title":"Apache License","text":"Unless required applicable law agreed writing, Licensor provides Work (Contributor provides Contributions) “” BASIS, WITHOUT WARRANTIES CONDITIONS KIND, either express implied, including, without limitation, warranties conditions TITLE, NON-INFRINGEMENT, MERCHANTABILITY, FITNESS PARTICULAR PURPOSE. solely responsible determining appropriateness using redistributing Work assume risks associated exercise permissions License.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_8-limitation-of-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"8. Limitation of Liability","title":"Apache License","text":"event legal theory, whether tort (including negligence), contract, otherwise, unless required applicable law (deliberate grossly negligent acts) agreed writing, shall Contributor liable damages, including direct, indirect, special, incidental, consequential damages character arising result License use inability use Work (including limited damages loss goodwill, work stoppage, computer failure malfunction, commercial damages losses), even Contributor advised possibility damages.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_9-accepting-warranty-or-additional-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"9. Accepting Warranty or Additional Liability","title":"Apache License","text":"redistributing Work Derivative Works thereof, may choose offer, charge fee , acceptance support, warranty, indemnity, liability obligations /rights consistent License. However, accepting obligations, may act behalf sole responsibility, behalf Contributor, agree indemnify, defend, hold Contributor harmless liability incurred , claims asserted , Contributor reason accepting warranty additional liability. END TERMS CONDITIONS","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"appendix-how-to-apply-the-apache-license-to-your-work","dir":"","previous_headings":"","what":"APPENDIX: How to apply the Apache License to your work","title":"Apache License","text":"apply Apache License work, attach following boilerplate notice, fields enclosed brackets [] replaced identifying information. (Don’t include brackets!) text enclosed appropriate comment syntax file format. also recommend file class name description purpose included “printed page” copyright notice easier identification within third-party archives.","code":"Copyright [2022] [University of Florida] Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"background","dir":"Articles","previous_headings":"","what":"Background","title":"Billing for REDCap support work","text":"CTS-long-standing policy charging initial consultations. Typically consultations limited hour. work beyond billed, often wasn’t due overhead billing comparatively small number hours logged. hours made smaller policy billing 1/4 hour. billing disincentives arose work logged one project often spans multiple support requests. quite hard know allowed bill small amount work almost never billed anything. support billing component REDCap automated billing designed manage complexity low cost billing 30 minutes work economic justifiable.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"support-request-system","dir":"Articles","previous_headings":"","what":"Support request system","title":"Billing for REDCap support work","text":"CTS-’s REDCap support request system REDCap project one survey request intake one repeating form logging responses. system existed since Fall 2014. required several small modifications useful billed service, changes straight-forward built REDCap forms. Data access updates also easy use REDCap API .","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"pro-bono-work-and-the-free-consultation","dir":"Articles","previous_headings":"","what":"Pro bono work and the free consultation","title":"Billing for REDCap support work","text":"Managing free consultation required way making billable rate vary. making rate categorical field three choices–current billable rate, old billable rate, $0/hour. rate defaults current rate new response records billable default. REDCap staffers responding request can leave rate -can select $0/hour believe work pro bono. occur work executed wrong first attempt required rework. billing system scheduled script, update_probono_service_request_records.R runs repeatedly business hours determine projects logged hours receive hourly rate adjustment $0/hour. project already hour logged $0/hr, change anything. script distinguish hours marked pro bono hours human marked pro bono.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"communicating-free-support-time-remaining","dir":"Articles","previous_headings":"","what":"Communicating free support time remaining","title":"Billing for REDCap support work","text":"customers need know free support time remaining. CTS-communicates customers using data_driven_project_banner REDCap External module can present banner database query returns record build banner query result. way customers see started using free support time run . make data available data_driven_project_banner, billing system scheduled script, update_free_support_time_remaining.R runs repeatedly business hours copy summary data pro bono hours table, free_support_time_remaining REDCap database. resulting banner looks like : billing policy also communicated every time someone submits support request reminder:","code":"Fee-based services ($130/hour): - Any assistance over the one-hour of free time PER PROJECT (PID). - Assistance with data transformations and data imports. - Project building/configuration services. - Assistance with configuring External Modules. - Assistance/help with using the API. Free services: - 1 hour of user support per project ID (PID). - Account unsuspensions. - Quotes for grant applications. - Project un-sequestration."},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"expanding-the-scope-of-support-billing","dir":"Articles","previous_headings":"","what":"Expanding the scope of support billing","title":"Billing for REDCap support work","text":"Historically, REDCap project build work logged Atlassian Jira system. ’s easy log time system, getting data require yet another interface related data transformations make data conform REDCap Automated Billing system. save effort, REDCap project build work moved Jira REDCap support request system first month automated billing system started managing support requests. reduce labor generating invoices manual exports data JIRA system. projects follow suit 3rd month implementation.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/cleanup_bad_email_addresses.html","id":"inputs","dir":"Articles","previous_headings":"","what":"Inputs","title":"cleanup_bad_email_addresses","text":"redcap database tables: redcap_user_information email stream sender automated messages rcc billing database tables: rcc_job_log get log records email address rejected mail host vivo database tables: WH_UFDIR_PERSON_MDM, WH_GL_ACCT","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/cleanup_bad_email_addresses.html","id":"outputs","dir":"Articles","previous_headings":"","what":"Outputs","title":"cleanup_bad_email_addresses","text":"redcap database tables: redcap_user_information rcc billing tables: rcc_job_log","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/novel_concepts.html","id":"sequestration","dir":"Articles","previous_headings":"","what":"Sequestration","title":"Novel Concepts","text":"Project sequestration novel project lifecycle stage orphaned unpaid projects. ’s step path project deletion. Sequestration co-opts REDCap’s completed projects concept rebranding via UI changes provided project_sequestration_ui_hack, REDCap external module created just purpose. sequestered module appear like REDCap’s Projects page:","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/novel_concepts.html","id":"extending-the-deleted-project-life","dir":"Articles","previous_headings":"","what":"Extending the deleted project life","title":"Novel Concepts","text":"Deleting abandoned projects valuable component billing system. reduces amount sensitive restricted data REDCap system ’s needed. removes data system might poorly described yet without owner attest provenance purpose. Yet can hard distinguish abandoned project one owned someone ignoring email. mitigate risk deleting something value, automated deletion tasks take conservative approach easy reverse moment project deletion. part risk mitigation, UF REDCap system uses patch REDCap core code, set_project_deletion_time. extends time deletion request actual deletion event data purged 365 days. REDCap projects straightforward undelete purge event occurs, yet quite difficult recover immediately purge event. additional 11 months data purge provides valuable safety buffer.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"daily","dir":"Articles","previous_headings":"","what":"Daily","title":"When jobs run","text":"00:47 - cleanup_project_ownership_table 1:05 - update_project_billable_attribute","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"weekday-business-hours-every-two-hours-700---1900","dir":"Articles","previous_headings":"","what":"Weekday business hours, every two hours, 7:00 - 19:00","title":"When jobs run","text":"7:03 - 17:03 - update_probono_service_request_records 7:07 - 17:07 - update_free_support_time_remaining","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"weekly","dir":"Articles","previous_headings":"","what":"Weekly","title":"When jobs run","text":"Monday 3:11 - update uf fiscal orgs data (temporarily disabled) Monday 7:03 - Send billable_candidates report Tuesday 10:00 - cleanup_bad_email_addresses Tuesday 10:03 - cleanup_bad_project_pi_email_addresses","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"monthly","dir":"Articles","previous_headings":"","what":"Monthly","title":"When jobs run","text":"First Tuesday month - sequester_unpaid_projects Day 1 8:02 - sequester_orphans Day 1 10:03 - warn_owners_of_impending_bill next month Day 1 10:05 - request_correction_of_bad_ownership_data study team Day 5 8:05 - create_and_send_new_invoice_line_items Day 23 8:02 - sequester_orphans Day 23 10:03 - warn_owners_of_impending_bill next month Day 28 8:02 - sequester_orphans","code":""},{"path":"https://ctsit.github.io/rcc.billing/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Philip Chase. Author, maintainer. Laurence James-Woodley. Author. Kyle Chesney. Author. Taryn Stoffs. Contributor. Michael Bentz. Author. Christopher Barnes. Contributor. Sai Pavan Kamma. Author.","code":""},{"path":"https://ctsit.github.io/rcc.billing/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Chase P, James-Woodley L, Chesney K, Bentz M, Kamma S (2024). rcc.billing: REDCap Automated Billing. R package version 1.43.0, https://ctsit.github.io/rcc.billing/.","code":"@Manual{, title = {rcc.billing: REDCap Automated Billing}, author = {Philip Chase and Laurence James-Woodley and Kyle Chesney and Michael Bentz and Sai Pavan Kamma}, year = {2024}, note = {R package version 1.43.0}, url = {https://ctsit.github.io/rcc.billing/}, }"},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"overview","dir":"","previous_headings":"","what":"Overview","title":"REDCap Automated Billing","text":"REDCap Automated Billing automated, data-driven service billing system REDCap system. turn REDCap system cost center revenue generator address proliferation orphaned REDCap projects, University Florida’s CTS-charges modest annual fee project. created REDCap Automated Billing. generates revenue, reduces data privacy risks incentivizing deletion abandoned projects, improves quality research productivity metrics. requires us improve investigator project metadata, partner fiscal staff, automate novel data workflows.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"motivation","dir":"","previous_headings":"","what":"Motivation","title":"REDCap Automated Billing","text":"Generate revenue offset costs improve service. Reduce data exposure risk via deletion unneeded things. Improve quality metrics counting junk projects. Reduce support staff workload.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"what-we-learned","dir":"","previous_headings":"","what":"What we learned","title":"REDCap Automated Billing","text":"can make money charging REDCap services. Charges tool incentivize customer behavior. Good people data project ownership data required. thing -communication. Partner fiscal team. Use incremental iterative approach. Automate everything.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"novel-concepts","dir":"","previous_headings":"","what":"Novel Concepts","title":"REDCap Automated Billing","text":"REDCap Automated Billing introduces concepts outside normal scope REDCap system. described Novel Concepts","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"billing-for-support-work","dir":"","previous_headings":"","what":"Billing for support work","title":"REDCap Automated Billing","text":"complexities billing REDCap support work described Billing REDCap support work","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"business-workflows","dir":"","previous_headings":"","what":"Business workflows","title":"REDCap Automated Billing","text":"cleanup_bad_email_addresses cleanup_bad_project_pi_email_addresses cleanup_project_ownership_table Ban accounts/emails people left institution. See update_invoice_line_items_with_invoicing_details update_project_billable_attribute delete_abandoned_projects sequester_orphans create_and_send_new_invoice_line_items update_invoice_line_items_with_invoicing_details sequester_unpaid_projects cancel_invoice_line_items (Ad hoc) write_uf_fiscal_orgs_to_org_hierarchies (temporarily disabled) write_uf_fiscal_orgs_to_person_org (temporarily disabled) update_free_support_time_remaining update_probono_service_request_records billable_candidates revenue_status_and_projections remind_owners_to_review_ownership request_correction_of_bad_ownership_data warn_owners_of_impending_bill","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"when-jobs-run","dir":"","previous_headings":"","what":"When jobs run","title":"REDCap Automated Billing","text":"ETLs reports run regular basis via Cron. schedule events can found jobs run","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"named list dataframes used test functions written cleanup_project_ownership.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"","code":"cleanup_project_ownership_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"named list 5 dataframes: redcap_user_information REDCap Core table redcap_projects REDCap Core table redcap_user_rights REDCap Core table redcap_user_roles REDCap Core table redcap_project_last_users local table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":null,"dir":"Reference","previous_headings":"","what":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"Connect rcc_billing DB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"","code":"connect_to_rcc_billing_db(drv = RMariaDB::MariaDB(), continue_on_error = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"drv, object inherits DBIDriver (e.g. RMariaDB::MariaDB()), existing DBIConnection object (order clone existing connection). continue_on_error TRUE continue execution error, FALSE quit non interactive sessions error","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"S4 object. Run ?dbConnect information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"","code":"if (FALSE) { # \\dontrun{ # connect to the RCC Billing database using RCCBILLING_* environment variables con <- connect_to_rcc_billing_db() # connect to sqlite RCC Billing db con <- connect_to_rcc_billing_db(drv = RSQLite::SQLite()) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":null,"dir":"Reference","previous_headings":"","what":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"Locates MySQL schema file table_name, converts sqlite schema returns schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"","code":"convert_schema_to_sqlite(table_name)"},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"table_name, name table convert","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"sqlite schema table_name","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"","code":"if (FALSE) { # \\dontrun{ convert_schema_to_sqlite(table_name = \"service_type\") } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":null,"dir":"Reference","previous_headings":"","what":"create_and_load_test_table — create_and_load_test_table","title":"create_and_load_test_table — create_and_load_test_table","text":"Create named table stored schema optionally load stored test data ","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"create_and_load_test_table — create_and_load_test_table","text":"","code":"create_and_load_test_table( conn, table_name, load_test_data = TRUE, is_sqllite = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"create_and_load_test_table — create_and_load_test_table","text":"conn, DBI Connection object table_name, name table load_test_data, logical indicate test data loaded is_sqllite, logical indicate DBI object SQLLite DB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"create_and_load_test_table — create_and_load_test_table","text":"test data read back new table NULL","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"create_and_load_test_table — create_and_load_test_table","text":"","code":"conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") result <- create_and_load_test_table( conn = conn, table_name = \"invoice_line_item_communications\", is_sqllite = TRUE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":null,"dir":"Reference","previous_headings":"","what":"Creates a table based on a schema. — create_table","title":"Creates a table based on a schema. — create_table","text":"Creates table based schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Creates a table based on a schema. — create_table","text":"","code":"create_table(conn, schema)"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Creates a table based on a schema. — create_table","text":"conn, DBI connection object schema, ddl execute conn","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Creates a table based on a schema. — create_table","text":"","code":"if (FALSE) { # \\dontrun{ table_name <- \"service_type\" conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") schema <- convert_schema_to_sqlite(table_name) create_table(conn = conn, schema = schema) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":null,"dir":"Reference","previous_headings":"","what":"csbt_column_names — csbt_column_names","title":"csbt_column_names — csbt_column_names","text":"Column names useful CTSI-billing","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"csbt_column_names — csbt_column_names","text":"","code":"csbt_column_names"},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"csbt_column_names — csbt_column_names","text":"data frame 12 rows 2 variables: ctsit character: Internal database columns csbt character: Billing invoice database column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":null,"dir":"Reference","previous_headings":"","what":"CTS-IT Staff — ctsit_staff","title":"CTS-IT Staff — ctsit_staff","text":"usernames CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CTS-IT Staff — ctsit_staff","text":"","code":"ctsit_staff"},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"CTS-IT Staff — ctsit_staff","text":"data frame 6 rows 1 variable: redcap_username character: REDCap username. Typically Gatorlink ID.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":null,"dir":"Reference","previous_headings":"","what":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"Usernames employment periods CTS-staff. dataset used inform default data ownership setting billable flags REDCap Entity / Project Ownership table. Multiple employment periods represented multiple rows","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"","code":"ctsit_staff_employment_periods"},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"data frame 7 rows 2 variables: redcap_username character REDCap username. Typically Gatorlink ID. employment_interval double lubridate time interval term_date_is_accurate boolean indicating quality termination date","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":null,"dir":"Reference","previous_headings":"","what":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"Adds metadata necessary sending emails invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"","code":"draft_communication_record_from_line_item(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"invoice_line_items dataframe invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"input dataframe following columns added: updated - timestamp provided get_script_run_time sender - value set Sys.getenv(\"EMAIL_FROM\") recipient - value set Sys.getenv(\"EMAIL_TO\") date_sent - timestamp provided get_script_run_time date_received - placeholder timestamp, .POSIXct(NA) script_name - script name returned get_script_name","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"","code":"if (FALSE) { # \\dontrun{ tbl(conn, \"invoice_line_item\") |> collect() |> draft_communication_record_from_line_item() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":null,"dir":"Reference","previous_headings":"","what":"fiscal_years — fiscal_years","title":"fiscal_years — fiscal_years","text":"dataframe fiscal years labels 2019-2020 2039-2040","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fiscal_years — fiscal_years","text":"","code":"fiscal_years"},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"fiscal_years — fiscal_years","text":"data frame 21 rows 2 variables: csbt_label character string representing fiscal year range, format YYYY-YYYY fy_interval double lubridate interval object start UF fiscal year (July 1) end","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"fiscal_years — fiscal_years","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"","code":"fix_data_in_invoice_line_item(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"data - dataframe data invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_invoice_line_item(invoice_line_item_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"","code":"fix_data_in_invoice_line_item_communication(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"data - dataframe data invoice_line_item_communication table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_invoice_line_item_communication(invoice_line_item_communication_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"","code":"fix_data_in_redcap_log_event(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"data - dataframe containing data redcap_log_event tables","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_log_event(redcap_log_event_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"","code":"fix_data_in_redcap_projects(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"data - dataframe data redcap_projects table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_projects(redcap_projects_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"","code":"fix_data_in_redcap_user_information(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"data - dataframe data redcap_user_information table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_user_information(redcap_user_information_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":null,"dir":"Reference","previous_headings":"","what":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"Get bad email addresses rcc.billing log","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"","code":"get_bad_emails_from_log(age_of_oldest_log_in_days = 8)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"age_of_oldest_log_in_days - optional parameter indicating age days oldest log fie read. Defaults 8 days.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"vector email addresses resulted error rcc_job_log table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"","code":"if (FALSE) { # \\dontrun{ bad_recipients <- get_bad_emails_from_log(age_of_oldest_log_in_days = 31) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":null,"dir":"Reference","previous_headings":"","what":"get_billable_candidates — get_billable_candidates","title":"get_billable_candidates — get_billable_candidates","text":"Return data frame REDCap projects relevant billing details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_billable_candidates — get_billable_candidates","text":"","code":"get_billable_candidates(rc_conn, rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_billable_candidates — get_billable_candidates","text":"rc_conn - DBI connection object REDCap database rcc_billing_conn - DBI connection object rcc.billing database","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_billable_candidates — get_billable_candidates","text":"dataframe REDCap projects relevant billing details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_billable_candidates — get_billable_candidates","text":"","code":"if (FALSE) { # \\dontrun{ library(tidyverse) library(rcc.billing) library(lubridate) library(DBI) library(dotenv) library(redcapcustodian) init_etl(\"billable_candidates\") rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() billable_candidates <- get_billable_candidates(rc_conn, rcc_billing_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":null,"dir":"Reference","previous_headings":"","what":"get_creators — get_creators","title":"get_creators — get_creators","text":"Returns dataframe project creator usernames non-suspended, non-redcap-staff, primary email address. Suspended creators can optionally included.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_creators — get_creators","text":"","code":"get_creators( redcap_projects, redcap_user_information, redcap_staff_employment_periods, include_suspended_users = FALSE, return_project_ownership_format = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_creators — get_creators","text":"redcap_projects, contents REDCap table name. redcap_user_information, contents REDCap table name. redcap_staff_employment_periods, dataset redcap usernames employment intervals one interval per row include_suspended_users, Include users whose accounts suspended return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_creators — get_creators","text":"dataframe project creators redcap_projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_creators — get_creators","text":"","code":"if (FALSE) { # \\dontrun{ unsuspended_creators <- get_creators( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, return_project_ownership_format = T ) creators <- get_creators( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, include_suspended_users = T, return_project_ownership_format = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":null,"dir":"Reference","previous_headings":"","what":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"function generates mapping CTSI study IDs project IDs invoice_line_item REDCap Service Request project. filters invoice line items service type codes 1 2, ensuring CTSI study IDs present, collects distinct pairs project IDs CTSI study IDs.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"","code":"get_ctsi_study_id_to_project_id_map(service_requests, rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"service_requests data frame service requests, REDCap Service Request PID 1414. rcc_billing_conn connection REDCap billing database. connect_to_rcc_billing_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"data frame distinct project_id ctsi_study_id columns, representing mapping project IDs CTSI study IDs.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"","code":"if (FALSE) { # \\dontrun{ get_ctsi_study_id_to_project_id_map(service_requests, rcc_billing_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":null,"dir":"Reference","previous_headings":"","what":"get_last_project_user — get_last_project_user","title":"get_last_project_user — get_last_project_user","text":"Returns last user log event project. function vectorized.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_last_project_user — get_last_project_user","text":"","code":"get_last_project_user(con, pid)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_last_project_user — get_last_project_user","text":"con, DBI connection object REDCap database pid, project ID project interest.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_last_project_user — get_last_project_user","text":"Username last user log actio project","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_last_project_user — get_last_project_user","text":"","code":"if (FALSE) { # \\dontrun{ get_last_project_user( con = redcap_connection, pid = project_id ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":null,"dir":"Reference","previous_headings":"","what":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"Given service instance data invoice line item data, identify new CTSI Study IDs invoice line item data return revised service instance records.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"","code":"get_new_ctsi_study_ids(service_instance, invoice_line_item)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"service_instance - dataframe service_instance wiht columns `service_instance_id` `ctsi_study_id`. likely entire contents table. invoice_line_item - dataframe invoice line item records columns `service_instance_id` `ctsi_study_id`.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"service_instance records service_instance `ctsi_study_id` NA now known.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"","code":"if (FALSE) { # \\dontrun{ library(redcapcustodian) library(rcc.billing) library(RMariaDB) library(DBI) library(tidyverse) library(dotenv) rcc_billing_conn <- connect_to_rcc_billing_db() service_instance <- tbl(rcc_billing_conn, \"service_instance\") %>% collect() invoice_line_item <- tbl(rcc_billing_conn, \"invoice_line_item\") %>% collect() get_new_ctsi_study_ids(service_instance, invoice_line_item) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"Get new project billing invoice line items given dataframe projects invoice, initial state invoice_line_item table, connection redcap database, connection rcc billing database.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"","code":"get_new_project_invoice_line_items( projects_to_invoice, initial_invoice_line_item, rc_conn, rcc_billing_conn, api_uri )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"projects_to_invoice dataframe projects invoice initial_invoice_line_item dataframe initial state invoice_line_item table rc_conn DBI connection REDCap database rcc_billing_conn DBI connection rcc billing database api_uri URI redcap host's API interface","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"data frame new invoice line items","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":null,"dir":"Reference","previous_headings":"","what":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"Get new service instances need created given dataframe projects_to_invoice dataframe initial service_instance records.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"","code":"get_new_project_service_instances( projects_to_invoice, initial_service_instance )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"projects_to_invoice - projects need create invoice line items initial_service_instance - dataframe existing service instance table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"dataframe new service_instance rows","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"","code":"if (FALSE) { # \\dontrun{ get_new_project_service_instances(projects_to_invoice, initial_service_instance) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"get_orphaned_projects — get_orphaned_projects","title":"get_orphaned_projects — get_orphaned_projects","text":"Return dataframe projects orphaned","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_orphaned_projects — get_orphaned_projects","text":"","code":"get_orphaned_projects(rc_conn, rcc_billing_conn, months_previous = 0)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_orphaned_projects — get_orphaned_projects","text":"rc_conn - connection redcap database, connect_to_redcap_db rcc_billing_conn - connection rcc_billing database, connect_to_rcc_billing_db months_previous - nth month previous today consider","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_orphaned_projects — get_orphaned_projects","text":"dataframe describing orphaned projects project_id - project_id orphaned project reason - project selected priority - priority reason","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_orphaned_projects — get_orphaned_projects","text":"","code":"if (FALSE) { # \\dontrun{ get_orphaned_projects( rc_conn = rc_conn, rcc_billing_conn = rcc_billing_conn, months_previous = 0 ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":null,"dir":"Reference","previous_headings":"","what":"get_privileged_user — get_privileged_user","title":"get_privileged_user — get_privileged_user","text":"Returns dataframe project IDs usernames users design user_rights non-suspended, non-redcap-staff, primary email address. Optionally include users privilege project. Optionally include suspended users.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_privileged_user — get_privileged_user","text":"","code":"get_privileged_user( redcap_projects, redcap_user_information, redcap_staff_employment_periods, redcap_user_rights, redcap_user_roles, include_low_privilege_users = FALSE, include_suspended_users = FALSE, return_project_ownership_format = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_privileged_user — get_privileged_user","text":"redcap_projects, contents REDCap table name. redcap_user_information, contents REDCap table name. redcap_staff_employment_periods, dataset redcap usernames employment intervals one interval per row redcap_user_rights, contents REDCap table name. redcap_user_roles, contents REDCap table name. include_low_privilege_users, Include users whose accounts permission project include_suspended_users, Include users whose accounts suspended return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_privileged_user — get_privileged_user","text":"dataframe privileged, _user_ accounts projects provided","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_privileged_user — get_privileged_user","text":"","code":"if (FALSE) { # \\dontrun{ unsuspended_high_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, return_project_ownership_format = T ) unsuspended_low_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, include_low_privilege_users = T, include_suspended_users = FALSE, return_project_ownership_format = T ) any_low_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, include_low_privilege_users = T, include_suspended_users = T, return_project_ownership_format = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":null,"dir":"Reference","previous_headings":"","what":"Update Pro Bono Service Request Details — get_probono_service_request_updates","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"function processes dataframe service requests update billable_rate field","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"","code":"get_probono_service_request_updates(service_requests)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"service_requests dataframe containing service request data REDCap PID 1414","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"Returns dataframe updated billable rate","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"","code":"if (FALSE) { # \\dontrun{ updates <- get_probono_service_request_updates(service_requests) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Project Details for Billing — get_project_details_for_billing","title":"Get Project Details for Billing — get_project_details_for_billing","text":"function retrieves detailed information specific projects billing purposes. queries: redcap_projects redcap_entity_project_ownership redcap_user_information invoice_line_item","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Project Details for Billing — get_project_details_for_billing","text":"","code":"get_project_details_for_billing(rc_conn, rcc_billing_conn, project_ids)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Project Details for Billing — get_project_details_for_billing","text":"rc_conn REDCap database connection, e.g. object returned connect_to_redcap_db rcc_billing_conn connection REDCap billing database. connect_to_rcc_billing_db project_ids Vector project IDs retrieve details .","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Project Details for Billing — get_project_details_for_billing","text":"data frame project details.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Project Details for Billing — get_project_details_for_billing","text":"","code":"if (FALSE) { # \\dontrun{ rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() project_ids <- c(12, 14, 22) project_details <- get_project_details_for_billing(rc_conn, rcc_billing_con, project_ids) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":null,"dir":"Reference","previous_headings":"","what":"Get important boolean flags that describe projects — get_project_flags","title":"Get important boolean flags that describe projects — get_project_flags","text":"Get important boolean flags describe projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get important boolean flags that describe projects — get_project_flags","text":"","code":"get_project_flags(rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get important boolean flags that describe projects — get_project_flags","text":"rc_conn DBI connection object REDCap Database system uses UF extensions REDCap Project Ownership","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get important boolean flags that describe projects — get_project_flags","text":"dataframe boolean flags every REDCap project redcap_projects table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get important boolean flags that describe projects — get_project_flags","text":"","code":"if (FALSE) { # \\dontrun{ get_project_flags(rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":null,"dir":"Reference","previous_headings":"","what":"get_project_pis — get_project_pis","title":"get_project_pis — get_project_pis","text":"Returns dataframe project_PI details redcap_projects PIs email address project_pi_email","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_project_pis — get_project_pis","text":"","code":"get_project_pis(redcap_projects, return_project_ownership_format = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_project_pis — get_project_pis","text":"redcap_projects, contents REDCap table name. return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_project_pis — get_project_pis","text":"dataframe project_PI details redcap_projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_project_pis — get_project_pis","text":"","code":"get_project_pis( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, return_project_ownership_format = TRUE ) #> # A tibble: 1 × 5 #> pid email firstname lastname username #> #> 1 28 tfc@example.org Thomas Chase NA"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":null,"dir":"Reference","previous_headings":"","what":"get_projects_needing_new_owners — get_projects_needing_new_owners","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"Returns project IDs projects owned REDCap user primary email address","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"","code":"get_projects_needing_new_owners( redcap_entity_project_ownership, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"redcap_entity_project_ownership, contents REDCap Project Ownership table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"","code":"get_projects_needing_new_owners( redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership, redcap_user_information = cleanup_project_ownership_test_data$redcap_user_information ) #> [1] 29 30 31 32 33"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":null,"dir":"Reference","previous_headings":"","what":"get_projects_without_owners — get_projects_without_owners","title":"get_projects_without_owners — get_projects_without_owners","text":"Returns project_ids projects without owners","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_projects_without_owners — get_projects_without_owners","text":"","code":"get_projects_without_owners(redcap_projects, redcap_entity_project_ownership)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_projects_without_owners — get_projects_without_owners","text":"redcap_projects, contents REDCap table name. redcap_entity_project_ownership, contents REDCap Project Ownership table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_projects_without_owners — get_projects_without_owners","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_projects_without_owners — get_projects_without_owners","text":"","code":"get_projects_without_owners( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership ) #> [1] 18 19 20 24"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of reassigned line items — get_reassigned_line_items","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"invoices sent, investigators report projects belong . CTS-change ownership projects new owner. cases, customer change ownership project . CTS-create report differences project ownership investigators unpaid, invoiced project. CTS-update tables tell CSBT change.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"","code":"get_reassigned_line_items(sent_line_items, rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"sent_line_items dataframe returned get_unpaid_redcap_prod_per_project_line_items rc_conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"dataframe revised redcap project invoice_line_items reassigned new owners","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"","code":"if (FALSE) { # \\dontrun{ rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() sent_line_items <- get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn) reassigned_line_items <- get_reassigned_line_items(sent_line_items, rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":null,"dir":"Reference","previous_headings":"","what":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"Returns project_ids projects viable PI data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"","code":"get_research_projects_not_using_viable_pi_data( redcap_projects, redcap_entity_project_ownership, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"redcap_projects, contents REDCap table name. redcap_entity_project_ownership, contents REDCap Project Ownership table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"","code":"get_research_projects_not_using_viable_pi_data( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership, redcap_user_information = cleanup_project_ownership_test_data$redcap_user_information ) #> integer(0)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Assemble line items for service requests billing — get_service_request_line_items","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"Assemble line items service requests billing","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"","code":"get_service_request_line_items(service_requests, rc_billing_conn, rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"service_requests data frame service requests, REDCap Service Request PID 1414. rc_billing_conn connection REDCap billing database containing invoice_line_items table. connect_to_rcc_billing_db rc_conn connection REDCap database. connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"data frame line items service requests billing.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"","code":"if (FALSE) { # \\dontrun{ line_items <- get_service_request_line_items(service_requests, rc_billing_conn, rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Service Request Lines — get_service_request_lines","title":"Get Service Request Lines — get_service_request_lines","text":"function processes dataset service requests extract transform various service details. groups response data record_id, service_date, probono status summarize response data create source dataset invoice line items tasks.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Service Request Lines — get_service_request_lines","text":"","code":"get_service_request_lines(service_requests, return_all_records = F)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Service Request Lines — get_service_request_lines","text":"service_requests data frame service requests, REDCap Service Request PID 1414. return_all_records boolean indicate every record returned just last month's records","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Service Request Lines — get_service_request_lines","text":"data frame response details service request","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Service Request Lines — get_service_request_lines","text":"","code":"if (FALSE) { # \\dontrun{ # get just last month's records service_request_lines <- get_service_request_lines(service_requests) # get all the records service_request_lines <- get_service_request_lines(service_requests, return_all_records = T) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":null,"dir":"Reference","previous_headings":"","what":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"Get details projects need create invoice line items .","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"","code":"get_target_projects_to_invoice(rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"rc_conn connection REDCap database uses project_ownership module","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"dataframe project owner details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"","code":"if (FALSE) { # \\dontrun{ get_target_projects_to_invoice(rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"Create dataframe unpaid REDCap production per project line items sent","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"","code":"get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"rcc_billing_conn - connection REDCap billing database. connect_to_rcc_billing_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"dataframe containing unpaid sent line items","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"","code":"if (FALSE) sent_line_items <- get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn) # \\dontrun{}"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":null,"dir":"Reference","previous_headings":"","what":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"Get every attribute every permission entry userinfo user permission","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"","code":"get_user_rights_and_info( rc_conn, require_active_account = T, require_active_permissions = T )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"rc_conn DBI connection object REDCap Database system. require_active_account boolean indicate active accounts returned. Defaults TRUE. require_active_permissions boolean indicate active permission entries returned. Defaults TRUE.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"dataframe every permission entry matching user_information data appended","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"","code":"if (FALSE) { # \\dontrun{ get_user_rights_and_info( rc_conn = rc_conn, require_active_account = T, require_active_permissions = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":null,"dir":"Reference","previous_headings":"","what":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"Get redcap_user_rights combined roles user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"","code":"get_user_rights_and_info_v1( redcap_user_rights, redcap_user_roles, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"redcap_user_rights, contents REDCap table name. redcap_user_roles, contents REDCap table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"dataframe combined redcap_user_rights, roles, user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"","code":"if (FALSE) { # \\dontrun{ get_user_rights_and_info_v1( redcap_user_rights, redcap_user_roles, redcap_user_information ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"test dataset testing functions write read invoice_line_item_communications","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"","code":"invoice_line_item_communications_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"data frame 26 rows 32 variables: id double: primary key service_identifier character: either redcap project ID, redcap username service_type_code double: numeric code uniquely identifies service_type service_instance_id character: numeric code uniquely identifies service_instance ctsi_study_id double: CSBT's unique identifier service name_of_service character: name service name_of_service_instance character: name study other_system_invoicing_comments character: additional invoice information, either project url, sponsor pi price_of_service double: price service, US dollars qty_provided double: quantity provided amount_due double: amount due, US dollars fiscal_year character: fiscal year invoice month_invoiced character: month invoice pi_last_name character: last name person invoiced pi_first_name character: first name person invoiced pi_email character: email person invoiced gatorlink character: gatorlink person invoiced crc_number double: Clinical Research Center number ids_number character: Investigational Drug Service number ocr_number character: Office Clinical Research study number invoice_number double: invoice number je_number character: journal entry number je_posting_date POSIXct: journal entry posting date reason character: reason invoice status character: status invoice created POSIXct: created timestamp updated POSIXct: updated timestamp sender character: message sender, typically email address recipient character: message recipient, typically email address date_sent POSIXct: date CTSI sent message date_received POSIXct: date CTSIT received email script_name character: script created record","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"https://github.com/ctsit/rcc.billing/issues/7","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":null,"dir":"Reference","previous_headings":"","what":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"Creates invoice_line_item data invoice_line_item_communications_data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"","code":"invoice_line_item_df_from(invoice_line_item_communications)"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"invoice_line_item_communications, data follows format invoice_line_item_communications_test_data located R/data.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"invoice_line_item dataframe","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"","code":"if (FALSE) { # \\dontrun{ invoice_line_item_df_from(invoice_line_item_communications_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_reasons — invoice_line_item_reasons","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"Provides text new invoice line items","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"","code":"invoice_line_item_reasons"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"data frame 3 rows 2 variables: code character: short, static name string label character: friendly human-readable string","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_statuses — invoice_line_item_statuses","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"Describes valid invoice line item statuses","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"","code":"invoice_line_item_statuses"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"data frame 5 rows 2 variables: status character: short, static name status code description character: human-readable description status","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for invoice_line_item table — invoice_line_item_test_data","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"Sample data invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"","code":"invoice_line_item_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"id primary key service_identifier either redcap project ID, redcap username service_type_code numeric code uniquely identifies service_type service_instance_id numeric code uniquely identifies service_instance ctsi_study_id CSBT's unique identifier service name_of_service name service name_of_service_instance name study other_system_invoicing_comments additional invoice information, either project url, sponsor pi price_of_service price service, US dollars qty_provided quantity provided amount_due amount due, US dollars fiscal_year fiscal year invoice month_invoiced month invoice pi_last_name last name person invoiced pi_first_name first name person invoiced pi_email email person invoiced gatorlink gatorlink person invoiced reason reason invoice status status invoice sender character: message sender, typically email address recipient character: message recipient, typically email address date_sent POSIXct: date CTSI sent message date_received POSIXct: date CTSIT received email script_name character: script created record created created timestamp updated updated timestamp","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"https://github.com/ctsit/rcc.billing/issues/3","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":null,"dir":"Reference","previous_headings":"","what":"log_event_tables — log_event_tables","title":"log_event_tables — log_event_tables","text":"vector names 9 redcap log event tables","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"log_event_tables — log_event_tables","text":"","code":"log_event_tables"},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"log_event_tables — log_event_tables","text":"vector 9 elements","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"log_event_tables — log_event_tables","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":null,"dir":"Reference","previous_headings":"","what":"mutate_columns_to_posixct — mutate_columns_to_posixct","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"Mutates column data types POSIXct","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"","code":"mutate_columns_to_posixct(data, column_names)"},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"data - dataframe mutate column_names - vector column names mutate","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"","code":"if (FALSE) { # \\dontrun{ time_columns <- c(\"created\", \"updated\") mutate_columns_to_posixct(data, time_columns) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":null,"dir":"Reference","previous_headings":"","what":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"converts -memory schema sqlite schema returns schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"","code":"mysql_schema_to_sqlite(schema)"},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"schema, MySQL/MariaDB Schema","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"sqlite schema `schema`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"","code":"if (FALSE) { # \\dontrun{ mysql_schema_to_sqlite(schema) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":null,"dir":"Reference","previous_headings":"","what":"next_n_months — next_n_months","title":"next_n_months — next_n_months","text":"Return month number occur n months integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"next_n_months — next_n_months","text":"","code":"next_n_months(month, n = 1)"},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"next_n_months — next_n_months","text":"month - integer month number n - number months add current month (default = 1)","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"next_n_months — next_n_months","text":"nth next month number integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"next_n_months — next_n_months","text":"","code":"next_n_months(9, 2) #> [1] 11 next_n_months(1, 1) #> [1] 2"},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":null,"dir":"Reference","previous_headings":"","what":"one_deleted_project_record — one_deleted_project_record","title":"one_deleted_project_record — one_deleted_project_record","text":"single REDCap project record deleted project","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"one_deleted_project_record — one_deleted_project_record","text":"","code":"one_deleted_project_record"},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"one_deleted_project_record — one_deleted_project_record","text":"data frame 1 rows 149 variables: project_id double project_name character app_title character status integer creation_time double production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_firstname character project_pi_mi character project_pi_lastname character project_pi_email character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":null,"dir":"Reference","previous_headings":"","what":"Populates table_name with the corresponding test data found in /data. — populate_table","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"Populates table_name corresponding test data found /data.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"","code":"populate_table(conn, table_name, use_test_data = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"conn, DBI connection object table_name, table populate test data use_test_data, whether use \"_test_data\"","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"","code":"if (FALSE) { # \\dontrun{ conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") populate_table(conn = conn, table_name = \"service_type\") } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":null,"dir":"Reference","previous_headings":"","what":"previous_month — previous_month","title":"previous_month — previous_month","text":"Return month number occur integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"previous_month — previous_month","text":"","code":"previous_month(month)"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"previous_month — previous_month","text":"month - integer month number","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"previous_month — previous_month","text":"previous month number","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"previous_month — previous_month","text":"","code":"previous_month(9) #> [1] 8 previous_month(1) #> [1] 12"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":null,"dir":"Reference","previous_headings":"","what":"previous_n_months — previous_n_months","title":"previous_n_months — previous_n_months","text":"Return month number occur n months integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"previous_n_months — previous_n_months","text":"","code":"previous_n_months(month, n = 1)"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"previous_n_months — previous_n_months","text":"month - integer month number n - number months subtract current month (default = 1)","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"previous_n_months — previous_n_months","text":"nth previous month number integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"previous_n_months — previous_n_months","text":"","code":"previous_n_months(9, 2) #> [1] 7 previous_n_months(1, 1) #> [1] 12"},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":null,"dir":"Reference","previous_headings":"","what":"projects_table_fragment — projects_table_fragment","title":"projects_table_fragment — projects_table_fragment","text":"portion REDCap project table used make test datasets","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"projects_table_fragment — projects_table_fragment","text":"","code":"projects_table_fragment"},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"projects_table_fragment — projects_table_fragment","text":"data frame 4 rows 149 variables: project_id double project_name character app_title character status integer creation_time double production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_firstname character project_pi_mi character project_pi_lastname character project_pi_email character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"test dataset redcap_entity_project_ownership table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"","code":"redcap_entity_project_ownership_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"data frame 5 rows 10 variables: id integer Primary key created double Date record created unix timestamp updated double Date record last updated unix timestamp pid double REDCap project_id project username character Username project owner exists email character Email address project owner username exist firstname character Firstname project owner username exist lastname character Lastname project owner username exist billable integer boolean indicate project billed sequestered integer boolean indicate project sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_log_event_test_data — redcap_log_event_test_data","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"named list redcap_log_event tables project lifecycle test data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"","code":"redcap_log_event_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"named list 10 dataframes 0 rows 15 variables. dataframe structured described . log_event_id integer primary key project_id integer REDCap project_id ts double timestamp format YYYYMMDDHHMMSS local time user character REDCap username initiated event ip character IP address REDCap user page character relative REDCap URL initiated event event character type event. e.g DATA_EXPORT, DELETE, ERROR, INSERT, MANAGE, , UPDATE object_type character REDCap object type e.g., NA, redcap_arms, redcap_auth, redcap_data, redcap_docs, redcap_event_forms, redcap_events, redcap_events_metadata, redcap_metadata, redcap_metadata_temp, redcap_projects, redcap_user_rights sql_log character SQL code executed event pk character primary key effected object event_id integer REDCap event_id relevant data_values character description character description event legacy integer change_reason character","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_projects_test_data — redcap_projects_test_data","title":"redcap_projects_test_data — redcap_projects_test_data","text":"redcap_projects suitable billing tests","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_projects_test_data — redcap_projects_test_data","text":"","code":"redcap_projects_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_projects_test_data — redcap_projects_test_data","text":"data frame 5 rows 149 variables: project_id double Project ID app_title character project name displayed project_pi_firstname character Principal Investigator First Name project_pi_lastname character Principal Investigator Last Name project_pi_email character Principal Investigator Email project_name character original project name keyword creation_time double Project Creation Datetime status integer production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_mi character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double Date project deletion NA deleted data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_rights_test_data — redcap_rights_test_data","title":"redcap_rights_test_data — redcap_rights_test_data","text":"named list dataframes used test functions written redcap_rights.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_rights_test_data — redcap_rights_test_data","text":"","code":"redcap_rights_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_rights_test_data — redcap_rights_test_data","text":"named list 3 dataframes: redcap_user_information REDCap Core table redcap_user_rights REDCap Core table redcap_user_roles REDCap Core table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_rights_test_data — redcap_rights_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_user_information_test_data — redcap_user_information_test_data","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"Test dataset redcap_user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"","code":"redcap_user_information_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"data frame 5 rows 49 variables: ui_id integer primary key username character redcap username user_email character primary email address user_email2 character user_email3 character user_phone character user_phone_sms character user_firstname character user_lastname character user_inst_id character super_user integer account_manager integer access_system_config integer access_system_upgrade integer access_external_module_install integer admin_rights integer access_admin_dashboards integer user_creation double user_firstvisit double user_firstactivity double user_lastactivity double user_lastlogin double user_suspended_time double user_expiration double user_access_dashboard_view double user_access_dashboard_email_queued character user_sponsor character user_comments character allow_create_db integer email_verify_code character email2_verify_code character email3_verify_code character datetime_format character number_format_decimal character number_format_thousands_sep character csv_delimiter character two_factor_auth_secret character display_on_email_users integer two_factor_auth_twilio_prompt_phone integer two_factor_auth_code_expiration integer api_token character messaging_email_preference character messaging_email_urgent_all integer messaging_email_ts double messaging_email_general_system integer messaging_email_queue_time double ui_state character api_token_auto_request integer fhir_data_mart_create_project integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"sequester_projects — sequester_projects","title":"sequester_projects — sequester_projects","text":"sequester projects listed `project_ids` can sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"sequester_projects — sequester_projects","text":"","code":"sequester_projects( conn, project_id = as.numeric(NA), reason = as.character(NA) )"},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"sequester_projects — sequester_projects","text":"conn - connection redcap database project_id - vector project IDs sequestered reason - vector reasons project IDs sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"sequester_projects — sequester_projects","text":"- list describing function activity via objects project_ownership_sync_updates - updates made project_ownership redcap_projects_sync_updates - updates made redcap_projects project_ids_updated - project ids received updates","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for service_instance table — service_instance_test_data","title":"Sample data for service_instance table — service_instance_test_data","text":"Sample data service_instance table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for service_instance table — service_instance_test_data","text":"","code":"service_instance_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for service_instance table — service_instance_test_data","text":"service_instance_id primary key service_type_code numeric code uniquely identifies service_type service_identifier either redcap project ID, redcap username ctsi_study_id CSBT’s unique identifier service active boolean indicating expect continue billing service","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for service_instance table — service_instance_test_data","text":"https://github.com/ctsit/rcc.billing/issues/2","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate Service Request Time — service_request_time","title":"Calculate Service Request Time — service_request_time","text":"function takes time minutes hours returns unified time format hours.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate Service Request Time — service_request_time","text":"","code":"service_request_time(time_minutes, time_hours)"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate Service Request Time — service_request_time","text":"time_minutes Numeric vector representing time minutes. time_hours Numeric vector representing time hours.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate Service Request Time — service_request_time","text":"numeric vector processed time hours. input times minutes part set {15, 30, 45, 60}, time converted hours. time hours greater 1, original hours returned. Otherwise, `NA_real_` returned cases matching conditions.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate Service Request Time — service_request_time","text":"","code":"if (FALSE) { # \\dontrun{ service_request_time(30, 120) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for service_type table — service_type_test_data","title":"Sample data for service_type table — service_type_test_data","text":"Sample data service_type table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for service_type table — service_type_test_data","text":"","code":"service_type_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for service_type table — service_type_test_data","text":"service_type_code numeric code uniquely identifies service_type service_type short name describing service_type, snake case price price one unit service, US dollars billing_frequency frequency service ir billed, months","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for service_type table — service_type_test_data","text":"https://github.com/ctsit/rcc.billing/issues/1","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":null,"dir":"Reference","previous_headings":"","what":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"Excludes non-CSBT columns renames CTSIT column names corresponding CSBT names. function inverse transform_invoice_line_items_for_ctsit","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"","code":"transform_invoice_line_items_for_csbt(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"invoice_line_items dataframe CTSIT column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"input dataframe columns adjusted match CSBT format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"DETAILS","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"","code":"if (FALSE) { # \\dontrun{ tbl(conn, \"invoice_line_item\") |> collect() |> transform_invoice_line_items_for_csbt() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":null,"dir":"Reference","previous_headings":"","what":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"Renames CSBT column names corresponding CTSIT names. function inverse transform_invoice_line_items_for_csbt, however exclude columns CTSIT column names.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"","code":"transform_invoice_line_items_for_ctsit(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"invoice_line_items dataframe CSBT column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"input dataframe columns adjusted match CTSIT format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"DETAILS","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"","code":"if (FALSE) { # \\dontrun{ df_from_csbt |> transform_invoice_line_items_for_ctsit() |> janitor::clean_names() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"Get dataframe updated billable status project ownership projects, set projects billable except created CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"","code":"update_billable_by_ownership(conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"dataset_diff containing updates project ownerhsip's \"billable\" column","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"","code":"if (FALSE) { # \\dontrun{ conn <- redcapcustodian::connect_to_redcap_db() billable_updates <- update_billable_by_ownership(conn) dbx::dbxUpdate(conn, table = \"redcap_entity_project_ownership\", records = billable_updates$update_records, where_cols = c(\"id\") ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"Ignore current state billable review every project owned CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"","code":"update_billable_if_owned_by_ctsit(conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"dataset_diff containing updates project ownerhsip's \"billable\" column","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"","code":"if (FALSE) { # \\dontrun{ conn <- redcapcustodian::connect_to_redcap_db() billable_updates <- update_billable_if_owned_by_ctsit(conn) dbx::dbxUpdate(conn, table = \"redcap_entity_project_ownership\", records = billable_updates$update_records, where_cols = c(\"id\") ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1430-released-2024-09-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.43.0 (released 2024-09-04)","title":"rcc.billing 1.43.0 (released 2024-09-04)","text":"Fix doc formatting service_request_time() (@pbchase) Add Sai’s ORCID DESCRIPTION (@pbchase) Add employees ctsit_staff* data frames (@pbchase, #250) Refactor ctsit_staff.R make easier maintain (@pbchase, #250) Update revenue_status_and_projections.qmd (@pbchase) Add ‘REDCap consulting revenue’ section revenue_status_and_projections.qmd (@pbchase) Update vignettes (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1421-released-2024-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.42.1 (released 2024-08-26)","title":"rcc.billing 1.42.1 (released 2024-08-26)","text":"Remove unsuspended_high_privilege_faculty cleanup_project_ownership_table.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1420-released-2024-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.42.0 (released 2024-08-26)","title":"rcc.billing 1.42.0 (released 2024-08-26)","text":"Add ORCIDs package authors (@pbchase, #249) Add vignettes ETLs reports (@pbchase, @saipavan10-git, #244, #245, #246, #247)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1414-released-2024-08-15","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.4 (released 2024-08-15)","title":"rcc.billing 1.41.4 (released 2024-08-15)","text":"Update github workflows allow R correctly access PAT (@saipavan10-git) Update description file REMOTES section ctsit packages (@saipavan10-git) Update dependency installation pkgdown workflow (@saipavan10-git)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1413-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.3 (released 2024-08-14)","title":"rcc.billing 1.41.3 (released 2024-08-14)","text":"Update github workflows address missing dependencies (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1412-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.2 (released 2024-08-14)","title":"rcc.billing 1.41.2 (released 2024-08-14)","text":"Update image version run-tests.yaml (@pbchase) Resequence dependencies pkgdown.yaml (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1411-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.1 (released 2024-08-14)","title":"rcc.billing 1.41.1 (released 2024-08-14)","text":"Add dependencies pkgdown.yaml (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1410-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.0 (released 2024-08-13)","title":"rcc.billing 1.41.0 (released 2024-08-13)","text":"Add first vignette, cleanup_bad_email_addresses (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1400-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.40.0 (released 2024-08-13)","title":"rcc.billing 1.40.0 (released 2024-08-13)","text":"Initialize pkgdown usethis::use_pkgdown_github_pages() (@pbchase) Update README.md (@pbchase) Add schema upgrade scripts release 1.39.0 (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1391-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.39.1 (released 2024-08-13)","title":"rcc.billing 1.39.1 (released 2024-08-13)","text":"Add return_all_records param get_service_request_lines() (@pbchase, #239)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1390-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.39.0 (released 2024-08-13)","title":"rcc.billing 1.39.0 (released 2024-08-13)","text":"Add fiscal_contact details invoice_line_item (@saipavan10-git, @pbchase, #237, #238)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1381-released-2024-08-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.38.1 (released 2024-08-01)","title":"rcc.billing 1.38.1 (released 2024-08-01)","text":"Read always_bill update_probono_service_request_records.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1380-released-2024-08-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.38.0 (released 2024-08-01)","title":"rcc.billing 1.38.0 (released 2024-08-01)","text":"Deactivate create_and_send_new_invoice_line_items (@pbchase) Add support always_bill get_probono_service_request_updates() (@pbchase, #236) Fix duckdb disconnect warnings caused tests (@pbchase, #235) Create send service_request_line_items create_and_send_new_invoice_line_items (@saipavan10-git, @pbchase, #235) Add get_service_request_lines() (@saipavan10-git, @pbchase, #233) Add get_service_request_line_items() (@saipavan10-git, @pbchase, #233) Add tests get_project_details_for_billing() (@pbchase, #233) Fix tests get_target_projects_to_invoice() (@pbchase, #233) Update docs get_new_project_invoice_line_items() (@pbchase, #233)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1372-released-2024-07-22","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.2 (released 2024-07-22)","title":"rcc.billing 1.37.2 (released 2024-07-22)","text":"Refactor create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase, #228, #230) Add get_new_project_invoice_line_items() (@pbchase, #228, #230). Add get_new_project_service_instances() (@pbchase, #228, #230). Add get_target_projects_to_invoice() (@pbchase, #228, #230).","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1371-released-2024-07-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.1 (released 2024-07-01)","title":"rcc.billing 1.37.1 (released 2024-07-01)","text":"Fix bugs revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1370-released-2024-06-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.0 (released 2024-06-26)","title":"rcc.billing 1.37.0 (released 2024-06-26)","text":"Adjust run times update_probono_service_request_records (@pbchase) Add update_free_support_time_remaining.R schema file empty table needs (@pbchase, #224) Add people_with_rights_to_unpaid_invoice_line_items.R, get_project_flags(), get_user_rights_and_info() (@pbchase, #220) Rename get_user_rights_and_info() get_user_rights_and_info_v1() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1361-released-2024-06-20","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.36.1 (released 2024-06-20)","title":"rcc.billing 1.36.1 (released 2024-06-20)","text":"Mount credentials volume cron/update_probono_service_request_records (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1360-released-2024-06-20","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.36.0 (released 2024-06-20)","title":"rcc.billing 1.36.0 (released 2024-06-20)","text":"Add single-use/backfill_billable_rate_in_service_request_records.R (@pbchase) Modernize_imports_and_conform_to_tidyselect (@pbchase, #223) Add get_service_request_lines() (@ljwoodley, @pbchase, #219, #205) Add update_invoice_line_items_to_correct_fiscal_year.R script used August 2023 (@pbchase) Add get_probono_service_request_records() (@ljwoodley, @pbchase, #218, #207)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1350-released-2024-05-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.35.0 (released 2024-05-23)","title":"rcc.billing 1.35.0 (released 2024-05-23)","text":"Set custom CC running revenue_status_and_projections (@pbchase) Revise input file search management update_invoice_line_items_with_invoicing_details.R (@pbchase) Add get_ctsi_study_id_to_project_id_map (@ljwoodley, @pbchase, @ChemiKyle, #212) Reflow make_test_data_for_get_billable_candidates.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1340-released-2024-04-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.34.0 (released 2024-04-26)","title":"rcc.billing 1.34.0 (released 2024-04-26)","text":"Add draft_reports.qmd (@pbchase) Add get_project_details_for_billing (@ljwoodley) Add ‘REDCap consulting’ service_type test data (@pbchase) CC REDCAP_BILLING_L request_correction_of_bad_ownership_data.R (@pbchase) Update create_and_send_new_redcap_prod_per_project_line_items.R prevent duplicates (@pbchase) Add note Figure 3. ‘REDCap APB Revenue FY 12 months projected revenue.’ Add aging brackets. Fix chit-chat historic payment rate. Remove ‘Possible revenue opportunities’. Remove ‘Projecting income extant billable projects’ section Remove ‘Payments Rates Projections’ section. Remove ‘Report summary’ section.","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1332-released-2024-03-15","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.2 (released 2024-03-15)","title":"rcc.billing 1.33.2 (released 2024-03-15)","text":"Fix NA average_portion_paid revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1331-released-2024-03-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.1 (released 2024-03-12)","title":"rcc.billing 1.33.1 (released 2024-03-12)","text":"Fix bad collect() syntax (@pbchase) Fix crashes sequester_unpaid_projects.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1330-released-2024-02-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.0 (released 2024-02-27)","title":"rcc.billing 1.33.0 (released 2024-02-27)","text":"Add fiscal year reporting revenue_status_and_projections.qmd (@pbchase) Add revenue_description red_team_auxiliary_revenue_actuals_redcap_apb.csv output revenue_status_and_projections.qmd (@pbchase) Control positioning revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1320-released-2024-02-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.32.0 (released 2024-02-14)","title":"rcc.billing 1.32.0 (released 2024-02-14)","text":"Add owner’s org data get_billable_candidates() output (@pbchase, @ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1311-released-2024-02-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.31.1 (released 2024-02-12)","title":"rcc.billing 1.31.1 (released 2024-02-12)","text":"Update update_invoice_line_items_with_invoicing_details.R fix target table service_instance_update. (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1310-released-2024-02-08","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.31.0 (released 2024-02-08)","title":"rcc.billing 1.31.0 (released 2024-02-08)","text":"Curate use CTSI Study IDs (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1300-released-2024-01-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.30.0 (released 2024-01-12)","title":"rcc.billing 1.30.0 (released 2024-01-12)","text":"Fix typos text revenue_status_and_projections.qmd (@pbchase) Update update_invoice_line_items_with_invoicing_details handle bill reasons (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1291-released-2023-12-08","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.29.1 (released 2023-12-08)","title":"rcc.billing 1.29.1 (released 2023-12-08)","text":"Fix create_and_send_new_redcap_prod_per_project_line_items.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1290-released-2023-11-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.29.0 (released 2023-11-21)","title":"rcc.billing 1.29.0 (released 2023-11-21)","text":"Implement code changes required Fall 2023 rate increase (@pbchase) Update revenue_status_and_projections.qmd adding revenue_by_month_received (@pbchase, @ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1280-released-2023-11-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.28.0 (released 2023-11-01)","title":"rcc.billing 1.28.0 (released 2023-11-01)","text":"Replace fig-revenue--month fig-revenue--month-invoiced fig-revenue--month-received revenue_status_and_projections.qmd (@pbchase) Add bar labels fig-revenue--month-* figures revenue_status_and_projections.qmd (@pbchase) Adjust project revenue use just last 12 months correct rate increase revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1270-released-2023-10-31","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.27.0 (released 2023-10-31)","title":"rcc.billing 1.27.0 (released 2023-10-31)","text":"Add delete_abandoned_projects.R (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1260-released-2023-10-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.26.0 (released 2023-10-24)","title":"rcc.billing 1.26.0 (released 2023-10-24)","text":"Add export_project_data_with_owner_org.R (@pbchase) Change annual project price $100 $130 warning communications (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1251-released-2023-10-16","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.25.1 (released 2023-10-16)","title":"rcc.billing 1.25.1 (released 2023-10-16)","text":"Update broken Update Project Ownership links (@ChemiKyle) Prevent sequestered projects receiving billing warnings (@ChemiKyle) Fix typo revenue_status_and_projections.qmd (@pbchase) Update broken link document details project deletion steps (@ChemiKyle) Update update_invoice_line_items_with_invoicing_details.R (@pbchase) Remove unused code warn_owners_of_impending_bill.R (@pbchase) Update Roxygen version DESCRIPTION (@pbchase) Update test-get_billable_candidates.R (@pbchase) Remove unused code get_billable_candidates() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1250-released-2023-08-29","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.25.0 (released 2023-08-29)","title":"rcc.billing 1.25.0 (released 2023-08-29)","text":"Update revenue_status_and_projections (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1240-released-2023-08-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.24.0 (released 2023-08-23)","title":"rcc.billing 1.24.0 (released 2023-08-23)","text":"Add write_uf_fiscal_orgs_to_person_org ETL (@ChemiKyle) add cron job invoice line item creation (@ljwoodley) add test df row count (@ljwoodley) Replace current_fiscal_year fiscal_year_invoiced concept (@pbchase) create empty please_fix_log df (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1230-released-2023-08-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.23.0 (released 2023-08-04)","title":"rcc.billing 1.23.0 (released 2023-08-04)","text":"Add reason project sequestration messages (@pbchase) Add speed improvements get_orphaned_projects (@pbchase) Replace NA character NA string prevent entire email appearing NA (@ChemiKyle) Refactor SQLite get_orphaned_projects tests (@pbchase) Update render report (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1222-released-2023-07-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.2 (released 2023-07-19)","title":"rcc.billing 1.22.2 (released 2023-07-19)","text":"Accommodate long project titles (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1221-released-2023-07-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.1 (released 2023-07-19)","title":"rcc.billing 1.22.1 (released 2023-07-19)","text":"Accommodate long project titles (@pbchase) Update revenue_status_and_projections.qmd (@pbchase) Update update_invoice_line_items_with_invoicing_details.R handle non-rccbilling data (@pbchase) Update report_on_projects_by_dept.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1220-released-2023-06-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.0 (released 2023-06-23)","title":"rcc.billing 1.22.0 (released 2023-06-23)","text":"Add cancel_invoice_line_items.R (@pbchase) Add ban_people_from_ownership.R (@pbchase) Add report_on_projects_by_dept.R (@pbchase) Add get_billable_candidates() (@pbchase) Silence long path warnings relating request_correction_of_bad_ownership_data.R (@pbchase) Refactor billable_candidates.R use get_billable_candidates() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1212-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.2 (released 2023-06-07)","title":"rcc.billing 1.21.2 (released 2023-06-07)","text":"Update revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1211-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.1 (released 2023-06-07)","title":"rcc.billing 1.21.1 (released 2023-06-07)","text":"Update cron file new render_report.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1210-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.0 (released 2023-06-07)","title":"rcc.billing 1.21.0 (released 2023-06-07)","text":"Update render_report.R add Quarto support (@pbchase) Ban PIs left UF update_invoice_line_items_with_invoicing_details.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1200-released-2023-06-05","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.20.0 (released 2023-06-05)","title":"rcc.billing 1.20.0 (released 2023-06-05)","text":"Add revenue_status_and_projections.qmd (@pbchase) Update email templates (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1190-released-2023-05-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.19.0 (released 2023-05-24)","title":"rcc.billing 1.19.0 (released 2023-05-24)","text":"Add remind_owners_to_review_ownership.R (@pbchase) Update sequester_unpaid_projects.R (@pbchase) Add historic redcap admins CTS-staff (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1182-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.2 (released 2023-04-03)","title":"rcc.billing 1.18.2 (released 2023-04-03)","text":"Filter sequestered deleted projects sequester_unpaid_projects.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1181-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.1 (released 2023-04-03)","title":"rcc.billing 1.18.1 (released 2023-04-03)","text":"Fix NEWS.md (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1180-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.0 (released 2023-04-03)","title":"rcc.billing 1.18.0 (released 2023-04-03)","text":"Add sequester_unpaid_projects ETL (@ChemiKyle) Set date_sent creating invoice line items (@pbchase) Fix cron write_uf_fiscal_orgs_to_org_hierarchies.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1170-released-2023-03-17","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.17.0 (released 2023-03-17)","title":"rcc.billing 1.17.0 (released 2023-03-17)","text":"Add ETL write org_hierachies VIVO Add schema org_hierarchies (@ChemiKyle) Add cron’d runs sequester_orphans.R (@pbchase) Simplify manual sequestration sequester_orphans.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1160-released-2023-03-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.16.0 (released 2023-03-03)","title":"rcc.billing 1.16.0 (released 2023-03-03)","text":"Add banned_owners rule get_orphaned_projects function Add banned_owners schema (@ChemiKyle) Embrace subdirectories db specific tables testing data (@ChemiKyle) Rename conn mem_conn get_orphaned_projects test (@ChemiKyle) Prevent blank emails new invoice line items (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1150-released-2023-02-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.15.0 (released 2023-02-27)","title":"rcc.billing 1.15.0 (released 2023-02-27)","text":"Add unit test get_orphaned_projects() (@pbchase) Add unresolvable_ownership_issues get_orphans function (@ChemiKyle) Add request_correction_of_bad_ownership_data report (@ChemiKyle) Add erasure project ownership identification columns cleanup_project_ownership_table (@ChemiKyle) Use variable instead hardcoding send_alert_email (@ChemiKyle) Prevent emails RE: unresolvable_ownership_issues sequester_orphans (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1140-released-2023-01-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.14.0 (released 2023-01-27)","title":"rcc.billing 1.14.0 (released 2023-01-27)","text":"Add complete_but_non_sequestered rule get_orphaned_projects (@pbchase) Add warn_completers_of_impending_sequestration.R (@pbchase) Update version numbers NEWS.md conform tagging error 2022-12-19 (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1130-released-2023-01-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.13.0 (released 2023-01-24)","title":"rcc.billing 1.13.0 (released 2023-01-24)","text":"Update get_orphaned_projects reducing horizon 12 11 months (@pbchase) Move warn_owners_of_impending_bill.R back default dates (@pbchase) Update update_invoice_line_items_with_invoicing_details.R (@pbchase) Revert error sequester_orphans.R (@pbchase) Sync invoice_line_item table RC DB update_invoice_line_items_with_invoicing_details (@ChemiKyle) Mark CTSIT-owned projects non-billable update_project_billable_attribute.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1121-released-2022-12-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.12.1 (released 2022-12-19)","title":"rcc.billing 1.12.1 (released 2022-12-19)","text":"Load rcc.billing library cleanup_bad_email_addresses.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1120-released-2022-12-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.12.0 (released 2022-12-19)","title":"rcc.billing 1.12.0 (released 2022-12-19)","text":"Port cleanup_bad_email_addresses rcc.ctsit (@ChemiKyle) Create get_bad_emails_from_log (@ChemiKyle) Update billable_candidates.R (@pbchase) Ignore timestamp updates update_invoice_line_items_with_invoicing_details.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0111-released-2022-12-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.11.1 (released 2022-12-07)","title":"rcc.billing 0.11.1 (released 2022-12-07)","text":"Temporarily move warn_owners_of_impending_bill 3rd 14th month (@pbchase) Add comment guide manual orphan sequestration (@pbchase) Fix new row IDs create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0110-released-2022-11-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.11.0 (released 2022-11-14)","title":"rcc.billing 0.11.0 (released 2022-11-14)","text":"Set invoice_line_item status conditionally based date_of_pmt presence loading data CSBT (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0100-released-2022-11-02","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.10.0 (released 2022-11-02)","title":"rcc.billing 0.10.0 (released 2022-11-02)","text":"Include project_irb_number report/billable_candidates (@ChemiKyle) Add invoice facts billable candidates (@pbchase) Re-enable empty_and_inactive_projects get_orphaned_projects (@pbchase) Adjust id column new_invoice_line_item_communications avoid collisions (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-091-released-2022-10-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.9.1 (released 2022-10-28)","title":"rcc.billing 0.9.1 (released 2022-10-28)","text":"Execute named lists construction lst (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-090-released-2022-10-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.9.0 (released 2022-10-28)","title":"rcc.billing 0.9.0 (released 2022-10-28)","text":"Add transform_invoice_line_items_for_ctsit (@ChemiKyle) Add update_invoice_line_items_with_invoicing_details (@ChemiKyle) Add rule inactive_projects_with_no_viable_users get_orphaned_projects() (@pbchase) Add orphaned_projects logged data sequester_orphans.R (@pbchase) Show user_lastlogin billable_candidates.R (@pbchase) Use full month name instead abbreviation create_and_send_new_redcap_prod_per_project_line_items (@ChemiKyle) Associate month_invoiced project’s birth month rather script run month (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-081-released-2022-10-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.8.1 (released 2022-10-21)","title":"rcc.billing 0.8.1 (released 2022-10-21)","text":"Include GITHUB_PAT docker build step (@pbchase) Pass project_id vector sequester_projects (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-080-released-2022-10-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.8.0 (released 2022-10-21)","title":"rcc.billing 0.8.0 (released 2022-10-21)","text":"Activate sequester_orphans.R (@pbchase) Add filter viable users get_orphaned_projects (@ChemiKyle) Add get_user_rights_and_info (@pbchase) Install rcc.ctsit Dockerfile using GitHub PAT (@pbchase) Make PIs faculty project owners (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-071-released-2022-10-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.7.1 (released 2022-10-04)","title":"rcc.billing 0.7.1 (released 2022-10-04)","text":"Update create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-070-released-2022-10-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.7.0 (released 2022-10-04)","title":"rcc.billing 0.7.0 (released 2022-10-04)","text":"Add get_orphaned_projects() (@pbchase) Add sequester_orphans (@pbchase) Add sequester_projects() (@pbchase) Fix service_type service_type_test_data (@pbchase) Update csbt column output names CTSI ID -> CTSIT ID (@ChemiKyle) Filter non-sequestered projects create_and_send_new_redcap_prod_per_project_line_items (@ChemiKyle) Include project_ownership user identifiers create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-061-released-2022-09-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.6.1 (released 2022-09-28)","title":"rcc.billing 0.6.1 (released 2022-09-28)","text":"Run billable_candidates.R weekly (@pbchase) Fix subject, body, billable_candidates.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-060-released-2022-09-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.6.0 (released 2022-09-28)","title":"rcc.billing 0.6.0 (released 2022-09-28)","text":"Create billable_candidates report (@ChemiKyle) Add deleted projects filter fix birthday_in_previous_month filter creating invoice line items(@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-050-released-2022-09-22","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.5.0 (released 2022-09-22)","title":"rcc.billing 0.5.0 (released 2022-09-22)","text":"Run warn_owners_of_impending_bill.R 1st 23rd month (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-040-released-2022-09-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.4.0 (released 2022-09-07)","title":"rcc.billing 0.4.0 (released 2022-09-07)","text":"Activate warn_owners_of_impending_bill.R (@pbchase) Add correct_project_pi_emails (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-031-released-2022-09-06","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.3.1 (released 2022-09-06)","title":"rcc.billing 0.3.1 (released 2022-09-06)","text":"Catch log errors successes warn_owners_of_impending_bill.R (@ChemiKyle, @pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-030-released-2022-09-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.3.0 (released 2022-09-01)","title":"rcc.billing 0.3.0 (released 2022-09-01)","text":"Add warn_owners_of_impending_bill.R (@ChemiKyle, @pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-020-released-2022-08-30","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.2.0 (released 2022-08-30)","title":"rcc.billing 0.2.0 (released 2022-08-30)","text":"Add warn_owners_of_impending_bill.R (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-012-released-2022-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.2 (released 2022-08-26)","title":"rcc.billing 0.1.2 (released 2022-08-26)","text":"Fix paths cron files (@pbchase) Load rcc.billing update_project_billable_attribute.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-011-released-2022-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.1 (released 2022-08-26)","title":"rcc.billing 0.1.1 (released 2022-08-26)","text":"Build rcc.billing Dockerfile (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-010-released-2022-08-25","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.0 (released 2022-08-25)","title":"rcc.billing 0.1.0 (released 2022-08-25)","text":"Add function connect_to_rcc_billing_db Add function convert_schema_to_sqlite Add function create_and_load_test_table Add function create_table Add function draft_communication_record_from_line_item Add function fix_data_in_invoice_line_item Add function fix_data_in_invoice_line_item_communication Add function fix_data_in_redcap_log_event Add function fix_data_in_redcap_projects Add function fix_data_in_redcap_user_information Add function get_creators Add function get_last_project_user Add function get_privileged_user Add function get_project_pis Add function get_projects_needing_new_owners Add function get_projects_without_owners Add function get_reassigned_line_items Add function get_unpaid_redcap_prod_per_project_line_items Add function invoice_line_item_df_from Add function mutate_columns_to_posixct Add function populate_table Add function transform_invoice_line_items_for_csbt Add function update_billable_by_ownership Add ETL cancel_redcap_prod_per_project_line_item.R Add ETL cleanup_project_ownership_table.R Add ETL create_and_send_new_redcap_prod_per_project_line_items.R Add ETL deploy_initial_rcc_billing_db.R Add ETL fix_bad_activity_and_login_dates.R Add ETL reassign_redcap_prod_per_project_line_item.R Add ETL receive_payments.R Add ETL update_ctsi_study_ids.R Add ETL update_project_billable_attribute.R Add dataset cleanup_project_ownership_test_data Add dataset csbt_column_names Add dataset ctsit_staff Add dataset ctsit_staff_employment_periods Add dataset fiscal_years Add dataset invoice_line_item_communications_test_data Add dataset invoice_line_item_reasons Add dataset invoice_line_item_statuses Add dataset invoice_line_item_test_data Add dataset one_deleted_project_record Add dataset projects_table_fragment Add dataset redcap_entity_project_ownership_test_data Add dataset redcap_log_event_test_data Add dataset redcap_projects_test_data Add dataset redcap_user_information_test_data Add dataset service_instance_test_data Add dataset service_type_test_data","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-000-released-2022-03-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.0.0 (released 2022-03-21)","title":"rcc.billing 0.0.0 (released 2022-03-21)","text":"Initial commit rcc.billing, automated, data-driven service billing system implemented REDCap Custodian (@pbchase)","code":""}] +[{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"Apache License","title":"Apache License","text":"Version 2.0, January 2004 ","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_1-definitions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"1. Definitions","title":"Apache License","text":"“License” shall mean terms conditions use, reproduction, distribution defined Sections 1 9 document. “Licensor” shall mean copyright owner entity authorized copyright owner granting License. “Legal Entity” shall mean union acting entity entities control, controlled , common control entity. purposes definition, “control” means () power, direct indirect, cause direction management entity, whether contract otherwise, (ii) ownership fifty percent (50%) outstanding shares, (iii) beneficial ownership entity. “” (“”) shall mean individual Legal Entity exercising permissions granted License. “Source” form shall mean preferred form making modifications, including limited software source code, documentation source, configuration files. “Object” form shall mean form resulting mechanical transformation translation Source form, including limited compiled object code, generated documentation, conversions media types. “Work” shall mean work authorship, whether Source Object form, made available License, indicated copyright notice included attached work (example provided Appendix ). “Derivative Works” shall mean work, whether Source Object form, based (derived ) Work editorial revisions, annotations, elaborations, modifications represent, whole, original work authorship. purposes License, Derivative Works shall include works remain separable , merely link (bind name) interfaces , Work Derivative Works thereof. “Contribution” shall mean work authorship, including original version Work modifications additions Work Derivative Works thereof, intentionally submitted Licensor inclusion Work copyright owner individual Legal Entity authorized submit behalf copyright owner. purposes definition, “submitted” means form electronic, verbal, written communication sent Licensor representatives, including limited communication electronic mailing lists, source code control systems, issue tracking systems managed , behalf , Licensor purpose discussing improving Work, excluding communication conspicuously marked otherwise designated writing copyright owner “Contribution.” “Contributor” shall mean Licensor individual Legal Entity behalf Contribution received Licensor subsequently incorporated within Work.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_2-grant-of-copyright-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"2. Grant of Copyright License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable copyright license reproduce, prepare Derivative Works , publicly display, publicly perform, sublicense, distribute Work Derivative Works Source Object form.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_3-grant-of-patent-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"3. Grant of Patent License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable (except stated section) patent license make, made, use, offer sell, sell, import, otherwise transfer Work, license applies patent claims licensable Contributor necessarily infringed Contribution(s) alone combination Contribution(s) Work Contribution(s) submitted. institute patent litigation entity (including cross-claim counterclaim lawsuit) alleging Work Contribution incorporated within Work constitutes direct contributory patent infringement, patent licenses granted License Work shall terminate date litigation filed.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_4-redistribution","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"4. Redistribution","title":"Apache License","text":"may reproduce distribute copies Work Derivative Works thereof medium, without modifications, Source Object form, provided meet following conditions: () must give recipients Work Derivative Works copy License; (b) must cause modified files carry prominent notices stating changed files; (c) must retain, Source form Derivative Works distribute, copyright, patent, trademark, attribution notices Source form Work, excluding notices pertain part Derivative Works; (d) Work includes “NOTICE” text file part distribution, Derivative Works distribute must include readable copy attribution notices contained within NOTICE file, excluding notices pertain part Derivative Works, least one following places: within NOTICE text file distributed part Derivative Works; within Source form documentation, provided along Derivative Works; , within display generated Derivative Works, wherever third-party notices normally appear. contents NOTICE file informational purposes modify License. may add attribution notices within Derivative Works distribute, alongside addendum NOTICE text Work, provided additional attribution notices construed modifying License. may add copyright statement modifications may provide additional different license terms conditions use, reproduction, distribution modifications, Derivative Works whole, provided use, reproduction, distribution Work otherwise complies conditions stated License.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_5-submission-of-contributions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"5. Submission of Contributions","title":"Apache License","text":"Unless explicitly state otherwise, Contribution intentionally submitted inclusion Work Licensor shall terms conditions License, without additional terms conditions. Notwithstanding , nothing herein shall supersede modify terms separate license agreement may executed Licensor regarding Contributions.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_6-trademarks","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"6. Trademarks","title":"Apache License","text":"License grant permission use trade names, trademarks, service marks, product names Licensor, except required reasonable customary use describing origin Work reproducing content NOTICE file.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_7-disclaimer-of-warranty","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"7. Disclaimer of Warranty","title":"Apache License","text":"Unless required applicable law agreed writing, Licensor provides Work (Contributor provides Contributions) “” BASIS, WITHOUT WARRANTIES CONDITIONS KIND, either express implied, including, without limitation, warranties conditions TITLE, NON-INFRINGEMENT, MERCHANTABILITY, FITNESS PARTICULAR PURPOSE. solely responsible determining appropriateness using redistributing Work assume risks associated exercise permissions License.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_8-limitation-of-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"8. Limitation of Liability","title":"Apache License","text":"event legal theory, whether tort (including negligence), contract, otherwise, unless required applicable law (deliberate grossly negligent acts) agreed writing, shall Contributor liable damages, including direct, indirect, special, incidental, consequential damages character arising result License use inability use Work (including limited damages loss goodwill, work stoppage, computer failure malfunction, commercial damages losses), even Contributor advised possibility damages.","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"id_9-accepting-warranty-or-additional-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"9. Accepting Warranty or Additional Liability","title":"Apache License","text":"redistributing Work Derivative Works thereof, may choose offer, charge fee , acceptance support, warranty, indemnity, liability obligations /rights consistent License. However, accepting obligations, may act behalf sole responsibility, behalf Contributor, agree indemnify, defend, hold Contributor harmless liability incurred , claims asserted , Contributor reason accepting warranty additional liability. END TERMS CONDITIONS","code":""},{"path":"https://ctsit.github.io/rcc.billing/LICENSE.html","id":"appendix-how-to-apply-the-apache-license-to-your-work","dir":"","previous_headings":"","what":"APPENDIX: How to apply the Apache License to your work","title":"Apache License","text":"apply Apache License work, attach following boilerplate notice, fields enclosed brackets [] replaced identifying information. (Don’t include brackets!) text enclosed appropriate comment syntax file format. also recommend file class name description purpose included “printed page” copyright notice easier identification within third-party archives.","code":"Copyright [2022] [University of Florida] Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"background","dir":"Articles","previous_headings":"","what":"Background","title":"Billing for REDCap support work","text":"CTS-long-standing policy charging initial consultations. Typically consultations limited hour. work beyond billed, often wasn’t due overhead billing comparatively small number hours logged. hours made smaller policy billing 1/4 hour. billing disincentives arose work logged one project often spans multiple support requests. quite hard know allowed bill small amount work almost never billed anything. support billing component REDCap automated billing designed manage complexity low cost billing 30 minutes work economic justifiable.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"support-request-system","dir":"Articles","previous_headings":"","what":"Support request system","title":"Billing for REDCap support work","text":"CTS-’s REDCap support request system REDCap project one survey request intake one repeating form logging responses. system existed since Fall 2014. required several small modifications useful billed service, changes straight-forward built REDCap forms. Data access updates also easy use REDCap API .","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"pro-bono-work-and-the-free-consultation","dir":"Articles","previous_headings":"","what":"Pro bono work and the free consultation","title":"Billing for REDCap support work","text":"Managing free consultation required way making billable rate vary. making rate categorical field three choices–current billable rate, old billable rate, $0/hour. rate defaults current rate new response records billable default. REDCap staffers responding request can leave rate -can select $0/hour believe work pro bono. occur work executed wrong first attempt required rework. billing system scheduled script, update_probono_service_request_records.R runs repeatedly business hours determine projects logged hours receive hourly rate adjustment $0/hour. project already hour logged $0/hr, change anything. script distinguish hours marked pro bono hours human marked pro bono.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"communicating-free-support-time-remaining","dir":"Articles","previous_headings":"","what":"Communicating free support time remaining","title":"Billing for REDCap support work","text":"customers need know free support time remaining. CTS-communicates customers using data_driven_project_banner REDCap External module can present banner database query returns record build banner query result. way customers see started using free support time run . make data available data_driven_project_banner, billing system scheduled script, update_free_support_time_remaining.R runs repeatedly business hours copy summary data pro bono hours table, free_support_time_remaining REDCap database. resulting banner looks like : billing policy also communicated every time someone submits support request reminder:","code":"Fee-based services ($130/hour): - Any assistance over the one-hour of free time PER PROJECT (PID). - Assistance with data transformations and data imports. - Project building/configuration services. - Assistance with configuring External Modules. - Assistance/help with using the API. Free services: - 1 hour of user support per project ID (PID). - Account unsuspensions. - Quotes for grant applications. - Project un-sequestration."},{"path":"https://ctsit.github.io/rcc.billing/articles/billing_for_support.html","id":"expanding-the-scope-of-support-billing","dir":"Articles","previous_headings":"","what":"Expanding the scope of support billing","title":"Billing for REDCap support work","text":"Historically, REDCap project build work logged Atlassian Jira system. ’s easy log time system, getting data require yet another interface related data transformations make data conform REDCap Automated Billing system. save effort, REDCap project build work moved Jira REDCap support request system first month automated billing system started managing support requests. reduce labor generating invoices manual exports data JIRA system. projects follow suit 3rd month implementation.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/cleanup_bad_email_addresses.html","id":"inputs","dir":"Articles","previous_headings":"","what":"Inputs","title":"cleanup_bad_email_addresses","text":"redcap database tables: redcap_user_information email stream sender automated messages rcc billing database tables: rcc_job_log get log records email address rejected mail host vivo database tables: WH_UFDIR_PERSON_MDM, WH_GL_ACCT","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/cleanup_bad_email_addresses.html","id":"outputs","dir":"Articles","previous_headings":"","what":"Outputs","title":"cleanup_bad_email_addresses","text":"redcap database tables: redcap_user_information rcc billing tables: rcc_job_log","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/novel_concepts.html","id":"sequestration","dir":"Articles","previous_headings":"","what":"Sequestration","title":"Novel Concepts","text":"Project sequestration novel project lifecycle stage orphaned unpaid projects. ’s step path project deletion. Sequestration co-opts REDCap’s completed projects concept rebranding via UI changes provided project_sequestration_ui_hack, REDCap external module created just purpose. sequestered module appear like REDCap’s Projects page:","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/novel_concepts.html","id":"extending-the-deleted-project-life","dir":"Articles","previous_headings":"","what":"Extending the deleted project life","title":"Novel Concepts","text":"Deleting abandoned projects valuable component billing system. reduces amount sensitive restricted data REDCap system ’s needed. removes data system might poorly described yet without owner attest provenance purpose. Yet can hard distinguish abandoned project one owned someone ignoring email. mitigate risk deleting something value, automated deletion tasks take conservative approach easy reverse moment project deletion. part risk mitigation, UF REDCap system uses patch REDCap core code, set_project_deletion_time. extends time deletion request actual deletion event data purged 365 days. REDCap projects straightforward undelete purge event occurs, yet quite difficult recover immediately purge event. additional 11 months data purge provides valuable safety buffer.","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"daily","dir":"Articles","previous_headings":"","what":"Daily","title":"When jobs run","text":"00:47 - cleanup_project_ownership_table 1:05 - update_project_billable_attribute","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"weekday-business-hours-every-two-hours-700---1900","dir":"Articles","previous_headings":"","what":"Weekday business hours, every two hours, 7:00 - 19:00","title":"When jobs run","text":"7:03 - 17:03 - update_probono_service_request_records 7:07 - 17:07 - update_free_support_time_remaining","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"weekly","dir":"Articles","previous_headings":"","what":"Weekly","title":"When jobs run","text":"Monday 3:11 - update uf fiscal orgs data (temporarily disabled) Monday 7:03 - Send billable_candidates report Tuesday 10:00 - cleanup_bad_email_addresses Tuesday 10:03 - cleanup_bad_project_pi_email_addresses","code":""},{"path":"https://ctsit.github.io/rcc.billing/articles/when_jobs_run.html","id":"monthly","dir":"Articles","previous_headings":"","what":"Monthly","title":"When jobs run","text":"First Tuesday month - sequester_unpaid_projects Day 1 8:02 - sequester_orphans Day 1 10:03 - warn_owners_of_impending_bill next month Day 1 10:05 - request_correction_of_bad_ownership_data study team Day 5 8:05 - create_and_send_new_invoice_line_items Day 23 8:02 - sequester_orphans Day 23 10:03 - warn_owners_of_impending_bill next month Day 28 8:02 - sequester_orphans","code":""},{"path":"https://ctsit.github.io/rcc.billing/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Philip Chase. Author, maintainer. Laurence James-Woodley. Author. Kyle Chesney. Author. Taryn Stoffs. Contributor. Michael Bentz. Author. Christopher Barnes. Contributor. Sai Pavan Kamma. Author.","code":""},{"path":"https://ctsit.github.io/rcc.billing/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Chase P, James-Woodley L, Chesney K, Bentz M, Kamma S (2024). rcc.billing: REDCap Automated Billing. R package version 1.43.1, https://ctsit.github.io/rcc.billing/.","code":"@Manual{, title = {rcc.billing: REDCap Automated Billing}, author = {Philip Chase and Laurence James-Woodley and Kyle Chesney and Michael Bentz and Sai Pavan Kamma}, year = {2024}, note = {R package version 1.43.1}, url = {https://ctsit.github.io/rcc.billing/}, }"},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"overview","dir":"","previous_headings":"","what":"Overview","title":"REDCap Automated Billing","text":"REDCap Automated Billing automated, data-driven service billing system REDCap system. turn REDCap system cost center revenue generator address proliferation orphaned REDCap projects, University Florida’s CTS-charges modest annual fee project. created REDCap Automated Billing. generates revenue, reduces data privacy risks incentivizing deletion abandoned projects, improves quality research productivity metrics. requires us improve investigator project metadata, partner fiscal staff, automate novel data workflows.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"motivation","dir":"","previous_headings":"","what":"Motivation","title":"REDCap Automated Billing","text":"Generate revenue offset costs improve service. Reduce data exposure risk via deletion unneeded things. Improve quality metrics counting junk projects. Reduce support staff workload.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"what-we-learned","dir":"","previous_headings":"","what":"What we learned","title":"REDCap Automated Billing","text":"can make money charging REDCap services. Charges tool incentivize customer behavior. Good people data project ownership data required. thing -communication. Partner fiscal team. Use incremental iterative approach. Automate everything.","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"novel-concepts","dir":"","previous_headings":"","what":"Novel Concepts","title":"REDCap Automated Billing","text":"REDCap Automated Billing introduces concepts outside normal scope REDCap system. described Novel Concepts","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"billing-for-support-work","dir":"","previous_headings":"","what":"Billing for support work","title":"REDCap Automated Billing","text":"complexities billing REDCap support work described Billing REDCap support work","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"business-workflows","dir":"","previous_headings":"","what":"Business workflows","title":"REDCap Automated Billing","text":"cleanup_bad_email_addresses cleanup_bad_project_pi_email_addresses cleanup_project_ownership_table Ban accounts/emails people left institution. See update_invoice_line_items_with_invoicing_details update_project_billable_attribute delete_abandoned_projects sequester_orphans create_and_send_new_invoice_line_items update_invoice_line_items_with_invoicing_details sequester_unpaid_projects cancel_invoice_line_items (Ad hoc) write_uf_fiscal_orgs_to_org_hierarchies (temporarily disabled) write_uf_fiscal_orgs_to_person_org (temporarily disabled) update_free_support_time_remaining update_probono_service_request_records billable_candidates revenue_status_and_projections remind_owners_to_review_ownership request_correction_of_bad_ownership_data warn_owners_of_impending_bill","code":""},{"path":"https://ctsit.github.io/rcc.billing/index.html","id":"when-jobs-run","dir":"","previous_headings":"","what":"When jobs run","title":"REDCap Automated Billing","text":"ETLs reports run regular basis via Cron. schedule events can found jobs run","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"named list dataframes used test functions written cleanup_project_ownership.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"","code":"cleanup_project_ownership_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"named list 5 dataframes: redcap_user_information REDCap Core table redcap_projects REDCap Core table redcap_user_rights REDCap Core table redcap_user_roles REDCap Core table redcap_project_last_users local table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/cleanup_project_ownership_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"cleanup_project_ownership_test_data — cleanup_project_ownership_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":null,"dir":"Reference","previous_headings":"","what":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"Connect rcc_billing DB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"","code":"connect_to_rcc_billing_db(drv = RMariaDB::MariaDB(), continue_on_error = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"drv, object inherits DBIDriver (e.g. RMariaDB::MariaDB()), existing DBIConnection object (order clone existing connection). continue_on_error TRUE continue execution error, FALSE quit non interactive sessions error","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"S4 object. Run ?dbConnect information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/connect_to_rcc_billing_db.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Connect to the rcc_billing DB — connect_to_rcc_billing_db","text":"","code":"if (FALSE) { # \\dontrun{ # connect to the RCC Billing database using RCCBILLING_* environment variables con <- connect_to_rcc_billing_db() # connect to sqlite RCC Billing db con <- connect_to_rcc_billing_db(drv = RSQLite::SQLite()) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":null,"dir":"Reference","previous_headings":"","what":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"Locates MySQL schema file table_name, converts sqlite schema returns schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"","code":"convert_schema_to_sqlite(table_name)"},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"table_name, name table convert","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"sqlite schema table_name","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/convert_schema_to_sqlite.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Locates a MySQL schema file for table_name, converts it to a sqlite schema and returns that schema. — convert_schema_to_sqlite","text":"","code":"if (FALSE) { # \\dontrun{ convert_schema_to_sqlite(table_name = \"service_type\") } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":null,"dir":"Reference","previous_headings":"","what":"create_and_load_test_table — create_and_load_test_table","title":"create_and_load_test_table — create_and_load_test_table","text":"Create named table stored schema optionally load stored test data ","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"create_and_load_test_table — create_and_load_test_table","text":"","code":"create_and_load_test_table( conn, table_name, load_test_data = TRUE, is_sqllite = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"create_and_load_test_table — create_and_load_test_table","text":"conn, DBI Connection object table_name, name table load_test_data, logical indicate test data loaded is_sqllite, logical indicate DBI object SQLLite DB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"create_and_load_test_table — create_and_load_test_table","text":"test data read back new table NULL","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_and_load_test_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"create_and_load_test_table — create_and_load_test_table","text":"","code":"conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") result <- create_and_load_test_table( conn = conn, table_name = \"invoice_line_item_communications\", is_sqllite = TRUE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":null,"dir":"Reference","previous_headings":"","what":"Creates a table based on a schema. — create_table","title":"Creates a table based on a schema. — create_table","text":"Creates table based schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Creates a table based on a schema. — create_table","text":"","code":"create_table(conn, schema)"},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Creates a table based on a schema. — create_table","text":"conn, DBI connection object schema, ddl execute conn","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/create_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Creates a table based on a schema. — create_table","text":"","code":"if (FALSE) { # \\dontrun{ table_name <- \"service_type\" conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") schema <- convert_schema_to_sqlite(table_name) create_table(conn = conn, schema = schema) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":null,"dir":"Reference","previous_headings":"","what":"csbt_column_names — csbt_column_names","title":"csbt_column_names — csbt_column_names","text":"Column names useful CTSI-billing","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"csbt_column_names — csbt_column_names","text":"","code":"csbt_column_names"},{"path":"https://ctsit.github.io/rcc.billing/reference/csbt_column_names.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"csbt_column_names — csbt_column_names","text":"data frame 12 rows 2 variables: ctsit character: Internal database columns csbt character: Billing invoice database column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":null,"dir":"Reference","previous_headings":"","what":"CTS-IT Staff — ctsit_staff","title":"CTS-IT Staff — ctsit_staff","text":"usernames CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CTS-IT Staff — ctsit_staff","text":"","code":"ctsit_staff"},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"CTS-IT Staff — ctsit_staff","text":"data frame 6 rows 1 variable: redcap_username character: REDCap username. Typically Gatorlink ID.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":null,"dir":"Reference","previous_headings":"","what":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"Usernames employment periods CTS-staff. dataset used inform default data ownership setting billable flags REDCap Entity / Project Ownership table. Multiple employment periods represented multiple rows","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"","code":"ctsit_staff_employment_periods"},{"path":"https://ctsit.github.io/rcc.billing/reference/ctsit_staff_employment_periods.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"ctsit_staff_employment_periods — ctsit_staff_employment_periods","text":"data frame 7 rows 2 variables: redcap_username character REDCap username. Typically Gatorlink ID. employment_interval double lubridate time interval term_date_is_accurate boolean indicating quality termination date","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":null,"dir":"Reference","previous_headings":"","what":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"Adds metadata necessary sending emails invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"","code":"draft_communication_record_from_line_item(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"invoice_line_items dataframe invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"input dataframe following columns added: updated - timestamp provided get_script_run_time sender - value set Sys.getenv(\"EMAIL_FROM\") recipient - value set Sys.getenv(\"EMAIL_TO\") date_sent - timestamp provided get_script_run_time date_received - placeholder timestamp, .POSIXct(NA) script_name - script name returned get_script_name","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/draft_communication_record_from_line_item.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Adds metadata necessary for sending emails to an invoice_line_item dataframe, e.g. transform_invoice_line_items_for_csbt — draft_communication_record_from_line_item","text":"","code":"if (FALSE) { # \\dontrun{ tbl(conn, \"invoice_line_item\") |> collect() |> draft_communication_record_from_line_item() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":null,"dir":"Reference","previous_headings":"","what":"fiscal_years — fiscal_years","title":"fiscal_years — fiscal_years","text":"dataframe fiscal years labels 2019-2020 2039-2040","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fiscal_years — fiscal_years","text":"","code":"fiscal_years"},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"fiscal_years — fiscal_years","text":"data frame 21 rows 2 variables: csbt_label character string representing fiscal year range, format YYYY-YYYY fy_interval double lubridate interval object start UF fiscal year (July 1) end","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fiscal_years.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"fiscal_years — fiscal_years","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"","code":"fix_data_in_invoice_line_item(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"data - dataframe data invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_invoice_line_item — fix_data_in_invoice_line_item","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_invoice_line_item(invoice_line_item_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"","code":"fix_data_in_invoice_line_item_communication(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"data - dataframe data invoice_line_item_communication table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_invoice_line_item_communication.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_invoice_line_item_communication — fix_data_in_invoice_line_item_communication","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_invoice_line_item_communication(invoice_line_item_communication_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"","code":"fix_data_in_redcap_log_event(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"data - dataframe containing data redcap_log_event tables","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_log_event.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_log_event — fix_data_in_redcap_log_event","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_log_event(redcap_log_event_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"","code":"fix_data_in_redcap_projects(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"data - dataframe data redcap_projects table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_projects.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_projects — fix_data_in_redcap_projects","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_projects(redcap_projects_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":null,"dir":"Reference","previous_headings":"","what":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"Fixes column data types can vary MySQL/MariaDB SQLite3. allows testing SQLite3 production MariaDB","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"","code":"fix_data_in_redcap_user_information(data)"},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"data - dataframe data redcap_user_information table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/fix_data_in_redcap_user_information.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"fix_data_in_redcap_user_information — fix_data_in_redcap_user_information","text":"","code":"if (FALSE) { # \\dontrun{ fix_data_in_redcap_user_information(redcap_user_information_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":null,"dir":"Reference","previous_headings":"","what":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"Get bad email addresses rcc.billing log","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"","code":"get_bad_emails_from_log(age_of_oldest_log_in_days = 8)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"age_of_oldest_log_in_days - optional parameter indicating age days oldest log fie read. Defaults 8 days.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"vector email addresses resulted error rcc_job_log table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_bad_emails_from_log.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get bad email addresses from the rcc.billing log — get_bad_emails_from_log","text":"","code":"if (FALSE) { # \\dontrun{ bad_recipients <- get_bad_emails_from_log(age_of_oldest_log_in_days = 31) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":null,"dir":"Reference","previous_headings":"","what":"get_billable_candidates — get_billable_candidates","title":"get_billable_candidates — get_billable_candidates","text":"Return data frame REDCap projects relevant billing details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_billable_candidates — get_billable_candidates","text":"","code":"get_billable_candidates(rc_conn, rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_billable_candidates — get_billable_candidates","text":"rc_conn - DBI connection object REDCap database rcc_billing_conn - DBI connection object rcc.billing database","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_billable_candidates — get_billable_candidates","text":"dataframe REDCap projects relevant billing details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_billable_candidates.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_billable_candidates — get_billable_candidates","text":"","code":"if (FALSE) { # \\dontrun{ library(tidyverse) library(rcc.billing) library(lubridate) library(DBI) library(dotenv) library(redcapcustodian) init_etl(\"billable_candidates\") rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() billable_candidates <- get_billable_candidates(rc_conn, rcc_billing_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":null,"dir":"Reference","previous_headings":"","what":"get_creators — get_creators","title":"get_creators — get_creators","text":"Returns dataframe project creator usernames non-suspended, non-redcap-staff, primary email address. Suspended creators can optionally included.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_creators — get_creators","text":"","code":"get_creators( redcap_projects, redcap_user_information, redcap_staff_employment_periods, include_suspended_users = FALSE, return_project_ownership_format = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_creators — get_creators","text":"redcap_projects, contents REDCap table name. redcap_user_information, contents REDCap table name. redcap_staff_employment_periods, dataset redcap usernames employment intervals one interval per row include_suspended_users, Include users whose accounts suspended return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_creators — get_creators","text":"dataframe project creators redcap_projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_creators.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_creators — get_creators","text":"","code":"if (FALSE) { # \\dontrun{ unsuspended_creators <- get_creators( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, return_project_ownership_format = T ) creators <- get_creators( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, include_suspended_users = T, return_project_ownership_format = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":null,"dir":"Reference","previous_headings":"","what":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"function generates mapping CTSI study IDs project IDs invoice_line_item REDCap Service Request project. filters invoice line items service type codes 1 2, ensuring CTSI study IDs present, collects distinct pairs project IDs CTSI study IDs.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"","code":"get_ctsi_study_id_to_project_id_map(service_requests, rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"service_requests data frame service requests, REDCap Service Request PID 1414. rcc_billing_conn connection REDCap billing database. connect_to_rcc_billing_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"data frame distinct project_id ctsi_study_id columns, representing mapping project IDs CTSI study IDs.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_ctsi_study_id_to_project_id_map.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map CTSI Study IDs to Project IDs — get_ctsi_study_id_to_project_id_map","text":"","code":"if (FALSE) { # \\dontrun{ get_ctsi_study_id_to_project_id_map(service_requests, rcc_billing_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":null,"dir":"Reference","previous_headings":"","what":"get_last_project_user — get_last_project_user","title":"get_last_project_user — get_last_project_user","text":"Returns last user log event project. function vectorized.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_last_project_user — get_last_project_user","text":"","code":"get_last_project_user(con, pid)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_last_project_user — get_last_project_user","text":"con, DBI connection object REDCap database pid, project ID project interest.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_last_project_user — get_last_project_user","text":"Username last user log actio project","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_last_project_user.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_last_project_user — get_last_project_user","text":"","code":"if (FALSE) { # \\dontrun{ get_last_project_user( con = redcap_connection, pid = project_id ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":null,"dir":"Reference","previous_headings":"","what":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"Given service instance data invoice line item data, identify new CTSI Study IDs invoice line item data return revised service instance records.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"","code":"get_new_ctsi_study_ids(service_instance, invoice_line_item)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"service_instance - dataframe service_instance wiht columns `service_instance_id` `ctsi_study_id`. likely entire contents table. invoice_line_item - dataframe invoice line item records columns `service_instance_id` `ctsi_study_id`.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"service_instance records service_instance `ctsi_study_id` NA now known.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_ctsi_study_ids.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Find previously unknown CTSI Study IDs in invoice_line_item data — get_new_ctsi_study_ids","text":"","code":"if (FALSE) { # \\dontrun{ library(redcapcustodian) library(rcc.billing) library(RMariaDB) library(DBI) library(tidyverse) library(dotenv) rcc_billing_conn <- connect_to_rcc_billing_db() service_instance <- tbl(rcc_billing_conn, \"service_instance\") %>% collect() invoice_line_item <- tbl(rcc_billing_conn, \"invoice_line_item\") %>% collect() get_new_ctsi_study_ids(service_instance, invoice_line_item) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"Get new project billing invoice line items given dataframe projects invoice, initial state invoice_line_item table, connection redcap database, connection rcc billing database.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"","code":"get_new_project_invoice_line_items( projects_to_invoice, initial_invoice_line_item, rc_conn, rcc_billing_conn, api_uri )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"projects_to_invoice dataframe projects invoice initial_invoice_line_item dataframe initial state invoice_line_item table rc_conn DBI connection REDCap database rcc_billing_conn DBI connection rcc billing database api_uri URI redcap host's API interface","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_invoice_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get new project billing invoice line items given a dataframe of projects to invoice, the initial state of the invoice_line_item table, a connection to the redcap database, and a connection to the rcc billing database. — get_new_project_invoice_line_items","text":"data frame new invoice line items","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":null,"dir":"Reference","previous_headings":"","what":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"Get new service instances need created given dataframe projects_to_invoice dataframe initial service_instance records.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"","code":"get_new_project_service_instances( projects_to_invoice, initial_service_instance )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"projects_to_invoice - projects need create invoice line items initial_service_instance - dataframe existing service instance table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"dataframe new service_instance rows","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_new_project_service_instances.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get new service instances that need to be created given a dataframe of projects_to_invoice and a dataframe of the initial service_instance records. — get_new_project_service_instances","text":"","code":"if (FALSE) { # \\dontrun{ get_new_project_service_instances(projects_to_invoice, initial_service_instance) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"get_orphaned_projects — get_orphaned_projects","title":"get_orphaned_projects — get_orphaned_projects","text":"Return dataframe projects orphaned","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_orphaned_projects — get_orphaned_projects","text":"","code":"get_orphaned_projects(rc_conn, rcc_billing_conn, months_previous = 0)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_orphaned_projects — get_orphaned_projects","text":"rc_conn - connection redcap database, connect_to_redcap_db rcc_billing_conn - connection rcc_billing database, connect_to_rcc_billing_db months_previous - nth month previous today consider","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_orphaned_projects — get_orphaned_projects","text":"dataframe describing orphaned projects project_id - project_id orphaned project reason - project selected priority - priority reason","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_orphaned_projects.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_orphaned_projects — get_orphaned_projects","text":"","code":"if (FALSE) { # \\dontrun{ get_orphaned_projects( rc_conn = rc_conn, rcc_billing_conn = rcc_billing_conn, months_previous = 0 ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":null,"dir":"Reference","previous_headings":"","what":"get_privileged_user — get_privileged_user","title":"get_privileged_user — get_privileged_user","text":"Returns dataframe project IDs usernames users design user_rights non-suspended, non-redcap-staff, primary email address. Optionally include users privilege project. Optionally include suspended users.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_privileged_user — get_privileged_user","text":"","code":"get_privileged_user( redcap_projects, redcap_user_information, redcap_staff_employment_periods, redcap_user_rights, redcap_user_roles, include_low_privilege_users = FALSE, include_suspended_users = FALSE, return_project_ownership_format = FALSE )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_privileged_user — get_privileged_user","text":"redcap_projects, contents REDCap table name. redcap_user_information, contents REDCap table name. redcap_staff_employment_periods, dataset redcap usernames employment intervals one interval per row redcap_user_rights, contents REDCap table name. redcap_user_roles, contents REDCap table name. include_low_privilege_users, Include users whose accounts permission project include_suspended_users, Include users whose accounts suspended return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_privileged_user — get_privileged_user","text":"dataframe privileged, _user_ accounts projects provided","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_privileged_user.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_privileged_user — get_privileged_user","text":"","code":"if (FALSE) { # \\dontrun{ unsuspended_high_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, return_project_ownership_format = T ) unsuspended_low_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, include_low_privilege_users = T, include_suspended_users = FALSE, return_project_ownership_format = T ) any_low_privilege_user <- get_privileged_user( redcap_projects = redcap_projects, redcap_user_information = redcap_user_information, redcap_staff_employment_periods = ctsit_staff_employment_periods, redcap_user_rights = redcap_user_rights, redcap_user_roles = redcap_user_roles, include_low_privilege_users = T, include_suspended_users = T, return_project_ownership_format = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":null,"dir":"Reference","previous_headings":"","what":"Update Pro Bono Service Request Details — get_probono_service_request_updates","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"function processes dataframe service requests update billable_rate field","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"","code":"get_probono_service_request_updates(service_requests)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"service_requests dataframe containing service request data REDCap PID 1414","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"Returns dataframe updated billable rate","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_probono_service_request_updates.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update Pro Bono Service Request Details — get_probono_service_request_updates","text":"","code":"if (FALSE) { # \\dontrun{ updates <- get_probono_service_request_updates(service_requests) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Project Details for Billing — get_project_details_for_billing","title":"Get Project Details for Billing — get_project_details_for_billing","text":"function retrieves detailed information specific projects billing purposes. queries: redcap_projects redcap_entity_project_ownership redcap_user_information invoice_line_item","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Project Details for Billing — get_project_details_for_billing","text":"","code":"get_project_details_for_billing(rc_conn, rcc_billing_conn, project_ids)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Project Details for Billing — get_project_details_for_billing","text":"rc_conn REDCap database connection, e.g. object returned connect_to_redcap_db rcc_billing_conn connection REDCap billing database. connect_to_rcc_billing_db project_ids Vector project IDs retrieve details .","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Project Details for Billing — get_project_details_for_billing","text":"data frame project details.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_details_for_billing.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Project Details for Billing — get_project_details_for_billing","text":"","code":"if (FALSE) { # \\dontrun{ rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() project_ids <- c(12, 14, 22) project_details <- get_project_details_for_billing(rc_conn, rcc_billing_con, project_ids) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":null,"dir":"Reference","previous_headings":"","what":"Get important boolean flags that describe projects — get_project_flags","title":"Get important boolean flags that describe projects — get_project_flags","text":"Get important boolean flags describe projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get important boolean flags that describe projects — get_project_flags","text":"","code":"get_project_flags(rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get important boolean flags that describe projects — get_project_flags","text":"rc_conn DBI connection object REDCap Database system uses UF extensions REDCap Project Ownership","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get important boolean flags that describe projects — get_project_flags","text":"dataframe boolean flags every REDCap project redcap_projects table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_flags.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get important boolean flags that describe projects — get_project_flags","text":"","code":"if (FALSE) { # \\dontrun{ get_project_flags(rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":null,"dir":"Reference","previous_headings":"","what":"get_project_pis — get_project_pis","title":"get_project_pis — get_project_pis","text":"Returns dataframe project_PI details redcap_projects PIs email address project_pi_email","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_project_pis — get_project_pis","text":"","code":"get_project_pis(redcap_projects, return_project_ownership_format = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_project_pis — get_project_pis","text":"redcap_projects, contents REDCap table name. return_project_ownership_format, Rename columns match redcap_entity_project_ownership format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_project_pis — get_project_pis","text":"dataframe project_PI details redcap_projects","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_project_pis.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_project_pis — get_project_pis","text":"","code":"get_project_pis( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, return_project_ownership_format = TRUE ) #> # A tibble: 1 × 5 #> pid email firstname lastname username #> #> 1 28 tfc@example.org Thomas Chase NA"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":null,"dir":"Reference","previous_headings":"","what":"get_projects_needing_new_owners — get_projects_needing_new_owners","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"Returns project IDs projects owned REDCap user primary email address","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"","code":"get_projects_needing_new_owners( redcap_entity_project_ownership, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"redcap_entity_project_ownership, contents REDCap Project Ownership table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_needing_new_owners.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_projects_needing_new_owners — get_projects_needing_new_owners","text":"","code":"get_projects_needing_new_owners( redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership, redcap_user_information = cleanup_project_ownership_test_data$redcap_user_information ) #> [1] 29 30 31 32 33"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":null,"dir":"Reference","previous_headings":"","what":"get_projects_without_owners — get_projects_without_owners","title":"get_projects_without_owners — get_projects_without_owners","text":"Returns project_ids projects without owners","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_projects_without_owners — get_projects_without_owners","text":"","code":"get_projects_without_owners(redcap_projects, redcap_entity_project_ownership)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_projects_without_owners — get_projects_without_owners","text":"redcap_projects, contents REDCap table name. redcap_entity_project_ownership, contents REDCap Project Ownership table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_projects_without_owners — get_projects_without_owners","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_projects_without_owners.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_projects_without_owners — get_projects_without_owners","text":"","code":"get_projects_without_owners( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership ) #> [1] 18 19 20 24"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of reassigned line items — get_reassigned_line_items","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"invoices sent, investigators report projects belong . CTS-change ownership projects new owner. cases, customer change ownership project . CTS-create report differences project ownership investigators unpaid, invoiced project. CTS-update tables tell CSBT change.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"","code":"get_reassigned_line_items(sent_line_items, rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"sent_line_items dataframe returned get_unpaid_redcap_prod_per_project_line_items rc_conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"dataframe revised redcap project invoice_line_items reassigned new owners","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/get_reassigned_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of reassigned line items — get_reassigned_line_items","text":"","code":"if (FALSE) { # \\dontrun{ rc_conn <- connect_to_redcap_db() rcc_billing_conn <- connect_to_rcc_billing_db() sent_line_items <- get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn) reassigned_line_items <- get_reassigned_line_items(sent_line_items, rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":null,"dir":"Reference","previous_headings":"","what":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"Returns project_ids projects viable PI data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"","code":"get_research_projects_not_using_viable_pi_data( redcap_projects, redcap_entity_project_ownership, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"redcap_projects, contents REDCap table name. redcap_entity_project_ownership, contents REDCap Project Ownership table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"vector project IDs","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_research_projects_not_using_viable_pi_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_research_projects_not_using_viable_pi_data — get_research_projects_not_using_viable_pi_data","text":"","code":"get_research_projects_not_using_viable_pi_data( redcap_projects = cleanup_project_ownership_test_data$redcap_projects, redcap_entity_project_ownership = cleanup_project_ownership_test_data$redcap_entity_project_ownership, redcap_user_information = cleanup_project_ownership_test_data$redcap_user_information ) #> integer(0)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Assemble line items for service requests billing — get_service_request_line_items","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"Assemble line items service requests billing","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"","code":"get_service_request_line_items(service_requests, rc_billing_conn, rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"service_requests data frame service requests, REDCap Service Request PID 1414. rc_billing_conn connection REDCap billing database containing invoice_line_items table. connect_to_rcc_billing_db rc_conn connection REDCap database. connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"data frame line items service requests billing.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Assemble line items for service requests billing — get_service_request_line_items","text":"","code":"if (FALSE) { # \\dontrun{ line_items <- get_service_request_line_items(service_requests, rc_billing_conn, rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Service Request Lines — get_service_request_lines","title":"Get Service Request Lines — get_service_request_lines","text":"function processes dataset service requests extract transform various service details. groups response data record_id, service_date, probono status summarize response data create source dataset invoice line items tasks.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Service Request Lines — get_service_request_lines","text":"","code":"get_service_request_lines(service_requests, return_all_records = F)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Service Request Lines — get_service_request_lines","text":"service_requests data frame service requests, REDCap Service Request PID 1414. return_all_records boolean indicate every record returned just last month's records","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Service Request Lines — get_service_request_lines","text":"data frame response details service request","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_service_request_lines.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Service Request Lines — get_service_request_lines","text":"","code":"if (FALSE) { # \\dontrun{ # get just last month's records service_request_lines <- get_service_request_lines(service_requests) # get all the records service_request_lines <- get_service_request_lines(service_requests, return_all_records = T) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":null,"dir":"Reference","previous_headings":"","what":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"Get details projects need create invoice line items .","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"","code":"get_target_projects_to_invoice(rc_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"rc_conn connection REDCap database uses project_ownership module","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"dataframe project owner details","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_target_projects_to_invoice.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get details on the projects we need to create invoice line items for. — get_target_projects_to_invoice","text":"","code":"if (FALSE) { # \\dontrun{ get_target_projects_to_invoice(rc_conn) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"Create dataframe unpaid REDCap production per project line items sent","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"","code":"get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"rcc_billing_conn - connection REDCap billing database. connect_to_rcc_billing_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"dataframe containing unpaid sent line items","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_unpaid_redcap_prod_per_project_line_items.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a dataframe of unpaid REDCap production per project line items that were sent — get_unpaid_redcap_prod_per_project_line_items","text":"","code":"if (FALSE) sent_line_items <- get_unpaid_redcap_prod_per_project_line_items(rcc_billing_conn) # \\dontrun{}"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":null,"dir":"Reference","previous_headings":"","what":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"Get every attribute every permission entry userinfo user permission","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"","code":"get_user_rights_and_info( rc_conn, require_active_account = T, require_active_permissions = T )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"rc_conn DBI connection object REDCap Database system. require_active_account boolean indicate active accounts returned. Defaults TRUE. require_active_permissions boolean indicate active permission entries returned. Defaults TRUE.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"dataframe every permission entry matching user_information data appended","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get every attribute of every permission entry and userinfo for each user on each permission — get_user_rights_and_info","text":"","code":"if (FALSE) { # \\dontrun{ get_user_rights_and_info( rc_conn = rc_conn, require_active_account = T, require_active_permissions = T ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":null,"dir":"Reference","previous_headings":"","what":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"Get redcap_user_rights combined roles user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"","code":"get_user_rights_and_info_v1( redcap_user_rights, redcap_user_roles, redcap_user_information )"},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"redcap_user_rights, contents REDCap table name. redcap_user_roles, contents REDCap table name. redcap_user_information, contents REDCap table name.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"dataframe combined redcap_user_rights, roles, user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/get_user_rights_and_info_v1.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"get_user_rights_and_info_v1 — get_user_rights_and_info_v1","text":"","code":"if (FALSE) { # \\dontrun{ get_user_rights_and_info_v1( redcap_user_rights, redcap_user_roles, redcap_user_information ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"test dataset testing functions write read invoice_line_item_communications","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"","code":"invoice_line_item_communications_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"data frame 26 rows 32 variables: id double: primary key service_identifier character: either redcap project ID, redcap username service_type_code double: numeric code uniquely identifies service_type service_instance_id character: numeric code uniquely identifies service_instance ctsi_study_id double: CSBT's unique identifier service name_of_service character: name service name_of_service_instance character: name study other_system_invoicing_comments character: additional invoice information, either project url, sponsor pi price_of_service double: price service, US dollars qty_provided double: quantity provided amount_due double: amount due, US dollars fiscal_year character: fiscal year invoice month_invoiced character: month invoice pi_last_name character: last name person invoiced pi_first_name character: first name person invoiced pi_email character: email person invoiced gatorlink character: gatorlink person invoiced crc_number double: Clinical Research Center number ids_number character: Investigational Drug Service number ocr_number character: Office Clinical Research study number invoice_number double: invoice number je_number character: journal entry number je_posting_date POSIXct: journal entry posting date reason character: reason invoice status character: status invoice created POSIXct: created timestamp updated POSIXct: updated timestamp sender character: message sender, typically email address recipient character: message recipient, typically email address date_sent POSIXct: date CTSI sent message date_received POSIXct: date CTSIT received email script_name character: script created record","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_communications_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"invoice_line_item_communications_test_data — invoice_line_item_communications_test_data","text":"https://github.com/ctsit/rcc.billing/issues/7","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":null,"dir":"Reference","previous_headings":"","what":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"Creates invoice_line_item data invoice_line_item_communications_data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"","code":"invoice_line_item_df_from(invoice_line_item_communications)"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"invoice_line_item_communications, data follows format invoice_line_item_communications_test_data located R/data.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"invoice_line_item dataframe","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_df_from.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Creates a invoice_line_item data from invoice_line_item_communications_data — invoice_line_item_df_from","text":"","code":"if (FALSE) { # \\dontrun{ invoice_line_item_df_from(invoice_line_item_communications_test_data) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_reasons — invoice_line_item_reasons","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"Provides text new invoice line items","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"","code":"invoice_line_item_reasons"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_reasons.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_reasons — invoice_line_item_reasons","text":"data frame 3 rows 2 variables: code character: short, static name string label character: friendly human-readable string","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":null,"dir":"Reference","previous_headings":"","what":"invoice_line_item_statuses — invoice_line_item_statuses","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"Describes valid invoice line item statuses","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"","code":"invoice_line_item_statuses"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"data frame 5 rows 2 variables: status character: short, static name status code description character: human-readable description status","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_statuses.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"invoice_line_item_statuses — invoice_line_item_statuses","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for invoice_line_item table — invoice_line_item_test_data","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"Sample data invoice_line_item table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"","code":"invoice_line_item_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"id primary key service_identifier either redcap project ID, redcap username service_type_code numeric code uniquely identifies service_type service_instance_id numeric code uniquely identifies service_instance ctsi_study_id CSBT's unique identifier service name_of_service name service name_of_service_instance name study other_system_invoicing_comments additional invoice information, either project url, sponsor pi price_of_service price service, US dollars qty_provided quantity provided amount_due amount due, US dollars fiscal_year fiscal year invoice month_invoiced month invoice pi_last_name last name person invoiced pi_first_name first name person invoiced pi_email email person invoiced gatorlink gatorlink person invoiced reason reason invoice status status invoice sender character: message sender, typically email address recipient character: message recipient, typically email address date_sent POSIXct: date CTSI sent message date_received POSIXct: date CTSIT received email script_name character: script created record created created timestamp updated updated timestamp","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/invoice_line_item_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for invoice_line_item table — invoice_line_item_test_data","text":"https://github.com/ctsit/rcc.billing/issues/3","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":null,"dir":"Reference","previous_headings":"","what":"log_event_tables — log_event_tables","title":"log_event_tables — log_event_tables","text":"vector names 9 redcap log event tables","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"log_event_tables — log_event_tables","text":"","code":"log_event_tables"},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"log_event_tables — log_event_tables","text":"vector 9 elements","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/log_event_tables.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"log_event_tables — log_event_tables","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":null,"dir":"Reference","previous_headings":"","what":"mutate_columns_to_posixct — mutate_columns_to_posixct","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"Mutates column data types POSIXct","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"","code":"mutate_columns_to_posixct(data, column_names)"},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"data - dataframe mutate column_names - vector column names mutate","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"input dataframe revised data types","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mutate_columns_to_posixct.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"mutate_columns_to_posixct — mutate_columns_to_posixct","text":"","code":"if (FALSE) { # \\dontrun{ time_columns <- c(\"created\", \"updated\") mutate_columns_to_posixct(data, time_columns) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":null,"dir":"Reference","previous_headings":"","what":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"converts -memory schema sqlite schema returns schema.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"","code":"mysql_schema_to_sqlite(schema)"},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"schema, MySQL/MariaDB Schema","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"sqlite schema `schema`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/mysql_schema_to_sqlite.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"converts an in-memory schema to a sqlite schema and returns that schema. — mysql_schema_to_sqlite","text":"","code":"if (FALSE) { # \\dontrun{ mysql_schema_to_sqlite(schema) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":null,"dir":"Reference","previous_headings":"","what":"next_n_months — next_n_months","title":"next_n_months — next_n_months","text":"Return month number occur n months integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"next_n_months — next_n_months","text":"","code":"next_n_months(month, n = 1)"},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"next_n_months — next_n_months","text":"month - integer month number n - number months add current month (default = 1)","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"next_n_months — next_n_months","text":"nth next month number integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/next_n_months.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"next_n_months — next_n_months","text":"","code":"next_n_months(9, 2) #> [1] 11 next_n_months(1, 1) #> [1] 2"},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":null,"dir":"Reference","previous_headings":"","what":"one_deleted_project_record — one_deleted_project_record","title":"one_deleted_project_record — one_deleted_project_record","text":"single REDCap project record deleted project","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"one_deleted_project_record — one_deleted_project_record","text":"","code":"one_deleted_project_record"},{"path":"https://ctsit.github.io/rcc.billing/reference/one_deleted_project_record.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"one_deleted_project_record — one_deleted_project_record","text":"data frame 1 rows 149 variables: project_id double project_name character app_title character status integer creation_time double production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_firstname character project_pi_mi character project_pi_lastname character project_pi_email character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":null,"dir":"Reference","previous_headings":"","what":"Populates table_name with the corresponding test data found in /data. — populate_table","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"Populates table_name corresponding test data found /data.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"","code":"populate_table(conn, table_name, use_test_data = FALSE)"},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"conn, DBI connection object table_name, table populate test data use_test_data, whether use \"_test_data\"","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/populate_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Populates table_name with the corresponding test data found in /data. — populate_table","text":"","code":"if (FALSE) { # \\dontrun{ conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = \":memory:\") populate_table(conn = conn, table_name = \"service_type\") } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":null,"dir":"Reference","previous_headings":"","what":"previous_month — previous_month","title":"previous_month — previous_month","text":"Return month number occur integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"previous_month — previous_month","text":"","code":"previous_month(month)"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"previous_month — previous_month","text":"month - integer month number","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"previous_month — previous_month","text":"previous month number","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_month.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"previous_month — previous_month","text":"","code":"previous_month(9) #> [1] 8 previous_month(1) #> [1] 12"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":null,"dir":"Reference","previous_headings":"","what":"previous_n_months — previous_n_months","title":"previous_n_months — previous_n_months","text":"Return month number occur n months integer `month`","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"previous_n_months — previous_n_months","text":"","code":"previous_n_months(month, n = 1)"},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"previous_n_months — previous_n_months","text":"month - integer month number n - number months subtract current month (default = 1)","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"previous_n_months — previous_n_months","text":"nth previous month number integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/previous_n_months.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"previous_n_months — previous_n_months","text":"","code":"previous_n_months(9, 2) #> [1] 7 previous_n_months(1, 1) #> [1] 12"},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":null,"dir":"Reference","previous_headings":"","what":"projects_table_fragment — projects_table_fragment","title":"projects_table_fragment — projects_table_fragment","text":"portion REDCap project table used make test datasets","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"projects_table_fragment — projects_table_fragment","text":"","code":"projects_table_fragment"},{"path":"https://ctsit.github.io/rcc.billing/reference/projects_table_fragment.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"projects_table_fragment — projects_table_fragment","text":"data frame 4 rows 149 variables: project_id double project_name character app_title character status integer creation_time double production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_firstname character project_pi_mi character project_pi_lastname character project_pi_email character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"test dataset redcap_entity_project_ownership table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"","code":"redcap_entity_project_ownership_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"data frame 5 rows 10 variables: id integer Primary key created double Date record created unix timestamp updated double Date record last updated unix timestamp pid double REDCap project_id project username character Username project owner exists email character Email address project owner username exist firstname character Firstname project owner username exist lastname character Lastname project owner username exist billable integer boolean indicate project billed sequestered integer boolean indicate project sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_entity_project_ownership_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_entity_project_ownership_test_data — redcap_entity_project_ownership_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_log_event_test_data — redcap_log_event_test_data","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"named list redcap_log_event tables project lifecycle test data","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"","code":"redcap_log_event_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"named list 10 dataframes 0 rows 15 variables. dataframe structured described . log_event_id integer primary key project_id integer REDCap project_id ts double timestamp format YYYYMMDDHHMMSS local time user character REDCap username initiated event ip character IP address REDCap user page character relative REDCap URL initiated event event character type event. e.g DATA_EXPORT, DELETE, ERROR, INSERT, MANAGE, , UPDATE object_type character REDCap object type e.g., NA, redcap_arms, redcap_auth, redcap_data, redcap_docs, redcap_event_forms, redcap_events, redcap_events_metadata, redcap_metadata, redcap_metadata_temp, redcap_projects, redcap_user_rights sql_log character SQL code executed event pk character primary key effected object event_id integer REDCap event_id relevant data_values character description character description event legacy integer change_reason character","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_log_event_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_log_event_test_data — redcap_log_event_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_projects_test_data — redcap_projects_test_data","title":"redcap_projects_test_data — redcap_projects_test_data","text":"redcap_projects suitable billing tests","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_projects_test_data — redcap_projects_test_data","text":"","code":"redcap_projects_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_projects_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_projects_test_data — redcap_projects_test_data","text":"data frame 5 rows 149 variables: project_id double Project ID app_title character project name displayed project_pi_firstname character Principal Investigator First Name project_pi_lastname character Principal Investigator Last Name project_pi_email character Principal Investigator Email project_name character original project name keyword creation_time double Project Creation Datetime status integer production_time double inactive_time double completed_time double completed_by character data_locked integer log_event_table character created_by integer draft_mode integer surveys_enabled integer repeatforms integer scheduling integer purpose integer purpose_other character show_which_records integer __SALT__ character count_project integer investigators character project_note character online_offline integer auth_meth character double_data_entry integer project_language character project_encoding character is_child_of character date_shift_max integer institution character site_org_type character grant_cite character project_contact_name character project_contact_email character headerlogo character auto_inc_set integer custom_data_entry_note character custom_index_page_note character order_id_by character custom_reports character report_builder character disable_data_entry integer google_translate_default character require_change_reason integer dts_enabled integer project_pi_mi character project_pi_alias character project_pi_username character project_pi_pub_exclude integer project_pub_matching_institution character project_irb_number character project_grant_number character history_widget_enabled integer secondary_pk character secondary_pk_display_value integer secondary_pk_display_label integer custom_record_label character display_project_logo_institution integer imported_from_rs integer display_today_now_button integer auto_variable_naming integer randomization integer enable_participant_identifiers integer survey_email_participant_field character survey_phone_participant_field character data_entry_trigger_url character template_id integer date_deleted double Date project deletion NA deleted data_resolution_enabled integer field_comment_edit_delete integer realtime_webservice_enabled integer realtime_webservice_type character realtime_webservice_offset_days double realtime_webservice_offset_plusminus character last_logged_event double edoc_upload_max integer file_attachment_upload_max integer survey_queue_custom_text character survey_queue_hide integer survey_auth_enabled integer survey_auth_field1 character survey_auth_event_id1 integer survey_auth_field2 character survey_auth_event_id2 integer survey_auth_field3 character survey_auth_event_id3 integer survey_auth_min_fields character survey_auth_apply_all_surveys integer survey_auth_custom_message character survey_auth_fail_limit integer survey_auth_fail_window integer twilio_enabled integer twilio_modules_enabled character twilio_hide_in_project integer twilio_account_sid character twilio_auth_token character twilio_from_number double twilio_voice_language character twilio_option_voice_initiate integer twilio_option_sms_initiate integer twilio_option_sms_invite_make_call integer twilio_option_sms_invite_receive_call integer twilio_option_sms_invite_web integer twilio_default_delivery_preference character twilio_request_inspector_checked double twilio_request_inspector_enabled integer twilio_append_response_instructions integer twilio_multiple_sms_behavior character twilio_delivery_preference_field_map character two_factor_exempt_project integer two_factor_force_project integer disable_autocalcs integer custom_public_survey_links character pdf_custom_header_text character pdf_show_logo_url integer pdf_hide_secondary_field integer pdf_hide_record_id integer shared_library_enabled integer allow_delete_record_from_log integer delete_file_repository_export_files integer custom_project_footer_text character custom_project_footer_text_link character google_recaptcha_enabled integer datamart_allow_repeat_revision integer datamart_allow_create_revision integer datamart_enabled integer break_the_glass_enabled integer datamart_cron_enabled integer datamart_cron_end_date double fhir_include_email_address_project integer file_upload_vault_enabled integer file_upload_versioning_enabled integer missing_data_codes character record_locking_pdf_vault_enabled integer record_locking_pdf_vault_custom_text character fhir_cdp_auto_adjudication_enabled integer fhir_cdp_auto_adjudication_cronjob_enabled integer project_dashboard_min_data_points integer bypass_branching_erase_field_prompt integer protected_email_mode integer protected_email_mode_custom_text character protected_email_mode_trigger character protected_email_mode_logo integer hide_filled_forms integer form_activation_survey_autocontinue integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_rights_test_data — redcap_rights_test_data","title":"redcap_rights_test_data — redcap_rights_test_data","text":"named list dataframes used test functions written redcap_rights.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_rights_test_data — redcap_rights_test_data","text":"","code":"redcap_rights_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_rights_test_data — redcap_rights_test_data","text":"named list 3 dataframes: redcap_user_information REDCap Core table redcap_user_rights REDCap Core table redcap_user_roles REDCap Core table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_rights_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_rights_test_data — redcap_rights_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"redcap_user_information_test_data — redcap_user_information_test_data","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"Test dataset redcap_user_information","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"","code":"redcap_user_information_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"data frame 5 rows 49 variables: ui_id integer primary key username character redcap username user_email character primary email address user_email2 character user_email3 character user_phone character user_phone_sms character user_firstname character user_lastname character user_inst_id character super_user integer account_manager integer access_system_config integer access_system_upgrade integer access_external_module_install integer admin_rights integer access_admin_dashboards integer user_creation double user_firstvisit double user_firstactivity double user_lastactivity double user_lastlogin double user_suspended_time double user_expiration double user_access_dashboard_view double user_access_dashboard_email_queued character user_sponsor character user_comments character allow_create_db integer email_verify_code character email2_verify_code character email3_verify_code character datetime_format character number_format_decimal character number_format_thousands_sep character csv_delimiter character two_factor_auth_secret character display_on_email_users integer two_factor_auth_twilio_prompt_phone integer two_factor_auth_code_expiration integer api_token character messaging_email_preference character messaging_email_urgent_all integer messaging_email_ts double messaging_email_general_system integer messaging_email_queue_time double ui_state character api_token_auto_request integer fhir_data_mart_create_project integer","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/redcap_user_information_test_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"redcap_user_information_test_data — redcap_user_information_test_data","text":"DETAILS","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":null,"dir":"Reference","previous_headings":"","what":"sequester_projects — sequester_projects","title":"sequester_projects — sequester_projects","text":"sequester projects listed `project_ids` can sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"sequester_projects — sequester_projects","text":"","code":"sequester_projects( conn, project_id = as.numeric(NA), reason = as.character(NA) )"},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"sequester_projects — sequester_projects","text":"conn - connection redcap database project_id - vector project IDs sequestered reason - vector reasons project IDs sequestered","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/sequester_projects.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"sequester_projects — sequester_projects","text":"- list describing function activity via objects project_ownership_sync_updates - updates made project_ownership redcap_projects_sync_updates - updates made redcap_projects project_ids_updated - project ids received updates","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for service_instance table — service_instance_test_data","title":"Sample data for service_instance table — service_instance_test_data","text":"Sample data service_instance table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for service_instance table — service_instance_test_data","text":"","code":"service_instance_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for service_instance table — service_instance_test_data","text":"service_instance_id primary key service_type_code numeric code uniquely identifies service_type service_identifier either redcap project ID, redcap username ctsi_study_id CSBT’s unique identifier service active boolean indicating expect continue billing service","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_instance_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for service_instance table — service_instance_test_data","text":"https://github.com/ctsit/rcc.billing/issues/2","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate Service Request Time — service_request_time","title":"Calculate Service Request Time — service_request_time","text":"function takes time minutes hours returns unified time format hours.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate Service Request Time — service_request_time","text":"","code":"service_request_time(time_minutes, time_hours)"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate Service Request Time — service_request_time","text":"time_minutes Numeric vector representing time minutes. time_hours Numeric vector representing time hours.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate Service Request Time — service_request_time","text":"numeric vector processed time hours. input times minutes part set {15, 30, 45, 60}, time converted hours. time hours greater 1, original hours returned. Otherwise, `NA_real_` returned cases matching conditions.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_request_time.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate Service Request Time — service_request_time","text":"","code":"if (FALSE) { # \\dontrun{ service_request_time(30, 120) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Sample data for service_type table — service_type_test_data","title":"Sample data for service_type table — service_type_test_data","text":"Sample data service_type table","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Sample data for service_type table — service_type_test_data","text":"","code":"service_type_test_data"},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Sample data for service_type table — service_type_test_data","text":"service_type_code numeric code uniquely identifies service_type service_type short name describing service_type, snake case price price one unit service, US dollars billing_frequency frequency service ir billed, months","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/service_type_test_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Sample data for service_type table — service_type_test_data","text":"https://github.com/ctsit/rcc.billing/issues/1","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":null,"dir":"Reference","previous_headings":"","what":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"Excludes non-CSBT columns renames CTSIT column names corresponding CSBT names. function inverse transform_invoice_line_items_for_ctsit","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"","code":"transform_invoice_line_items_for_csbt(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"invoice_line_items dataframe CTSIT column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"input dataframe columns adjusted match CSBT format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"DETAILS","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_csbt.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Renames columns of a dataframe from CTSIT format to CSBT format — transform_invoice_line_items_for_csbt","text":"","code":"if (FALSE) { # \\dontrun{ tbl(conn, \"invoice_line_item\") |> collect() |> transform_invoice_line_items_for_csbt() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":null,"dir":"Reference","previous_headings":"","what":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"Renames CSBT column names corresponding CTSIT names. function inverse transform_invoice_line_items_for_csbt, however exclude columns CTSIT column names.","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"","code":"transform_invoice_line_items_for_ctsit(invoice_line_items)"},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"invoice_line_items dataframe CSBT column names","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"input dataframe columns adjusted match CTSIT format","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"DETAILS","code":""},{"path":[]},{"path":"https://ctsit.github.io/rcc.billing/reference/transform_invoice_line_items_for_ctsit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Renames columns of a dataframe from CSBT format to CTSIT format — transform_invoice_line_items_for_ctsit","text":"","code":"if (FALSE) { # \\dontrun{ df_from_csbt |> transform_invoice_line_items_for_ctsit() |> janitor::clean_names() } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"Get dataframe updated billable status project ownership projects, set projects billable except created CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"","code":"update_billable_by_ownership(conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"dataset_diff containing updates project ownerhsip's \"billable\" column","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_by_ownership.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of updated billable status for project ownership projects, set all projects as billable except those created by CTS-IT staff — update_billable_by_ownership","text":"","code":"if (FALSE) { # \\dontrun{ conn <- redcapcustodian::connect_to_redcap_db() billable_updates <- update_billable_by_ownership(conn) dbx::dbxUpdate(conn, table = \"redcap_entity_project_ownership\", records = billable_updates$update_records, where_cols = c(\"id\") ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"Ignore current state billable review every project owned CTS-staff","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"","code":"update_billable_if_owned_by_ctsit(conn)"},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"conn - REDCap database connection, e.g. object returned connect_to_redcap_db","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"dataset_diff containing updates project ownerhsip's \"billable\" column","code":""},{"path":"https://ctsit.github.io/rcc.billing/reference/update_billable_if_owned_by_ctsit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a dataframe of updated billable status for project owned by CTS-IT staff — update_billable_if_owned_by_ctsit","text":"","code":"if (FALSE) { # \\dontrun{ conn <- redcapcustodian::connect_to_redcap_db() billable_updates <- update_billable_if_owned_by_ctsit(conn) dbx::dbxUpdate(conn, table = \"redcap_entity_project_ownership\", records = billable_updates$update_records, where_cols = c(\"id\") ) } # }"},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1431-released-2024-09-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.43.1 (released 2024-09-04)","title":"rcc.billing 1.43.1 (released 2024-09-04)","text":"Deselect term_date_is_accurate project functions (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1430-released-2024-09-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.43.0 (released 2024-09-04)","title":"rcc.billing 1.43.0 (released 2024-09-04)","text":"Fix doc formatting service_request_time() (@pbchase) Add Sai’s ORCID DESCRIPTION (@pbchase) Add employees ctsit_staff* data frames (@pbchase, #250) Refactor ctsit_staff.R make easier maintain (@pbchase, #250) Update revenue_status_and_projections.qmd (@pbchase) Add ‘REDCap consulting revenue’ section revenue_status_and_projections.qmd (@pbchase) Update vignettes (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1421-released-2024-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.42.1 (released 2024-08-26)","title":"rcc.billing 1.42.1 (released 2024-08-26)","text":"Remove unsuspended_high_privilege_faculty cleanup_project_ownership_table.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1420-released-2024-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.42.0 (released 2024-08-26)","title":"rcc.billing 1.42.0 (released 2024-08-26)","text":"Add ORCIDs package authors (@pbchase, #249) Add vignettes ETLs reports (@pbchase, @saipavan10-git, #244, #245, #246, #247)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1414-released-2024-08-15","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.4 (released 2024-08-15)","title":"rcc.billing 1.41.4 (released 2024-08-15)","text":"Update github workflows allow R correctly access PAT (@saipavan10-git) Update description file REMOTES section ctsit packages (@saipavan10-git) Update dependency installation pkgdown workflow (@saipavan10-git)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1413-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.3 (released 2024-08-14)","title":"rcc.billing 1.41.3 (released 2024-08-14)","text":"Update github workflows address missing dependencies (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1412-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.2 (released 2024-08-14)","title":"rcc.billing 1.41.2 (released 2024-08-14)","text":"Update image version run-tests.yaml (@pbchase) Resequence dependencies pkgdown.yaml (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1411-released-2024-08-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.1 (released 2024-08-14)","title":"rcc.billing 1.41.1 (released 2024-08-14)","text":"Add dependencies pkgdown.yaml (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1410-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.41.0 (released 2024-08-13)","title":"rcc.billing 1.41.0 (released 2024-08-13)","text":"Add first vignette, cleanup_bad_email_addresses (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1400-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.40.0 (released 2024-08-13)","title":"rcc.billing 1.40.0 (released 2024-08-13)","text":"Initialize pkgdown usethis::use_pkgdown_github_pages() (@pbchase) Update README.md (@pbchase) Add schema upgrade scripts release 1.39.0 (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1391-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.39.1 (released 2024-08-13)","title":"rcc.billing 1.39.1 (released 2024-08-13)","text":"Add return_all_records param get_service_request_lines() (@pbchase, #239)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1390-released-2024-08-13","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.39.0 (released 2024-08-13)","title":"rcc.billing 1.39.0 (released 2024-08-13)","text":"Add fiscal_contact details invoice_line_item (@saipavan10-git, @pbchase, #237, #238)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1381-released-2024-08-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.38.1 (released 2024-08-01)","title":"rcc.billing 1.38.1 (released 2024-08-01)","text":"Read always_bill update_probono_service_request_records.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1380-released-2024-08-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.38.0 (released 2024-08-01)","title":"rcc.billing 1.38.0 (released 2024-08-01)","text":"Deactivate create_and_send_new_invoice_line_items (@pbchase) Add support always_bill get_probono_service_request_updates() (@pbchase, #236) Fix duckdb disconnect warnings caused tests (@pbchase, #235) Create send service_request_line_items create_and_send_new_invoice_line_items (@saipavan10-git, @pbchase, #235) Add get_service_request_lines() (@saipavan10-git, @pbchase, #233) Add get_service_request_line_items() (@saipavan10-git, @pbchase, #233) Add tests get_project_details_for_billing() (@pbchase, #233) Fix tests get_target_projects_to_invoice() (@pbchase, #233) Update docs get_new_project_invoice_line_items() (@pbchase, #233)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1372-released-2024-07-22","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.2 (released 2024-07-22)","title":"rcc.billing 1.37.2 (released 2024-07-22)","text":"Refactor create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase, #228, #230) Add get_new_project_invoice_line_items() (@pbchase, #228, #230). Add get_new_project_service_instances() (@pbchase, #228, #230). Add get_target_projects_to_invoice() (@pbchase, #228, #230).","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1371-released-2024-07-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.1 (released 2024-07-01)","title":"rcc.billing 1.37.1 (released 2024-07-01)","text":"Fix bugs revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1370-released-2024-06-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.37.0 (released 2024-06-26)","title":"rcc.billing 1.37.0 (released 2024-06-26)","text":"Adjust run times update_probono_service_request_records (@pbchase) Add update_free_support_time_remaining.R schema file empty table needs (@pbchase, #224) Add people_with_rights_to_unpaid_invoice_line_items.R, get_project_flags(), get_user_rights_and_info() (@pbchase, #220) Rename get_user_rights_and_info() get_user_rights_and_info_v1() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1361-released-2024-06-20","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.36.1 (released 2024-06-20)","title":"rcc.billing 1.36.1 (released 2024-06-20)","text":"Mount credentials volume cron/update_probono_service_request_records (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1360-released-2024-06-20","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.36.0 (released 2024-06-20)","title":"rcc.billing 1.36.0 (released 2024-06-20)","text":"Add single-use/backfill_billable_rate_in_service_request_records.R (@pbchase) Modernize_imports_and_conform_to_tidyselect (@pbchase, #223) Add get_service_request_lines() (@ljwoodley, @pbchase, #219, #205) Add update_invoice_line_items_to_correct_fiscal_year.R script used August 2023 (@pbchase) Add get_probono_service_request_records() (@ljwoodley, @pbchase, #218, #207)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1350-released-2024-05-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.35.0 (released 2024-05-23)","title":"rcc.billing 1.35.0 (released 2024-05-23)","text":"Set custom CC running revenue_status_and_projections (@pbchase) Revise input file search management update_invoice_line_items_with_invoicing_details.R (@pbchase) Add get_ctsi_study_id_to_project_id_map (@ljwoodley, @pbchase, @ChemiKyle, #212) Reflow make_test_data_for_get_billable_candidates.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1340-released-2024-04-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.34.0 (released 2024-04-26)","title":"rcc.billing 1.34.0 (released 2024-04-26)","text":"Add draft_reports.qmd (@pbchase) Add get_project_details_for_billing (@ljwoodley) Add ‘REDCap consulting’ service_type test data (@pbchase) CC REDCAP_BILLING_L request_correction_of_bad_ownership_data.R (@pbchase) Update create_and_send_new_redcap_prod_per_project_line_items.R prevent duplicates (@pbchase) Add note Figure 3. ‘REDCap APB Revenue FY 12 months projected revenue.’ Add aging brackets. Fix chit-chat historic payment rate. Remove ‘Possible revenue opportunities’. Remove ‘Projecting income extant billable projects’ section Remove ‘Payments Rates Projections’ section. Remove ‘Report summary’ section.","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1332-released-2024-03-15","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.2 (released 2024-03-15)","title":"rcc.billing 1.33.2 (released 2024-03-15)","text":"Fix NA average_portion_paid revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1331-released-2024-03-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.1 (released 2024-03-12)","title":"rcc.billing 1.33.1 (released 2024-03-12)","text":"Fix bad collect() syntax (@pbchase) Fix crashes sequester_unpaid_projects.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1330-released-2024-02-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.33.0 (released 2024-02-27)","title":"rcc.billing 1.33.0 (released 2024-02-27)","text":"Add fiscal year reporting revenue_status_and_projections.qmd (@pbchase) Add revenue_description red_team_auxiliary_revenue_actuals_redcap_apb.csv output revenue_status_and_projections.qmd (@pbchase) Control positioning revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1320-released-2024-02-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.32.0 (released 2024-02-14)","title":"rcc.billing 1.32.0 (released 2024-02-14)","text":"Add owner’s org data get_billable_candidates() output (@pbchase, @ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1311-released-2024-02-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.31.1 (released 2024-02-12)","title":"rcc.billing 1.31.1 (released 2024-02-12)","text":"Update update_invoice_line_items_with_invoicing_details.R fix target table service_instance_update. (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1310-released-2024-02-08","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.31.0 (released 2024-02-08)","title":"rcc.billing 1.31.0 (released 2024-02-08)","text":"Curate use CTSI Study IDs (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1300-released-2024-01-12","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.30.0 (released 2024-01-12)","title":"rcc.billing 1.30.0 (released 2024-01-12)","text":"Fix typos text revenue_status_and_projections.qmd (@pbchase) Update update_invoice_line_items_with_invoicing_details handle bill reasons (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1291-released-2023-12-08","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.29.1 (released 2023-12-08)","title":"rcc.billing 1.29.1 (released 2023-12-08)","text":"Fix create_and_send_new_redcap_prod_per_project_line_items.R","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1290-released-2023-11-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.29.0 (released 2023-11-21)","title":"rcc.billing 1.29.0 (released 2023-11-21)","text":"Implement code changes required Fall 2023 rate increase (@pbchase) Update revenue_status_and_projections.qmd adding revenue_by_month_received (@pbchase, @ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1280-released-2023-11-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.28.0 (released 2023-11-01)","title":"rcc.billing 1.28.0 (released 2023-11-01)","text":"Replace fig-revenue--month fig-revenue--month-invoiced fig-revenue--month-received revenue_status_and_projections.qmd (@pbchase) Add bar labels fig-revenue--month-* figures revenue_status_and_projections.qmd (@pbchase) Adjust project revenue use just last 12 months correct rate increase revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1270-released-2023-10-31","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.27.0 (released 2023-10-31)","title":"rcc.billing 1.27.0 (released 2023-10-31)","text":"Add delete_abandoned_projects.R (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1260-released-2023-10-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.26.0 (released 2023-10-24)","title":"rcc.billing 1.26.0 (released 2023-10-24)","text":"Add export_project_data_with_owner_org.R (@pbchase) Change annual project price $100 $130 warning communications (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1251-released-2023-10-16","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.25.1 (released 2023-10-16)","title":"rcc.billing 1.25.1 (released 2023-10-16)","text":"Update broken Update Project Ownership links (@ChemiKyle) Prevent sequestered projects receiving billing warnings (@ChemiKyle) Fix typo revenue_status_and_projections.qmd (@pbchase) Update broken link document details project deletion steps (@ChemiKyle) Update update_invoice_line_items_with_invoicing_details.R (@pbchase) Remove unused code warn_owners_of_impending_bill.R (@pbchase) Update Roxygen version DESCRIPTION (@pbchase) Update test-get_billable_candidates.R (@pbchase) Remove unused code get_billable_candidates() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1250-released-2023-08-29","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.25.0 (released 2023-08-29)","title":"rcc.billing 1.25.0 (released 2023-08-29)","text":"Update revenue_status_and_projections (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1240-released-2023-08-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.24.0 (released 2023-08-23)","title":"rcc.billing 1.24.0 (released 2023-08-23)","text":"Add write_uf_fiscal_orgs_to_person_org ETL (@ChemiKyle) add cron job invoice line item creation (@ljwoodley) add test df row count (@ljwoodley) Replace current_fiscal_year fiscal_year_invoiced concept (@pbchase) create empty please_fix_log df (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1230-released-2023-08-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.23.0 (released 2023-08-04)","title":"rcc.billing 1.23.0 (released 2023-08-04)","text":"Add reason project sequestration messages (@pbchase) Add speed improvements get_orphaned_projects (@pbchase) Replace NA character NA string prevent entire email appearing NA (@ChemiKyle) Refactor SQLite get_orphaned_projects tests (@pbchase) Update render report (@ljwoodley)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1222-released-2023-07-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.2 (released 2023-07-19)","title":"rcc.billing 1.22.2 (released 2023-07-19)","text":"Accommodate long project titles (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1221-released-2023-07-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.1 (released 2023-07-19)","title":"rcc.billing 1.22.1 (released 2023-07-19)","text":"Accommodate long project titles (@pbchase) Update revenue_status_and_projections.qmd (@pbchase) Update update_invoice_line_items_with_invoicing_details.R handle non-rccbilling data (@pbchase) Update report_on_projects_by_dept.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1220-released-2023-06-23","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.22.0 (released 2023-06-23)","title":"rcc.billing 1.22.0 (released 2023-06-23)","text":"Add cancel_invoice_line_items.R (@pbchase) Add ban_people_from_ownership.R (@pbchase) Add report_on_projects_by_dept.R (@pbchase) Add get_billable_candidates() (@pbchase) Silence long path warnings relating request_correction_of_bad_ownership_data.R (@pbchase) Refactor billable_candidates.R use get_billable_candidates() (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1212-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.2 (released 2023-06-07)","title":"rcc.billing 1.21.2 (released 2023-06-07)","text":"Update revenue_status_and_projections.qmd (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1211-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.1 (released 2023-06-07)","title":"rcc.billing 1.21.1 (released 2023-06-07)","text":"Update cron file new render_report.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1210-released-2023-06-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.21.0 (released 2023-06-07)","title":"rcc.billing 1.21.0 (released 2023-06-07)","text":"Update render_report.R add Quarto support (@pbchase) Ban PIs left UF update_invoice_line_items_with_invoicing_details.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1200-released-2023-06-05","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.20.0 (released 2023-06-05)","title":"rcc.billing 1.20.0 (released 2023-06-05)","text":"Add revenue_status_and_projections.qmd (@pbchase) Update email templates (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1190-released-2023-05-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.19.0 (released 2023-05-24)","title":"rcc.billing 1.19.0 (released 2023-05-24)","text":"Add remind_owners_to_review_ownership.R (@pbchase) Update sequester_unpaid_projects.R (@pbchase) Add historic redcap admins CTS-staff (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1182-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.2 (released 2023-04-03)","title":"rcc.billing 1.18.2 (released 2023-04-03)","text":"Filter sequestered deleted projects sequester_unpaid_projects.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1181-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.1 (released 2023-04-03)","title":"rcc.billing 1.18.1 (released 2023-04-03)","text":"Fix NEWS.md (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1180-released-2023-04-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.18.0 (released 2023-04-03)","title":"rcc.billing 1.18.0 (released 2023-04-03)","text":"Add sequester_unpaid_projects ETL (@ChemiKyle) Set date_sent creating invoice line items (@pbchase) Fix cron write_uf_fiscal_orgs_to_org_hierarchies.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1170-released-2023-03-17","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.17.0 (released 2023-03-17)","title":"rcc.billing 1.17.0 (released 2023-03-17)","text":"Add ETL write org_hierachies VIVO Add schema org_hierarchies (@ChemiKyle) Add cron’d runs sequester_orphans.R (@pbchase) Simplify manual sequestration sequester_orphans.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1160-released-2023-03-03","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.16.0 (released 2023-03-03)","title":"rcc.billing 1.16.0 (released 2023-03-03)","text":"Add banned_owners rule get_orphaned_projects function Add banned_owners schema (@ChemiKyle) Embrace subdirectories db specific tables testing data (@ChemiKyle) Rename conn mem_conn get_orphaned_projects test (@ChemiKyle) Prevent blank emails new invoice line items (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1150-released-2023-02-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.15.0 (released 2023-02-27)","title":"rcc.billing 1.15.0 (released 2023-02-27)","text":"Add unit test get_orphaned_projects() (@pbchase) Add unresolvable_ownership_issues get_orphans function (@ChemiKyle) Add request_correction_of_bad_ownership_data report (@ChemiKyle) Add erasure project ownership identification columns cleanup_project_ownership_table (@ChemiKyle) Use variable instead hardcoding send_alert_email (@ChemiKyle) Prevent emails RE: unresolvable_ownership_issues sequester_orphans (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1140-released-2023-01-27","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.14.0 (released 2023-01-27)","title":"rcc.billing 1.14.0 (released 2023-01-27)","text":"Add complete_but_non_sequestered rule get_orphaned_projects (@pbchase) Add warn_completers_of_impending_sequestration.R (@pbchase) Update version numbers NEWS.md conform tagging error 2022-12-19 (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1130-released-2023-01-24","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.13.0 (released 2023-01-24)","title":"rcc.billing 1.13.0 (released 2023-01-24)","text":"Update get_orphaned_projects reducing horizon 12 11 months (@pbchase) Move warn_owners_of_impending_bill.R back default dates (@pbchase) Update update_invoice_line_items_with_invoicing_details.R (@pbchase) Revert error sequester_orphans.R (@pbchase) Sync invoice_line_item table RC DB update_invoice_line_items_with_invoicing_details (@ChemiKyle) Mark CTSIT-owned projects non-billable update_project_billable_attribute.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1121-released-2022-12-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.12.1 (released 2022-12-19)","title":"rcc.billing 1.12.1 (released 2022-12-19)","text":"Load rcc.billing library cleanup_bad_email_addresses.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-1120-released-2022-12-19","dir":"Changelog","previous_headings":"","what":"rcc.billing 1.12.0 (released 2022-12-19)","title":"rcc.billing 1.12.0 (released 2022-12-19)","text":"Port cleanup_bad_email_addresses rcc.ctsit (@ChemiKyle) Create get_bad_emails_from_log (@ChemiKyle) Update billable_candidates.R (@pbchase) Ignore timestamp updates update_invoice_line_items_with_invoicing_details.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0111-released-2022-12-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.11.1 (released 2022-12-07)","title":"rcc.billing 0.11.1 (released 2022-12-07)","text":"Temporarily move warn_owners_of_impending_bill 3rd 14th month (@pbchase) Add comment guide manual orphan sequestration (@pbchase) Fix new row IDs create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0110-released-2022-11-14","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.11.0 (released 2022-11-14)","title":"rcc.billing 0.11.0 (released 2022-11-14)","text":"Set invoice_line_item status conditionally based date_of_pmt presence loading data CSBT (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-0100-released-2022-11-02","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.10.0 (released 2022-11-02)","title":"rcc.billing 0.10.0 (released 2022-11-02)","text":"Include project_irb_number report/billable_candidates (@ChemiKyle) Add invoice facts billable candidates (@pbchase) Re-enable empty_and_inactive_projects get_orphaned_projects (@pbchase) Adjust id column new_invoice_line_item_communications avoid collisions (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-091-released-2022-10-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.9.1 (released 2022-10-28)","title":"rcc.billing 0.9.1 (released 2022-10-28)","text":"Execute named lists construction lst (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-090-released-2022-10-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.9.0 (released 2022-10-28)","title":"rcc.billing 0.9.0 (released 2022-10-28)","text":"Add transform_invoice_line_items_for_ctsit (@ChemiKyle) Add update_invoice_line_items_with_invoicing_details (@ChemiKyle) Add rule inactive_projects_with_no_viable_users get_orphaned_projects() (@pbchase) Add orphaned_projects logged data sequester_orphans.R (@pbchase) Show user_lastlogin billable_candidates.R (@pbchase) Use full month name instead abbreviation create_and_send_new_redcap_prod_per_project_line_items (@ChemiKyle) Associate month_invoiced project’s birth month rather script run month (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-081-released-2022-10-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.8.1 (released 2022-10-21)","title":"rcc.billing 0.8.1 (released 2022-10-21)","text":"Include GITHUB_PAT docker build step (@pbchase) Pass project_id vector sequester_projects (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-080-released-2022-10-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.8.0 (released 2022-10-21)","title":"rcc.billing 0.8.0 (released 2022-10-21)","text":"Activate sequester_orphans.R (@pbchase) Add filter viable users get_orphaned_projects (@ChemiKyle) Add get_user_rights_and_info (@pbchase) Install rcc.ctsit Dockerfile using GitHub PAT (@pbchase) Make PIs faculty project owners (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-071-released-2022-10-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.7.1 (released 2022-10-04)","title":"rcc.billing 0.7.1 (released 2022-10-04)","text":"Update create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-070-released-2022-10-04","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.7.0 (released 2022-10-04)","title":"rcc.billing 0.7.0 (released 2022-10-04)","text":"Add get_orphaned_projects() (@pbchase) Add sequester_orphans (@pbchase) Add sequester_projects() (@pbchase) Fix service_type service_type_test_data (@pbchase) Update csbt column output names CTSI ID -> CTSIT ID (@ChemiKyle) Filter non-sequestered projects create_and_send_new_redcap_prod_per_project_line_items (@ChemiKyle) Include project_ownership user identifiers create_and_send_new_redcap_prod_per_project_line_items.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-061-released-2022-09-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.6.1 (released 2022-09-28)","title":"rcc.billing 0.6.1 (released 2022-09-28)","text":"Run billable_candidates.R weekly (@pbchase) Fix subject, body, billable_candidates.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-060-released-2022-09-28","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.6.0 (released 2022-09-28)","title":"rcc.billing 0.6.0 (released 2022-09-28)","text":"Create billable_candidates report (@ChemiKyle) Add deleted projects filter fix birthday_in_previous_month filter creating invoice line items(@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-050-released-2022-09-22","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.5.0 (released 2022-09-22)","title":"rcc.billing 0.5.0 (released 2022-09-22)","text":"Run warn_owners_of_impending_bill.R 1st 23rd month (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-040-released-2022-09-07","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.4.0 (released 2022-09-07)","title":"rcc.billing 0.4.0 (released 2022-09-07)","text":"Activate warn_owners_of_impending_bill.R (@pbchase) Add correct_project_pi_emails (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-031-released-2022-09-06","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.3.1 (released 2022-09-06)","title":"rcc.billing 0.3.1 (released 2022-09-06)","text":"Catch log errors successes warn_owners_of_impending_bill.R (@ChemiKyle, @pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-030-released-2022-09-01","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.3.0 (released 2022-09-01)","title":"rcc.billing 0.3.0 (released 2022-09-01)","text":"Add warn_owners_of_impending_bill.R (@ChemiKyle, @pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-020-released-2022-08-30","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.2.0 (released 2022-08-30)","title":"rcc.billing 0.2.0 (released 2022-08-30)","text":"Add warn_owners_of_impending_bill.R (@ChemiKyle)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-012-released-2022-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.2 (released 2022-08-26)","title":"rcc.billing 0.1.2 (released 2022-08-26)","text":"Fix paths cron files (@pbchase) Load rcc.billing update_project_billable_attribute.R (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-011-released-2022-08-26","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.1 (released 2022-08-26)","title":"rcc.billing 0.1.1 (released 2022-08-26)","text":"Build rcc.billing Dockerfile (@pbchase)","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-010-released-2022-08-25","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.1.0 (released 2022-08-25)","title":"rcc.billing 0.1.0 (released 2022-08-25)","text":"Add function connect_to_rcc_billing_db Add function convert_schema_to_sqlite Add function create_and_load_test_table Add function create_table Add function draft_communication_record_from_line_item Add function fix_data_in_invoice_line_item Add function fix_data_in_invoice_line_item_communication Add function fix_data_in_redcap_log_event Add function fix_data_in_redcap_projects Add function fix_data_in_redcap_user_information Add function get_creators Add function get_last_project_user Add function get_privileged_user Add function get_project_pis Add function get_projects_needing_new_owners Add function get_projects_without_owners Add function get_reassigned_line_items Add function get_unpaid_redcap_prod_per_project_line_items Add function invoice_line_item_df_from Add function mutate_columns_to_posixct Add function populate_table Add function transform_invoice_line_items_for_csbt Add function update_billable_by_ownership Add ETL cancel_redcap_prod_per_project_line_item.R Add ETL cleanup_project_ownership_table.R Add ETL create_and_send_new_redcap_prod_per_project_line_items.R Add ETL deploy_initial_rcc_billing_db.R Add ETL fix_bad_activity_and_login_dates.R Add ETL reassign_redcap_prod_per_project_line_item.R Add ETL receive_payments.R Add ETL update_ctsi_study_ids.R Add ETL update_project_billable_attribute.R Add dataset cleanup_project_ownership_test_data Add dataset csbt_column_names Add dataset ctsit_staff Add dataset ctsit_staff_employment_periods Add dataset fiscal_years Add dataset invoice_line_item_communications_test_data Add dataset invoice_line_item_reasons Add dataset invoice_line_item_statuses Add dataset invoice_line_item_test_data Add dataset one_deleted_project_record Add dataset projects_table_fragment Add dataset redcap_entity_project_ownership_test_data Add dataset redcap_log_event_test_data Add dataset redcap_projects_test_data Add dataset redcap_user_information_test_data Add dataset service_instance_test_data Add dataset service_type_test_data","code":""},{"path":"https://ctsit.github.io/rcc.billing/news/index.html","id":"rccbilling-000-released-2022-03-21","dir":"Changelog","previous_headings":"","what":"rcc.billing 0.0.0 (released 2022-03-21)","title":"rcc.billing 0.0.0 (released 2022-03-21)","text":"Initial commit rcc.billing, automated, data-driven service billing system implemented REDCap Custodian (@pbchase)","code":""}]
Chase P, James-Woodley L, Chesney K, Bentz M, Kamma S (2024). rcc.billing: REDCap Automated Billing. -R package version 1.43.0, https://ctsit.github.io/rcc.billing/. +R package version 1.43.1, https://ctsit.github.io/rcc.billing/.
@Manual{, title = {rcc.billing: REDCap Automated Billing}, author = {Philip Chase and Laurence James-Woodley and Kyle Chesney and Michael Bentz and Sai Pavan Kamma}, year = {2024}, - note = {R package version 1.43.0}, + note = {R package version 1.43.1}, url = {https://ctsit.github.io/rcc.billing/}, }