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

Batching - Problems with walk_data = "byDate" #67

Open joggopops opened 3 years ago

joggopops commented 3 years ago

## What goes wrong When I'm trying to batch = "byDate", I get an errors saying: Not all elements are data.frames. Set data_frame_output to FALSE?

## Steps to reproduce the problem This is my code

start <- "2021-01-01" end <- "2021-02-01"

website <- "https://www.example.com" download_dimensions <- c('date', 'page') type <- c('web')

searchquery <- search_analytics(siteURL = website, startDate = start, endDate = end, dimensions = download_dimensions, searchType = type, walk_data = "byDate")

All variables are assigned, but I can't understand whats wrong.

MarkEdmondson1234 commented 3 years ago

Is it possible that some dates have no data?

joggopops commented 3 years ago

Is it possible that some dates have no data?

No, not really. We are talking about a huge webite website. There's a minimum of 400k impressions pr. day

MarkEdmondson1234 commented 3 years ago

I don't think "byDate" is reliable anymore too many issues appearing using it: https://github.com/MarkEdmondson1234/searchConsoleR/issues/62 https://github.com/MarkEdmondson1234/searchConsoleR/issues/67 Will remove or fix in next update.