goctools is an R package for the Gainesville Opportunity center
Tools include database access, data cleaning, dashboard widgets, plots, and reports.
Tools are usable from
- the command line
- the GOC R server in batch jobs controlled by cron
- the GOC Dashboard
Having a tools package used by these insures consistency
To install:
install.packages('mconlon17/goctools')
library(goctools)
plot_
-- plotslist_
-- flextable reports (lists) that tabulate data for presentation.dict_
-- dictionary functions used to translate values from Flourish internal (key) to presentation externation (value)check_
-- functions used to check values for possible errors. In some cases these are frequency tables, in some cases lists, and in some cases, more sophisticated check. For examplecheck_duplicate_contacts
checks all the contacts against each other for duplicate names using Levenshtein distance.get_
-- get data from Flourish. These functions return data.frames ready for further processing
Two special functions insure consistency of presentation:
goc_table
-- creates a flextable from a data.frame using GOC presentation standardsgoc_plot
-- creates a ggplot from a ggplot applying GOC presentation standards