Daniyar Shekebayev / Jan 11 2021 / Published
R for web analytics (4.0.3)
Swiss army knife image for web analytics. Based on rocker tidyverse:4.0.3
with addition of data.table, googleAnalyticsR, rym, Rpostgres, RTableau, etc
R-tidyverse:4.0.3
Download as Docker image from:
Copy
This image was imported from: rocker/tidyverse:4.0.3
Included packages:
Next we need to install libxt
library that's missing in original rocker/tidyverse:4.0.3
image and rclone to upload results into S3-compatible object storage or any other cloud storage for that matter. For reticulate package to work we also need python modules
apt update && apt install progress curl libxt6 python3-pip -y
pip3 install pandleau pandas
curl https://rclone.org/install.sh | sudo bash
25.3s
Bash in R
R-tidyverse:4.0.3
Next, let's install the necessary R packages for data wrangling and import-export operations
options(Ncpus = 4)
install.packages(
c("data.table",
"googleAuthR",
"vroom",
"googleAnalyticsR",
"rym",
"RPostgres",
"RPostgreSQL",
"DBI",
"readr",
"janitor",
"hms",
"forcats",
"RcppRoll",
"tibble",
"bit64",
"gdata",
"reticulate",
"rdrop2",
"rfacebookstat",
"rvkstat",
"bigrquery",
"RMariaDB"), verbose=T)
library(devtools)
devtools::install_github("zhiruiwang/RTableau")
devtools::install_github("paulhendricks/anonymizer")
devtools::install_github("exploratory-io/exploratory_func")
devtools::install_github('domoinc-r/DomoR')
devtools::install_github("MarkEdmondson1234/searchConsoleR")
devtools::install_github("MarkEdmondson1234/youtubeAnalyticsR")
update.packages(ask = FALSE)
207.3s
R
R-tidyverse:4.0.3
sessionInfo()
0.4s
R
R-tidyverse:4.0.3
#library(RTableau)
library(rym)
library(dplyr)
library(data.table)
library(vroom)
library(googleAnalyticsR)
library(DBI)
library(RPostgres)
library(RPostgreSQL)
#library(foreach)
library(exploratory)
library(janitor)
library(lubridate)
library(hms)
library(tidyr)
library(stringr)
library(readr)
library(forcats)
library(RcppRoll)
library(tibble)
library(bit64)
library(bigrquery)
2.6s
R
R-tidyverse:4.0.3