gs_pageviews: Gets top content for a gauge, paginated.

View source: R/gs_pageviews.R

gs_pageviewsR Documentation

Gets top content for a gauge, paginated.

Description

Gets top content for a gauge, paginated.

Usage

gs_pageviews(id, fromdate = NULL, todate = NULL, page = NULL,
  keyname = "GaugesKey")

Arguments

id

Your gaug.es id

fromdate

Date to get data from. Defaults to today.

todate

Date to get data to. Defaults to today.

page

page to return

keyname

Your API key name in your .Rprofile file

Note

Note that these examples only work if you provide your Gaug.es API key either by passing in the function, or storing your key in your .Rprofile file, defaults to looking for an entry of "GaugesKey".

Examples

## Not run: 
gs_pageviews(id='4efd83a6f5a1f5158a000004', fromdate="2013-11-01", todate="2013-11-06")

## End(Not run)

ropensci/rgauges documentation built on May 18, 2022, 6:35 p.m.