easystats / datawizard

Magic potions to clean and transform your data 🧙
https://easystats.github.io/datawizard/
Other
199 stars 13 forks source link

Vignette about data wrangling using `{datawizard}` #90

Open IndrajeetPatil opened 2 years ago

IndrajeetPatil commented 2 years ago

Basically, an article demonstrating how the package (to a limited extent) can do similar things as {dplyr} + {tidyr} workflow.

IndrajeetPatil commented 2 years ago

@etiennebacher Are you interested in taking this one on?

etiennebacher commented 2 years ago

I can try to do something in the next days

IndrajeetPatil commented 2 years ago

As mentioned by @etiennebacher (https://github.com/easystats/datawizard/pull/183#issuecomment-1172082275):

I think a good example of a messy dataset could be to download a csv file from the World bank catalogue (not using the package WDI because it provides already cleaned data). We could use:

  • filtering to keep countries only (remove aggregates)
  • pivoting because it's one year per col
  • selecting, renaming and relocating for diverse things