-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using google_analytics_account_list() #52
Comments
I've seen this before when the email authenticated under has no GA Views to list, or only one - could this be the case? |
Well I have one project yes, or one View. But why would one ga view give an error? |
R treats one row data.frames as vectors sometimes, but I've not had an account to test it upon with only one View. Its recommended anyhow not to just have one, since ideally you should have a raw data profile then another with filters applied against bots etc. But this also should not be a problem since a previous fix I did, so may I ask what version of the package you are using? Typing the output of the below will give all the info needed: sessionInfo() And also to see if the same problem persists if you install the development version: Install devtools if you don't have it: install.packages(devtools) Then install via Github: library(devtools)
install_github("MarkEdmondson1234/googleAnalyticsR") Note also that you should still be getting data in the |
As reported also here https://github.com/MarkEdmondson1234/googleAnalyticsR/issues/41 |
@mischa2002k2 @ilyasustun I found the bug for parsing the account summary when its only one row, its fixed now for the version on github |
Windows 10 64 bit.
R 3.3.2
RStudio Version 1.0.44
The code:
account_list = google_analytics_account_list()
returns the following error:
How can it be solved?
The text was updated successfully, but these errors were encountered: