eeholmes / CoV19

Package for exploring the CoV-19 data
https://eeholmes.github.io/CoV19/
0 stars 1 forks source link

add function that loops and saves over all distributions #3

Open titaniumbones opened 4 years ago

titaniumbones commented 4 years ago

since you are serving GH-Pages from master, no reason not to store images for al ljurisdictions online in images/ folder. I think this will be faster for you to implement than for me to learn, but something like:

stateslist <- c([collect the states])
worldlist <- c([collect theworld jurisdictions])
italylist <- c([collect italian jurisdictions])

for (s of stateslist {
  ggsave(s.jpg)
}

obvs won't work like this -- but I odn't get how saving of graphs works.
Anyway, once they're available shoud be straightforward to make a dashboard where we can sort/filter/compare images, just by ocpying an existing one and modifying the jurisdictional ocmponents.

titaniumbones commented 4 years ago

actually if you can write those fucntions, I can package the in another place so the images con't clutter up this sebsite.