subugoe / hoad

Deprecated: Please check https://github.com/subugoe/hoaddash
https://github.com/subugoe/hoaddash
GNU Affero General Public License v3.0
15 stars 4 forks source link

create ggplot2 methods #221

Open maxheld83 opened 4 years ago

maxheld83 commented 4 years ago

The currently used pattern, where there's a plot_x() and a wrangle_x() function is a bit cumbersome and not super expressive.

Perhaps we want to go full ggplot2::autoplot() here at some point as per https://ggplot2.tidyverse.org/articles/ggplot2-in-packages.html.

This is on the backburner; ETL should be done first, because otherwise there's no point in defining methods if the objects change.

The preliminary pattern should work for now, because we're at least refactoring the plotting logic.