Learn R Programming

aws.alexa (version 0.1.8)

traffic_history: Get Traffic History of a URL

Description

Get Traffic History of a URL

Usage

traffic_history(url = NULL, range = 31, start = NULL, ...)

Arguments

url

String; Required; valid url

range

Integer; Required; Default is 31, Maximum is 31. Pick an integer between 1 and 31.

start

String; Optional; A date within the last 4 years in format YYYYMMDD.

Additional arguments passed to alexa_GET.

Value

data.frame with the following columns: site, start, range, date, page_views_per_million, page_views_per_user, rank, reach_per_million

References

https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_TrafficHistoryAction.html

Examples

Run this code
# NOT RUN {
traffic_history(url = "http://www.google.com", start = "20160505")
# }

Run the code above in your browser using DataLab