Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Cannot adjust max.results = null #63

@trangletth

Description

@trangletth

Hi guys,

I met the issue when running a query and got the issue

get_ga(profileId = "34352252", start.date = istart_date, end.date = iend_date, metrics = "ga:transactionRevenue", dimensions = "ga:dimension40, ga:transactionId", fetch.by = "day", max.results = NULL)

if set max.result = 1000 this query can run success due to every max result each day > 1000.
if set max.result = 1500 this query only success for days those have records >= 1500

The error: Error in vapply(x, function(x) as.numeric(x[[name]]), numeric(1)) : values must be length 1, but FUN(X[[1]]) result is length 0 In addition: Warning messages: 1: Only 1500 observations out of 2853 were obtained. Set max.results = NULL (default value) to get all results. 2: Only 1500 observations out of 3184 were obtained. Set max.results = NULL (default value) to get all results.

if set max.result = Null. got error

The error: Error in vapply(x, function(x) as.numeric(x[[name]]), numeric(1)) : values must be length 1,

Could you please help me on this issue? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions