Description Usage Arguments Functions
View source: R/dashboard-load.R
Load sqlite data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | load_sqlite(db, query)
load_cust(db)
load_cust_standard(db)
load_sale(db, yrs)
load_sale_standard(db)
load_counties(
db = "E:/SA/Data-production/Data-Dashboards/_Shared/census.sqlite3",
state
)
load_pop(db, state)
load_lic_ids(db, group)
load_history(db, group, yrs)
|
db |
file path to sqlite database |
query |
DBI statement for sqlite connection |
yrs |
years to be included from sqlite table |
state |
2-character abbreviation of selected state |
group |
name of selected permission |
load_cust
: Load customer data
load_cust_standard
: Load standard customer data
load_sale
: Load sales for selected years
load_sale_standard
: Load standard sale data
load_counties
: Load county fips-names for attaching to cust & pop_county
load_pop
: Load population for selected state (by county-age-sex)
load_lic_ids
: Load license IDs for selected permission
load_history
: Load license history for permission & join customers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.