Description Usage Arguments See Also
All columns for the lic table will be included. Columns to include for sale and cust are specified by arguments. Note that the cust table likely isn't needed for producing a license history, but is included for the call to data_check.
1 2 3 4 5 6 | load_license(
db_license,
yrs,
sale_cols = c("cust_id", "lic_id", "year", "res", "month"),
cust_cols = c("cust_id", "sex", "birth_year", "county_fips")
)
|
db_license |
file path to license.sqlite3 |
yrs |
years to include in license history |
sale_cols |
character vector of sale column names to include |
cust_cols |
character vector of cust column names to include |
Other functions for producing license history:
data_check_sa()
,
drop_na_custid()
,
remove_table()
,
write_history()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.