get_fast_facts: Helper function to get and clean County Dashboard "fast...

Description Usage Arguments Value

View source: R/get_fast_facts_data.R

Description

This function gathers the base data needed for the County Dashboard fast facts and handles initial cleaning and preparation of this data.

Once finished, the fast facts data - along with the sparklines data gathered by get_sparklines_data() - is handed off to finalize_dashboard_data() to put it in the final format needed for app consumption.

Usage

1
get_fast_facts(poc_connection)

Arguments

poc_connection

Active RODBC connection to the POC SQL server.

Value

Returns a list with three data frames - county, region, and state - needed to support the different fast fact views. These data frames need further processing prior to app consumption.


pocdata/pocr documentation built on Jan. 5, 2022, 9:54 a.m.