bcgov / ds-intro-to-r-2-day

Lessons for a 2-day Introduction to Data Science using R Workshop
https://bcgov.github.io/ds-intro-to-r-2-day/
Creative Commons Attribution 4.0 International
8 stars 4 forks source link

Steph's edits and what I did on the day #29

Closed stephhazlitt closed 4 years ago

stephhazlitt commented 4 years ago

• adds ggplot2 and bcdata what-we did-on-the-day .R scripts • adds PDF of slides used to begin ggplot2 and bcdata lessons • fixes a couple of minor typos • adds back in code to filter and create asia_oceania data frame • adds url/link to r-gallery website as source of open, example ggplot2 code • removes url/link to etherpad from README (we did not use it)

ateucher commented 4 years ago

That is a great idea Gen

boshek commented 4 years ago

Great point @gcperk. This other option is that we more explicitly utilize that opportunity to highlight a) the problems with spaces in col names and b) how to deal with them either via something like janitor or teach the backticks in a lesson.

stephhazlitt commented 4 years ago

I agree @gcperk. I wonder about using another toy data example though, knowing users will likely be stuck early in their post-course bcdata journey?

My goal was to teach a few tricks required in the wild (e.g. using back ticks for dealing with spaces in column names that should not be there, renaming columns — I decided against introducing a new package, but if there was time I think janitor is super useful here).

The tick confusion was high generally, even before the bcdata lesson (when to quote and when not to quote), so I can see how introducing back ticks did not help. I should have been slower/more deliberate with the step for sure.