Open Data France et datactivi.st
Jour 2
Joël Gombin et Samuel Goëta (datactivi.st)
Retrouvez les matériaux sur : www.github.com/datactivist/IntroR_ODF
Pad collaboratif : https://frama.link/formationR_pad2
https://www.rstudio.com/products/rstudio/download / https://www.rstudio.com/products/rstudio/download/preview
(Usagers MacOS X : si difficulté à installer XCode => https://github.com/kennethreitz/osx-gcc-installer)
installer le tidyverse : install.packages("tidyverse")
?helpreadr pour le CSV, haven pour SPSS / SAS / Stata, readxl pour le XLS(X), rio pour (presque) tout le restelibrary(readr)monjeudedonnees <- read_csvsum(1, 2, 3)## [1] 6a <- sum(1, 2, 3)
a## [1] 6“Happy families are all alike; every unhappy family is unhappy in its own way.” – Leo Tolstoy
“Tidy datasets are all alike, but every messy dataset is messy in its own way.” – Hadley Wickham

tibblehttps://www.data.gouv.fr/fr/datasets/election-presidentielle-2012-resultats-572126/