What searchConsoleR does
searchConsoleR wraps the Google Search Console API for R users. Its main function, search_analytics(), pulls search performance data into a data frame with rows broken down by date, query, page, device or country. Around it sit helper calls for website administration, sitemap handling and crawl error listings, so a script can read and change Search Console settings without leaving the R session.
Authentication runs through googleAuthR, either locally or inside a Shiny app, and the package can be pointed at your own Google API project instead of the shared default. Because the underlying API caps a single response, the package offers batching to page through larger result sets, and a dimension filter expression narrows requests before they are sent.
Key features
- Search analytics to data frame
- search_analytics() downloads Search Console performance rows into an R data frame, split by date, query, page, device or country.
- Website listing and edits
- list_websites(), add_website() and delete_website() read the properties in a Search Console account and add or remove them from a script.
- Sitemap management calls
- list_sitemaps(), add_sitemap() and delete_sitemap() inspect, submit and remove sitemap locations registered against a Search Console property.
- Crawl error retrieval
- crawl_errors() returns the crawl error types googlebot found, and list_crawl_error_samples() returns example URLs behind each error group.
- Mark errors as fixed
- error_sample_url() shows detail for one example URL such as a link to a missing page, and fix_sample_url() marks it as fixed.
- Row batching past the cap
- The package pages through results beyond the API's single response limit, demonstrated on a query that returned hundreds of thousands of rows.
- Filter expression parameter
- The dimensionFilterExp argument filters search analytics requests by dimension values before the call is sent, cutting the amount of data returned.
- Fresh versus final data state
- The dataState parameter selects whether search analytics come back in their fresh, still updating state or in the settled final state.
- Own Google API project
- Users can register their own client ID, choosing an installed or web application type, instead of relying on the package's shared credentials.
- Shiny app authentication
- Authentication works locally and inside a Shiny app, with a bare bones hosted demo linked from the readme.
- CRAN and GitHub install
- Install googleAuthR and searchConsoleR from CRAN, or pull the development build from GitHub through devtools install_github.
- R code, licence undeclared
- The package is written in R, and GitHub metadata reports no recognised licence, so no specific open source licence is declared.
How it works
- Install the googleAuthR dependency and searchConsoleR from CRAN, or install the development build from GitHub.
- Call scr_auth() once and authorise with a Google account that can access the target Search Console property.
- Choose the dimensions to download, such as date, query, page, device or country.
- Run search_analytics() for a date range with optional filters to pull rows into a data frame.
- Turn on batching when a result set exceeds the single response row limit.
- Export the frame to a dated CSV file or keep working with it inside R.
- Use the helper calls to add or remove properties, submit sitemaps and list crawl errors.
Plans and pricing
The package is free to install from CRAN and the source sits on GitHub; no paid tiers or paid support are listed.
Integrations and platforms
Works with
- Google Search Console API
- googleAuthR
- CRAN
- GitHub
- Shiny
- R
Available as
- API
Repository facts
- RepositoryMarkEdmondson1234/searchConsoleR
- LanguageR
- Stars118
- Forks41
- LicenceNOASSERTION
- Created2015-08-01
- Last commit2026-08-11
- Open issues28
- api
- googleauthr
- r
- search-analytics
Services and details
Does SEO work itself
YesTechnical audits
YesAPI or MCP server
Yes
No information yet on keyword research, content optimization, writes content with AI, rank tracking, backlinks and link building, local SEO, AI search visibility, free plan or free tools, free trial, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.
About the company
- Company MarkEdmondson1234
- Website: github.com/MarkEdmondson1234/searchConsoleR
Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.