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

readxl RStudio webinar

readxl RStudio webinar

http://readxl.tidyverse.org

Like it or not, spreadsheets are a common data source for many of us. We’ll review the overall landscape for importing spreadsheet data into R and then go into detail for the readxl package specifically. readxl is the Tidyverse (http://tidyverse.org) solution for reading data stored in the legacy xls format or the more modern xlsx format. It has no tricky external dependencies, is quite speedy, and is easy to install and use across all operating systems.

Jennifer (Jenny) Bryan

May 10, 2017
Tweet

More Decks by Jennifer (Jenny) Bryan

Other Decks in Programming

Transcript

  1. 2015 April First readxl CRAN release! v0.1.0, written by Hadley

    Wickham 2016 March v0.1.1 patch release 2017 April v1.0.0, Jenny Bryan is new maintainer lots of bug fixes, some new features
  2. ## install readxl + other packages install.packages(“tidyverse”) ## install readxl

    alone install.packages(“readxl”) ## regardless, load readxl like so: library(readxl)
  3. .xls vs .xlsx self-contained vs. needs Java/Perl data (frame) vs

    cells & formatting readxl www.rstudio.com
  4. 1. readxl is all about the data rectangle 2. RStudio

    IDE has a nice Excel helper 3. readxl’s column typing is groovy 4. workflows for multiple sheets and files