Learn R Programming

urlshorteneR (version 0.8.8)

bitly_UserMetricsCountries: Returns aggregate metrics about the countries referring click traffic to all of the authenticated user's Bitlinks.

Description

See http://dev.bitly.com/user_metrics.html#v3_user_countries

Usage

bitly_UserMetricsCountries(limit = 1000, unit = c("minute", "hour", "day",
  "week", "month"), rollup = "true", units = -1, showRequestURL = FALSE)

Arguments

Value

clicks - the number of clicks referred from this country.

country - the two-letter code of the referring country.

Examples

Run this code
bitly_token <- bitly_auth(key = "", secret = "")
bitly_UserMetricsCountries(unit = "day", units = -1, limit = 100, rollup = "true")

Run the code above in your browser using DataLab