Favorite R Packages

[This article was first published on r on Joel Soroos, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Sourcing

  • readr – fast and friendly way to read rectangular data (i.e. csv, tsv)
  • RODBC – SQL querying against relational databases
  • readxl – importing Excel files including individual worksheets
  • rvest – tools for working with http connections
  • rio – simplify importing and exporting data across source formats
  • datapasta – copy/paste data using clipboard
  • rtweet – Twitter API via R
  • spotifyr – access Spotfiy API via R

Exploring

  • skimr – displays summary statistics the user can skim quickly to understand their data
  • dataexplorer – automated scanning and visualizing of each data set field

Wrangling

  • dplyr – transform and summarize data frames
  • stringr – manipulate regular expressions and character strings
  • lubridate – simplify working with dates and times
  • glue – concatentate strings and/or data
  • magrittr – set of operators to make code more readable such as the pipe
  • janitor – simple functions for cleaning dirty data
  • tidyr – transform data layout
  • tidytext – simplify text mining

Modeling

  • broom – converts statistical model output to tidy data
  • factoextra – kmeans clustering algoriths, visualizations
  • NbClust – index of 30 kmeans clustering optimal K methodologies
  • ggdenro – parses dendogram data into data frames
  • stats – assorted machine learning, statistics and probability algorithms

Visualizing

  • ggplot2 – R’s famous package for beautiful graphics usibg the grammar of graphics
  • ggmap – access Google API to download Google maps and geolocations
  • ggraph – ggplot2 extensions for network diagrams and trees
  • ggimage – adding custom images to charts
  • ggridges – density plots
  • patchwork – combine charts
  • scales – maps data to aesthetics, automatically determines breaks and labels for axes and legends.
  • geofacet – visualize data for geographical regions via faceting with arrangement of panels mimicing original geographic topology
  • gganimate – view chart evolution over time via animation
  • ggupset – upset charts to visualize set intersections
  • ggdark – uncluttered chart theme

Communicating

Programming

To leave a comment for the author, please follow the link and comment on their blog: r on Joel Soroos.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)