🤖
R for SEO
  • 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
    • SEO & R People x
    • Execute R code online
    • useful SEO XPath's & CSS selectors X
Powered by GitBook
On this page
  • What is SEO?
  • What is R?
  • Why would you use R for SEO?
  • When should you be using R for SEO?
  • So... Why not Python?

Was this helpful?

What is R? What is SEO?

What is SEO?

Search Engine Optimization, or SEO, is the process of improving the quality and quantity of website traffic to a website or a web page from search engines.

What is R?

R is a free programming language and software environment.

Why would you use R for SEO?

R is specialized in data mining, statistical & data analysis, and data visualization. It also has a good capacity for crawling. Basically, everything that is useful for doing some SEO.

When you have understood the fundamentals, R' is also quite easy to read and write. Even if you don't want to really learn it, just copy/paste 3 lines of code, you can crawl a website or extract some Google Analytics data and export them into a CSV.

When should you be using R for SEO?

R becomes useful when you start to deal with big websites with thousands of pages. I'm a big fan of automation but the relevance needs to be properly evaluated. There are also a lot of great SEO tools out there, R' will never replace them but it is definitely a very nice addition to your set of tools.

So... Why not Python?

Python is an extraordinary programing language, very versatile, in many cases faster. Python is better than R, 90% of the time. The 10% where R is superior is data visualization syntax (nothing beatsggplot2so far) and easy-to-use data manipulation (thanks to Dyplr ). Finally, it's less wordy, often easier to read. Using R is a pragmatic choice, R is often used by academics and people that have another job, full-time dev logically learns Python.

PreviousGetting startedNextAbout this Book

Last updated 3 years ago

Was this helpful?