You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I am trying to consolidate sitemaps data from a large list of websites in search console.
I am coercing the data into a data frame and then rbind'ing and looping through the profiles.
All is working, except when a search console profile has multiple sitemaps.
When you review the ouput, you can see that the $contents are provided separately to the $sitemap
$contents
$contents[[1]]
type submitted indexed
1 web 508 498
$contents[[2]]
type submitted indexed
1 web 1047 24
$contents[[3]]
type submitted indexed
1 web 825 806
So whilst every other profile linked to this domain produces 11 columns in the data frame, this one produces 17.
As you can see it is producing contents.submitted.1/2/3 for each profile and repeating the data.
I am guessing there must be some method to control this within r than I do not know?
Hi James, sorry I am a bit unclear on the question here - I think perhaps you are looking at seeing the structure of what is returned, which may be better seen via str(obj) rather than as a data.frame.
Hi guys, I am trying to consolidate sitemaps data from a large list of websites in search console.
I am coercing the data into a data frame and then rbind'ing and looping through the profiles.
All is working, except when a search console profile has multiple sitemaps.
When you review the ouput, you can see that the $contents are provided separately to the $sitemap
So whilst every other profile linked to this domain produces 11 columns in the data frame, this one produces 17.
As you can see it is producing contents.submitted.1/2/3 for each profile and repeating the data.
I am guessing there must be some method to control this within r than I do not know?
The text was updated successfully, but these errors were encountered: