skardhamar / rga

R Google Analytics
187 stars 90 forks source link

rga package reluctant to import data split by dimensions containing an interval in their title #87

Open tsvetannikolov opened 7 years ago

tsvetannikolov commented 7 years ago

Hi,

When trying to import the following data in R, R returns a table with the Handle User column missing.

Sessions.by.user.by.month <- ga$getData(id, batch=TRUE, metrics = "ga:Sessions", dimensions = "ga:Handle User, ga:Date")

Is RGA able to import dimensions whose titles contain an interval? Customised dimensions' names can be easily changed, but I may encounter difficulties with the standard ones i.e. event label.

Thank you in advance. Tsvetan

MarkEdmondson1234 commented 7 years ago

Nevermind, function is here, but be aware there is rga here, and RGA there https://github.com/artemklevtsov/RGA