clean_ga_metrics: Handle Google Analytics Lists

View source: R/google-analytics.R

clean_ga_metricsR Documentation

Handle Google Analytics Lists

Description

These functions are to clean metric and dimension data from Google Analytics 'get_ga_stats()' function.

Usage

clean_ga_metrics(metrics = NULL, type = NULL)

Arguments

metrics

a metrics object from 'get_ga_stats()' function

type

If type == "pages" then treat the data frame for in the instance that the dimensions of the subpages were collected

Value

a data frame of cleaned metrics from Google Analytics


metricminer documentation built on April 4, 2025, 2:41 a.m.