Code for making static graphs of regional data #348
Replies: 2 comments 3 replies
-
This looks really nice Richard, really like the ridge plot usage for incidence (I don't think I have seen that before). Could be interesting as a vignette but you are right might lead to package bloat. Could also add to the use cases vignette that I proposed and never got anywhere with. In the past I have made parameterised Rmarkdown reports + shiny interfaces in packages and it can be a lot of work but can also be worth doing. I think probably something for a companion package though as it is of lots of use to a subset of users and no use to others (who just want the data for modelling etc and won't use any vis but their own (i.e me)). |
Beta Was this translation helpful? Give feedback.
-
I've reworked this and renamed it as http://github.com/RichardMN/covidregionaldatagraphs The code now can be run with the params function (and shiny) but also has a script which renders for nearly all the data sources we have (currently excluding some of the ones I know are broken) and a workflow to try to automate updating in github. |
Beta Was this translation helpful? Give feedback.
-
I've worked to get my chart-making code for Lithuania running with the latest version of
covidregionaldata
, get a workflow of my own running to render it, and then make it generic so it can be run on (nearly) any source of regional data.It's all over in http://github.com/RichardMN/lithuaniacovidgraphs
I would welcome comments and suggestions - including whether it may be worth trying to turn this into a vignette. My concern with doing so is that it depends on several more packages.
This used to be an Rmarkdown file. I broke it out into something which will just generate the graphs so that it could be run as a cron job (possibly through an action, possibly on a home machine) to regularly update the graphs without having to run rmarkdown or pkgdown or ... I'm also not quite sure how to frame the conditions into Rmarkdown but figure this could be sorted out.
Beta Was this translation helpful? Give feedback.
All reactions