Teaching R to social science undergraduates Franois Briatte Ivaylo - - PowerPoint PPT Presentation

teaching r to social science undergraduates
SMART_READER_LITE
LIVE PREVIEW

Teaching R to social science undergraduates Franois Briatte Ivaylo - - PowerPoint PPT Presentation

Teaching R to social science undergraduates Franois Briatte Ivaylo Petev R 2013, Lyon, Fr ance Audience 500+ hours teaching Stata Sciences Po Paris 24 hours teaching R / RStudio Sciences Po Reims Material github.com/briatte/ida (.Rmd, .R)


slide-1
SLIDE 1

Teaching R to social science undergraduates

François Briatte Ivaylo Petev R 2013, Lyon, France

slide-2
SLIDE 2

Audience

500+ hours teaching Stata Sciences Po Paris 24 hours teaching R / RStudio Sciences Po Reims

slide-3
SLIDE 3

Material

github.com/briatte/ida (.Rmd, .R) f.briatte.org/teaching/ida (.html, .R)

slide-4
SLIDE 4

Syllabus

“Introduction to Statistical Computing” “Introduction to Data Visualization” “Introduction to Data Analysis” syllabus.pdf

slide-5
SLIDE 5

Audience (N = 22)

Advanced Math for Economics majors (most planning to enroll in U.S. universities) Little to no coding experience at all (but some had dabbled with Java, Python)

slide-6
SLIDE 6

Interests

Microdata: experimental psychology mass communication Macrodata: economics development

slide-7
SLIDE 7

Issues

Code Data Libraries Security

slide-8
SLIDE 8

Code

Fully commented scripts Sequential parsing of manageable chunks Replication of board examples Questions (code), answers (analysis)

slide-9
SLIDE 9

Data

Almost no simulated data HTTP / HTTPS / FTP / HTML sources

  • 1. download / unzip (to data folder)
  • 2. read / subset (while reading codebook)
slide-10
SLIDE 10

Packages

Unwritable libraries, unrecognized functions… and red ink on success!

slide-11
SLIDE 11

Security

  • cf. Jeff Leek, “Issues with reproducibility at

scale on Coursera”, Feb 6 2013 Running everything on EC2 instances / VMs Blacklisting à la hackme.rapporter.net Sandboxing .Rproj to working directory?

slide-12
SLIDE 12

Wishlist

User-friendly package management Support for survey data (memisc) Better export functions for tables

slide-13
SLIDE 13

Thanks for your attention,

and thanks to the Reims class and campus team for their support François f.briatte.org f.briatte@ed.ac.uk Ivaylo ipetev.org ivaylo.petev@ensae.fr