getBlogStatistics: Pulls blog statistics for blogs using the GitHub Pages...

Description Usage Arguments Value

View source: R/blogMetrics.R

Description

Pulls blog statistics for blogs using the GitHub Pages directory structure from both GitHub and Google Analytics.

Usage

1
getBlogStatistics(webPropertyName, owner, repo, dateRange, useCache)

Arguments

webPropertyName

A variable from GoogleAnalytics. You can find out the webproperty name using 'ga_account_list()' form the 'GoogleAnalyticsR' package.

owner

The owner of the relevant GitHub repo.

repo

The repository name of the relevant GitHub repo.

dateRange

A vector of two dates.

Value

a dataframe of metrics for the month and year specified.


FredHutch/coopMetrics documentation built on June 7, 2021, 7:45 a.m.