ga_get_pageviews: GA Monthly linechart graphic - sessions

Description Usage Arguments Value Examples

View source: R/ga_get_pageviews.R

Description

Cleans all source inputs from GA API.

Usage

1
ga_get_pageviews(view_id, start_date, final_date)

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

The function returns the data frame with a new sources column with correct output ready to plot.

Examples

1
ga_get_pageviews(view_id = 123456789, start_date = "2018-01-01", final_date = "2018-01-31")

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