As data analysts you will need to load data from different sources, for this reason we will show you how to load a CSV file and the different options you have with the "read.csv" function…
How to connect MySql database in R
Today I want to show you an example to connect Rstudio with MySQL server, to do that, yo will need the library RMySQL library(RMySQL) ## Loading required package: DBI First of all, we need to…
Leaflet in R
Hello, everyone!! Today I want to show you how to display your data on a map, to do that, we need these libraries: leaflet, googleway and magrittr. library(magrittr) library(leaflet) library(googleway) For this example we will…
Example of k-means in R
K-means Hi everyone, today we go to explain how to do a cluster segmentation, the term clustering refers to a wide range of unsupervised techniques whose purpose is to find patterns or groups (clusters) within…
Beautiful and selectable graphics with plotly and R
Data visualization is key when presenting our analysis and results, for that reason today we will see the plotly library. This library allows us to create interactive charts very useful for the end user. To…
How to read a xlsx file with multiple…
Hi Everyone, today I want to show you how to read a xlxs file in R, for use this function you must have the library readxl, so the first step is install the readxl library.…
How install Multiple libraries in R?
Many times when executing a code, we have to install and load the necessary libraries for that it works correctly. Today I want to show you a simple solution so that with just one function…
How to connect R with Twitter?
Hello everyone, today I want to explain you how to extract information from Twitter using R libraries. To start playing with the Twitter library we will start by registering at Twiter Developers . This is…
Which users are the most tweeting your product?
In this post I want to teach you how to see which users talk about something on Twitter and present it in a simple chart. For this example we are going to look at the…