MarkEdmondson1234 / searchConsoleR

R interface with Google Search Console API v3, including Search Analytics.
http://code.markedmondson.me/searchConsoleR/
Other
114 stars 41 forks source link

Added support for dataState parameter which is optional by GSC API #80

Closed zatkoma closed 1 year ago

zatkoma commented 1 year ago

In 2019 was added "fresh data" to GSC (source). Since 2020 are this data available in API (source) but this data aren't supported by current implementation of search_analytics function in searchConsoleR. I was exploring some GSC data and realized that this feature would be useful.

So I've added this parameter to function search_analytics and by default is set "final" source (this is how it works today). So anyone who wants fresher data will be able to download it and get notice about to interpret the results correctly.

I tried to edit the documentation and readme, hopefully I didn't forget anything.


I see this might solve part of the issue: #64

MarkEdmondson1234 commented 1 year ago

This looks great! The only addition I would ask is to add yourself as a contributor to the DESCRIPTION file ;)

zatkoma commented 1 year ago

I had some problems with diacritics in my last name but after some changes seems works good. :)

Thanks for your fast responses!

MarkEdmondson1234 commented 1 year ago

Thanks for the update :)