run_group: Run dashboard summaries for a given permission-timeframe

Description Usage Arguments See Also

View source: R/sa-states.R

Description

This is just a wrapper for 3 functions from package dashtemplate, which store the workflow for producing national/regional summary data from standardized license data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
run_group(
  cust,
  lic,
  sale,
  yrs,
  timeframe,
  group,
  lic_types,
  tests = c(tot = 20, res = 35, sex = 35, agecat = 35),
  scaleup_test = 30
)

Arguments

cust

standardized license data frames

lic

standardized license data frames

sale

standardized license data frames

yrs

years to include in dashboard

timeframe

time period covered ("full-year" or "mid-year")

group

name of permission group ("fish", "hunt", "all_sports")

lic_types

license types (lic$type) included. This should correspond to a permission group (e.g., c("hunt", "combo") for "hunt" permission).

tests

test thresholds for salic::est_part(), salic::est_churn(), and salic::est_recruit()

scaleup_test

test_threshold for salic::scaleup_part()

See Also

dashtemplate functions: build_history calc_metrics format_metrics

Other functions for SA state dashboard summaries: run_state()


southwick-associates/sadashreg documentation built on Jan. 7, 2022, 1:35 a.m.