ox-it / OxfordIDN_htmlwidgets

Interactive visualisation templates with htmlwidgets and R
http://ox-it.github.io/OxfordIDN_htmlwidgets/
MIT License
3 stars 6 forks source link

Table of desktop items could be improved #8

Closed ToonTalk closed 8 years ago

ToonTalk commented 8 years ago

I think the mean is confusing here. Why not something like

aggregate_function = sum

in http://ox-it.github.io/LiveData_htmlwidgets/charts/BarCharts/

charliejhadley commented 8 years ago

It's interesting to show the mean items per OS but not per University, instead the overall messiness (or some analog to it) can be shown by computing the "sum"..

So would call as:

intermediate_aggregate <- aggregate_data_for_barchart(
  data = desktopItems,
  dimension_column = "University",
  measure_column = "Desktop.Items",
  aggregate_function = sum
)
charliejhadley commented 8 years ago

Fix in https://github.com/ox-it/OxfordIDN_htmlwidgets/commit/8af201f8437482afb6c5b87b27c8ba9e12e0e6fd