gesistsa / rio

🐟 A Swiss-Army Knife for Data I/O
http://gesistsa.github.io/rio/
602 stars 76 forks source link

Rewrite examples #327

Closed chainsawriot closed 1 year ago

chainsawriot commented 1 year ago

Quoting this: https://r-pkgs.org/man.html#sec-man-examples

I think the current examples are neither readable nor realistic.

https://github.com/chainsawriot/rio/blob/8fd8ba734ac58286faca1c3672123bdb3a0d88eb/R/import.R#L62-L67

Contrast this with

https://github.com/tidyverse/haven/blob/9b3b21b5e9b64867eb53818faa7e9a22480f347d/R/haven-stata.R#L40-L46