artemklevtsov / RGA

A Google Analytics API client for R
http://cran.r-project.org/package=RGA
32 stars 13 forks source link

get_unsampled_report() return a list? #40

Closed meidata closed 8 years ago

meidata commented 8 years ago

Hi Artem again,

I am first using the list_unsampled_reports to get the id of the unsampled reports id like the following:

unsample_List_Report <-list_unsampled_reports(ga_profiles$accountId,ga_profiles$webPropertyId,ga_profiles$id)

dddddddddddddd

And then i use the the id i got from above for the function get_unsample_reports(), but it return a list of summary information, not the dataset.

visiteur_Meubles <- get_unsampled_report(ga_profiles$accountId,ga_profiles$webPropertyId,ga_profiles$id,unsample_List_Report$id[1],token = TokenGA)

und

Is there anything i missed?

Thank you in advance!!

artemklevtsov commented 8 years ago

get_ methods always return a list (by design).