title: Problem with `mutate()` input ` (dplyr_error)
body: <p>I am using R to get unsampled data from Google Analytics using <code>googleAnalyticsR</code> and <code>tidyverse</code> libraries.</p>
  <p>Would you be able to please help me understand how to fix the error I get?
  I am just starting to learn R, so would be grateful if you suggest an alternative approach.</p>
  <p>I get the following error:</p>
  <pre><code> &lt;error/dplyr_error&gt;
      Problem with mutate() input user1.
      x object 'userType' is not found
      i Input user1 is userType.
      Backtrace:
      
      googleAnalyticsR::google_analytics(...)
      googleAnalyticsR:::anti_sample(...)
      googleAnalyticsR:::aggregateGAData(out, agg_names = agg_cols)
      dplyr::select(., !!!mean_selects)
      dplyr::group_by(., !!!dots)
      dplyr::group_by_prepare(.data, ..., .add = .add)
      dplyr:::add_computed_columns(.data, new_groups)
      dplyr:::mutate_cols(.data, !!!vars)
  </code></pre>
  <p>My full code is below:</p>
  <pre><code>#Put filter object into a filter clause.
  #dim_filter_clause &lt;- filter_clause_ga4(list(dim_filter_object),
          #                               operator = &quot;AND&quot;)
  
  # date range
  date_start &lt;- &quot;2020-08-15&quot;
  date_end &lt;- &quot;2020-11-15&quot;
  
  
  #retrieve list of available dimensions
  ga_dim &lt;- ga_meta()
  head(ga_dim)
  
  #Unsampled data
  
                         
  
  #GA will aggregate the data based on the supplied dimensions. So, dimensions
  #need to be carefully selected to avoid miss-aggregation, e.g., collecting deviceCategory
  #(desktop/mobile/tablet)at the same request with movileDeviceModel will return data 
  #from mobile/tablet only (API will omit desktop data) 
  #Using a list-of-list allows us to control the dimensions supplied to the API (maximum of six 
  #dimensions allowed for each list as the API requests provided with the transactionId as the key)
  
  dimension_list &lt;- list('user'=list('userType','deviceCategory','city',
                                     'browser','operatingSystem'),
                         'user2'=list('visitLength','userGender','userAgeBracket'),
                         'seasonality'=list('day','dayOfWeek','yearWeek'))
  
  #identify list of metrics
  
  metric_list &lt;- c('transactionRevenue','transactions','avgSessionDuration','users','bounceRate','avgPageLoadTime',
  'avgTimeOnPage', 'sessions', 'avgServerConnectionTime','avgDomainLookupTime')
  
  
  #initiate the data frame to store the merged dataset
  
  ga_data &lt;- data.frame()
  
  for (i in 1:length(dimension_list)) {
    ga_request &lt;- google_analytics(viewId = ga_view_id,
                                   date_range= c(date_start, date_end),
                                   metrics=metric_list,
                                   dimensions = c('dimension1',unlist(dimension_list[i])),
                                   max = -1)
    
    if (i == 1) {
      #the first output will be set as a base
      ga_data &lt;- ga_request
    } else {
      #merge the subsequent output with the base using a specific key,
      #(in this case: clientId)
      #first, need to remove the metrics column to avoid duplicated metrics
      #column name (suffix: _x &amp; _y)
      ga_request &lt;- ga_request %&gt;% select(-metric_list)
      ga_data &lt;- ga_data %&gt;% left_join(ga_request, by = 'dimension1')
    }
  }
  
  ga_data
  </code></pre>