🤖
🤖
🤖
🤖
R for SEO
Crawling
APIs
Dataviz
Buy me a coffee
Search…
Using R for SEO, What to expect?
Getting started
What is R? What is SEO?
About this Book
Crawl and extract data
What's crawling and why is it useful?
Download and check XML sitemaps using R'
Crawling with rvest
Website Crawling and SEO extraction with Rcrawler
Perform automatic browser tests with RSelenium
Grabbing data from APIs
Grab Google Suggest Search Queries using R'
Grab Google Analytics Data x
Grab keywords search volume from DataForSeo API using R'
Grab Google Rankings from VALUE SERP API using R'
Classify SEO Keywords using GPT-3 & R'
Grab Google Search Console Data x
Grab 'ahrefs' API data x
Grab Google Custom search API Data x
Send requests to the Google Indexing API using googleAuthR
other APIs x
Export and read Data
Send and read SEO data to Excel/CSV
Send your data by email using gmail API
Send and read SEO data to Google Sheet x
data wrangling & analysis
Join Crawl data with Google Analytics Data
Count words, n-grams, shingles x
Hunt down keyword cannibalization
Duplicate content analysis x
Compute ‘Internal Page Rank’
SEO traffic Forecast x
URLs categorization
Track SEO active pages percentage over time x
Data Viz
Why Data visualisation is important? x
Use Esquisse to create plots quickly
Explore data with rPivotTable
Resources
Launch an R script using github actions
Types / Class & packages x
Datasets x
SEO Tools x
SEO & R People x
Execute R code online
useful SEO XPath's & CSS selectors X
Powered By
GitBook
Execute R code online
Use RPubs to publish R code
If the data is public and you want to show off your R skills you can use rpubs directly
You'll need to install the
knitr
package (v0.5 or later), there is a mini-tutorial just after registration
Create an account
Use RStudio Cloud to publish private code.
There is a 'Cloud' version of RStudio, perfect for a quick demo. For more serious work, there is some
dedicated plans
.
Create an account here
https://rstudio.cloud/
Use GoogleColab for collaborative work
This is a little-known option but it's possible to use R inside GoogleColab
Start
rmagic
by executing this in a cell:
1
%load_ext rpy2.ipython
Copied!
Then start your script by
%%R
to execute
1
%%
R
2
3
x
<-
1
:
10
4
5
x
6
# it should display number from 1 to 10
Copied!
more details about this feature
Native R on GoogleColab
there is an undocumented feature that allows running R code natively
more info here https://youtu.be/huAWa0bqxtA
I wouldn't rely on it, as it might disappear
Execute R code on GitHub
See this article
Resources - Previous
SEO & R People x
Next - Resources
useful SEO XPath's & CSS selectors X
Last modified
1yr ago
Copy link
Contents
Use RPubs to publish R code
Use RStudio Cloud to publish private code.
Use GoogleColab for collaborative work