hafen / trelliscopejs

TrelliscopeJS R Package
https://hafen.github.io/trelliscopejs
Other
263 stars 37 forks source link

Add domain-specific cognostic data frames as optional sources for cognostics #7

Open hafen opened 7 years ago

hafen commented 7 years ago

It would be really handy to have some data frames of cognostics that can be automatically or easily added to displays having to do with data that is split up according to common domains such as geographical region.

For example, we might make a data frame available of economic / demographic variables for each state and/or county in the US, or each country in the world. There are good sources for these kinds of data, such as the World Bank, etc.

Then we could have a function geo_cognostics(vars = c("poverty", "population", ...)) that will grab these metrics and make them available as cognostics for each subset.