"R libraries to aid you to learn data science in 2018" 
Tags: beginners, datascience
Published: 2018-01-03 13:16:14

---
title: "R libraries to aid you to learn data science in 2018" 
published: true
description: 
tags: beginners ,data science
---
<p>2018 is already here!What a year 2017 has been!<br>For someone who started learning data science later this year, it feels like the year has been short.The R learning curve may seem steep however continuous exposure to different tools and libraries/packages can make your experience simpler.<br>
In this article, I share with you R packages under different branches of data science that have made my learning journey worthwhile so far.</p>

<h3>Data Visualization</h3> 
This is a very instrumental part of data science, for a data science newbie the ability to create great visualizations gives you the hope that you are on the right track.With great data visualizations comes a sense of appreciation for your work especially from none data scientists.The following packages will come in handy while visualizing in R.

<h4>1.ggplot2 </h4>
This is an R package that a makes all that work of visualization much easy. It is known as the grammar of graphics and will take care of plotting details, has different graphical options and does great graph layering.<br>
It is available on CRAN.
Here is a great ggplot2 cheat sheet to get you started: <a href ="https://www.rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf">ggplot2 cheat sheet</a>

<h4>2.shiny </h4> 
This an R package that gives users the power to explore dashboards and web apps.Shiny helps a lot with data collection and manipulation in real time as it handles reactivity in a great way.shiny apps can make use of HTML widgets, CSS themes and javascript actions to interface with R scripts.It is an awesome library for someone interested in data storytelling on their website.<br>
shiny is available on CRAN.

<h3>Data Wrangling</h3>  
One of the goals of every data scientist should be maximizing the data analysis time.To achieve this one needs to ensure the data they are working with is as clean as possible and can be subjected to manipulation easily.Data wrangling is the process of cleaning up data, removing redundancy and organizing it in a way that makes analysis much easier.The following packages are great and simple data wrangling tools.

<h4>1.tidyr</h4>
From the tidyr <a href = "http://tidyr.tidyverse.org/">website<a/>,tidy data is defined as data where <br>
<li>Each variable is in a column.
<li>Each observation is a row.
<li>Each value is a cell. <br>
tidyr makes use of simple verbs as R functions like gather()to carry out quick data tidying operations on large datasets.<br>
tidyr is available on CRAN.

<h4>2.dplyr</h4>
While dealing with data, there are common manipulations that have to be carried out and dplyr helps solve these by providing verb functions to carry out these manipulations.This helps you filter your data and carry out operations that can group the data for deeper meaning.<br>
dplyr is s available on CRAN.


<h3>Data Mining </h3> 
This is one of the biggest challenges for data science newbies.Although very many websites are full of open data sets and are free, It is also an accomplishing feeling for a data science newbie to learn how to extract a data set from the numerous sources of information on and off the web.
The following libraries will do the magic:

<h4>1.httr </h4> 
This package will enable you access data via modern web APIs. It makes use of HTTP verb functions, requests return JSON data that can be parsed as R objects and it supports Oauth. This makes it easy for a newbie working with APIs in R.<br>
This package is available on CRAN 


<h4>2.rvest</h4> 
An R package for web scraping. It reads HTML docs through URLs, selects parts of the document using the CSS selectors and parses HTML tables as data frames in R.<br>
This package is available on CRAN


<h3>Conclusion</h3>
<p>
The first days of data science can be a bit confusing, however focusing on each one of these branches can help you understand data science step by step.
I wish you a great learning experience in 2018 .Dont stop learning. <br>
Feel free to reach out to me via twitter <a href ="https://twitter.com/lornamariak">@lornamariak</a> .I am happy to help and give some hype/support.Happy coding!
</p>