我正在尝试使用R studio在Excel中开发仪表板。
我现在有了代码:
session01 <- Init(start.date = '2015-02-01',
end.date = '2015-04-01',
dimensions = 'ga:date,ga:userType',
metrics = 'ga:sessions',
sort = 'ga:date',
segments = NULL,
max.results = 10000,
start.index = NULL,
table.id = 'ga:XXXXXXX')
session01 <- QueryBuilder(session01)
report02 <- GetReportData(session01, oauth_token_LO)
然而,它得到了这样的信息:
> report02 <- GetReportData(session01, oauth_token_LO)
Your query matched 0 results. Please verify your query using the Query Feed Explorer and re-run it.
Error in GetDataFeed(query.uri) :
no loop for break/next, jumping to top level
有人知道如何解决这个问题吗?