leonardofed / r-google-analytics

Automatically exported from code.google.com/p/r-google-analytics
0 stars 0 forks source link

JSON error with path variables #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using any dimension (such as ga:landingPagePath) with a path
2. Running a query with that dimension (used ga:pageviews as metric)

What is the expected output? What do you see instead?
Query should run.  Instead see this error:
> # 4. Make a request to get the data from the API
> ga.data <- ga$GetReportData(query)
Error in fromJSON(api.response.json, method = "C") : 
  unexpected character: 1

What version of the product are you using? On what operating system?
RGoogleAnalytics 1.3
"R version 3.0.0 (2013-04-03)"

Please provide any additional information below.
Seems like it's not able to parse the URL string in the fromJSON.

Original issue reported on code.google.com by jlow...@cardinalpath.com on 1 Jul 2013 at 3:51

GoogleCodeExporter commented 8 years ago
Assigning to Vignesh to investigate as part of JSON implementation 

Original comment by michael....@gmail.com on 18 Jul 2013 at 7:26