This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('readxl') | |
# library | |
library(readl) | |
# list sheets | |
excel_sheets('sample2.xls') | |
# read data from sheet 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('jsonlite') | |
install.packages('XML') | |
install.packages('purrr') | |
install.packages('xml2') | |
# library | |
library(jsonlite) | |
library(XML) | |
library(purrr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('magrittr') | |
install.packages('readr') | |
# library | |
library(magrittr) | |
library(readr) | |
# read data | |
ecom <- readr::read_csv('https://raw.githubusercontent.com/rsquaredacademy/datasets/master/web.csv') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('dplyr') | |
install.packages('readr') | |
# library | |
library(dplyr) | |
library(readr) | |
# read data | |
ecom <- readr::read_csv('https://raw.githubusercontent.com/rsquaredacademy/datasets/master/web.csv') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('dplyr') | |
install.packages('readr') | |
# library | |
library(dplyr) | |
library(readr) | |
# import order data | |
order <- readr::read_csv('https://raw.githubusercontent.com/rsquaredacademy/datasets/master/order.csv') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('dplyr') | |
install.packages('readr') | |
# library | |
library(dplyr) | |
library(readr) | |
# import data | |
ecom <- readr::read_csv('https://raw.githubusercontent.com/rsquaredacademy/datasets/master/web.csv') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('lubridate') | |
install.packages('readr') | |
install.packages('dplyr') | |
install.packages('magrittr') | |
# library | |
library('lubridate') | |
library('readr') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('stringr') | |
install.packages('readr') | |
install.packages('tibble') | |
install.packages('magrittr') | |
install.packages('purrr') | |
install.packages('dplyr') | |
# library | |
library(stringr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('forcats') | |
install.packages('readr') | |
install.packages('dplyr') | |
install.packages('ggplot2') | |
# library | |
library(forcats) | |
library(readr) | |
library(dplyr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install | |
install.packages('DBI') | |
install.packages('RSQLite') | |
install.packages('dplyr') | |
install.packages('dbplyr') | |
# library | |
library(DBI) | |
library(RSQLite) | |
library(dbplyr) |