Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Big Magic with R: Creative Learning Beyond Fear, ASA

Big Magic with R: Creative Learning Beyond Fear, ASA

Presented at the fall meeting for the Oregon chapter of the American Statistical Society in Corvallis (OSU).

Alison Presmanes Hill

November 05, 2018
Tweet

More Decks by Alison Presmanes Hill

Other Decks in Programming

Transcript

  1. Alison Hill, Data Scientist & Professional Educator @RStudio
    @apreshill
    @apreshill
    https://alison.rbind.io/
    BIG MAGIC WITH R:
    CREATIVE LEARNING BEYOND FEAR

    View Slide

  2. 2
    My inspiration
    today!
    Image credits:
    https://www.elizabethgilbert.com/

    View Slide

  3. 3
    More Less
    Energized Defeated
    Creative Rigid
    Resilient Helpless
    How can we help learners be:

    View Slide

  4. 4
    Learning should not feel like this

    View Slide

  5. 5
    Learning should feel like this

    View Slide

  6. Courage
    Enchantment
    Permission
    Persistence
    Trust

    View Slide

  7. COURAGE

    View Slide

  8. COURAGE IS A PLAN

    View Slide

  9. OH:
    “I want / need /
    have been
    instructed to
    learn R”
    Not a
    plan!

    View Slide

  10. A plan!

    View Slide

  11. A plan!

    View Slide

  12. A plan!

    View Slide

  13. 13
    NO COURAGE, NO PLAN

    View Slide

  14. 14
    COURAGEOUS PLANNER

    View Slide

  15. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map
    Your original
    Your Your

    View Slide

  16. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map

    View Slide

  17. ENCHANTMENT

    View Slide

  18. The joy of working
    with code that
    JUST WORKS

    View Slide

  19. The learners’ job?
    ! Make sure the code
    works
    (it should!)

    View Slide

  20. The learners’ job?
    ! Understand why
    the code works

    View Slide

  21. Your job:
    Teach the docs!
    “It’s not magic; it’s code.”
    — Ben Welsh, L.A. Times Data Editor

    View Slide

  22. Use #comments and ?
    ?function_name
    Description
    Usage
    Arguments

    View Slide

  23. View Slide

  24. View Slide

  25. View Slide

  26. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map

    View Slide

  27. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map

    View Slide

  28. 28
    ADDING ENCHANTMENT

    View Slide

  29. 29
    JUST ENOUGH ENCHANTMENT

    View Slide

  30. PERMISSION

    View Slide

  31. View Slide

  32. “Your [work] not only doesn’t
    have to be original…it also
    doesn’t have to be important.”
    —Elizabeth Gilbert, Big Magic

    View Slide

  33. 33
    Find projects to copy
    • RWeekly “R in the Real World”:
    https://rweekly.org/#RintheRealWorld
    • Julia Silge (Data Scientist, Stack Overflow)
    https://juliasilge.com
    • Dave Robinson (Data Scientist, DataCamp)
    http://varianceexplained.org
    • Maëlle Salmon (ROpenSci, LockeData)
    http://www.masalmon.eu
    • Lucy! and Nick (Vandy biostats students)
    http://livefreeordichotomize.com

    View Slide

  34. CHOOSE
    WISELY

    View Slide

  35. NOT
    YOUR
    STYLE

    View Slide

  36. NOT
    YOUR
    PROBLEM

    View Slide

  37. NOT
    YOUR
    LEVEL
    (YET!)

    View Slide

  38. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map

    View Slide

  39. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map
    Someone else’s Someone else’s
    Your

    View Slide

  40. 40
    PERMISSION TO TRY FOR THIS

    View Slide

  41. 41
    PERMISSION TO FEEL LIKE THIS

    View Slide

  42. View Slide

  43. View Slide

  44. PERSISTENCE

    View Slide

  45. “For most of history
    people just made
    things, and they didn’t
    make such a big freaking
    deal about it.”
    —Elizabeth Gilbert, Big Magic

    View Slide

  46. View Slide

  47. Hilary Parker
    https://hilaryparker.com/2013/01/30/hilary-the-most-poisoned-baby-name-in-us-history/

    View Slide

  48. Julia Silge
    https://juliasilge.com/blog/my-baby-boomer-name/

    View Slide

  49. Monica Gerber
    http://www.monicagerber.com/2018/03/little-bit-of-monica/

    View Slide

  50. Brooke Watson
    https://blog.brooke.science/posts/the-us-of-bey/

    View Slide

  51. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map

    View Slide

  52. tibble
    tidy
    data
    IDEAS WORDS R
    gather
    map
    Your original
    Your Your

    View Slide

  53. You aren’t
    doing it
    wrong
    if no one knows what you are doing.

    View Slide

  54. TRUST

    View Slide

  55. View Slide

  56. 56
    Trust
    • GitHub: https://github.com
    – Open an account
    – You will need this: http://happygitwithr.com
    • Your own website
    – My recommendation (obvious, biased): use blogdown
    – You will need this:
    https://bookdown.org/yihui/blogdown/
    • A friend!
    – Make sure someone else ! at your code!
    – Ideas:
    • Partner up with someone in your team / lab / company
    • Find a coding partner at your local R Meet-up or R-Ladies
    group
    • Ask the #rstats twitterverse!

    View Slide

  57. View Slide

  58. View Slide

  59. Where are we?

    View Slide

  60. X
    I don’t know X, but I know
    I can figure it out…

    View Slide

  61. X
    Courage
    Enchantment
    Permission
    Persistence
    TRUST!

    View Slide

  62. X
    Courage
    Enchantment
    Permission
    Persistence
    TRUST!

    View Slide

  63. Trey Speegle- https://20x200.com/products/trey-speegle-thank-you

    View Slide