COVID-19
Plots and analysis relating to the pandemic (by VictimOfMaths)
forcats
🐈🐈🐈🐈: tools for working with categorical variables (factors) (by tidyverse)
COVID-19 | forcats | |
---|---|---|
2 | 4 | |
214 | 537 | |
- | 0.4% | |
4.1 | 3.1 | |
6 months ago | 2 months ago | |
R | R | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
COVID-19
Posts with mentions or reviews of COVID-19.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
Frustration: One Year with R
If you enjoyed this you might like https://github.com/VictimOfMaths/COVID-19 :)
-
[OC] Progress in COVID vaccinations in England by age and sex
R code to produce the gif is here.
forcats
Posts with mentions or reviews of forcats.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
Using scale_x_discrete on graphs
Have a look at the forcats package https://forcats.tidyverse.org/
-
[Q] 'pivot_longer' applied to an object of class "character"
Such a function wouldn't add anything that factor() or as.factor() don't already do, but the forcats tidyverse package does make it easier to work with factor variables afterwards: https://forcats.tidyverse.org/
-
This chart has the days of the week on the x-axis, but they are all over the place, starting with Sunday and then going to Wednesday. My table has the correct sequence of days. So why is this happening to me? :\
Turn weekdays to factors to have some control over order. https://forcats.tidyverse.org/ https://r4ds.had.co.nz/factors.html#modifying-factor-order
-
Frustration: One Year with R
This was fun to play around with. I made some very minor changes and posted at https://gist.github.com/hadley/d54895557fbb0fe0402d2277b9011....
It revealed to me that there's a buglet in `forcats::last()` (https://github.com/tidyverse/forcats/issues/303) and made me wonder if `pivot_longer()` should be able to rename the columns as you pivot them (https://github.com/tidyverse/tidyr/issues/1338)
What are some alternatives?
When comparing COVID-19 and forcats you can also consider the following projects:
mech - 🦾 Main repository for the Mech programming language. Start here!
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
ggplot2-book - ggplot2: elegant graphics for data analysis
dtplyr - Data table backend for dplyr
Frustration-One-Year-With-R - An extremely long review of R.
ggplot2 - An implementation of the Grammar of Graphics in R
tidyr - Tidy Messy Data
plotnine - A Grammar of Graphics for Python