Skip to contents

Return a dataframe of projects that have been orphaned

Usage

get_orphaned_projects(rc_conn, rcc_billing_conn, months_previous = 0)

Arguments

rc_conn

- a connection to a redcap database, connect_to_redcap_db

rcc_billing_conn

- a connection to an rcc_billing database, connect_to_rcc_billing_db

months_previous

- the nth month previous to today to consider

Value

a dataframe describing orphaned projects

  • project_id - project_id of the orphaned project

  • reason - why this project was selected

  • priority - the priority of the reason

Examples

if (FALSE) { # \dontrun{
get_orphaned_projects(
  rc_conn = rc_conn,
  rcc_billing_conn = rcc_billing_conn,
  months_previous = 0
)
} # }