ga_pageviews_barchart_top_n: GA Monthly linechart graphic - sessions

Description Usage Arguments Value Examples

View source: R/ga_pageviews_barchart_top_n.R

Description

Cleans all source inputs from GA API.

Usage

1
2
3
ga_pageviews_barchart_top_n(data, top_n = 6, title = "Pageviews by source",
  x_title = "", y_title = "", subtitle = "", legend_title = "",
  label_size = 3)

Arguments

data

a data frame from GA API. It must contain the column: ga:sourceMedium, as the package works with this column to generate the ouputs.

language

Choose a language for your sources column outputs. Available languages: en, es, fr. More to add in the near future.

Value

Top pagevies by source. Will include more than n rows if there are ties.

Examples

1
ga_clean_data(my_data, language="es")

OmarGonD/googleAnalyticsReports documentation built on May 19, 2019, 10:47 p.m.