proposal_stage_transition: Find proposals that had the given stage transition during a...

View source: R/widget-proposal-stage-transition.R

proposal_disqualifiedR Documentation

Find proposals that had the given stage transition during a given time period

Description

proposal_qualified just looks for transitions between QU and any of (CU, SP, PD, GS, DS). Similarly, proposal_disqualified looks for transitions from QU to (TD, DQ). proposal_stage_transition allows you to specify other types of transitions that might be of interest.

Usage

proposal_disqualified(from = NULL, to = NULL)

proposal_qualified(from = NULL, to = NULL)

proposal_stage_transition(
  from_stages = NULL,
  to_stages = NULL,
  from_date = NULL,
  to_date = NULL
)

Arguments

from

daterange in YYYYMMDD format

to

daterange in YYYYMMDD format

from_stages

character vector of one or more stages

to_stages

character vector of one or more stages

from_date

daterange in YYYYMMDD format

to_date

daterange in YYYYMMDD format

Examples

## successful QUs during FY18
proposal_qualified(from = 20170701, to = 20180630)

## this would do the same thing
proposal_stage_transition(from_stages = "QU",
                          to_stages = c("CU", "SP", "PD", "GS", "DS"),
                          from_date = 20170701, to_date = 20180630)

## from_stages and to_stages are optional, so to find
## proposals that were *ever* in QU:
proposal_stage_transition(from_stages = "QU",
                          from_date = 20170701, to_date = 20180630)


cwolfsonseeley/discoveryengine documentation built on Sept. 30, 2023, 2:07 p.m.