We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3556823 commit 7dcc186Copy full SHA for 7dcc186
R/traffic_history.R
@@ -36,7 +36,7 @@ traffic_history <- function(url = NULL, range = 31, start = NULL, ...) {
36
traffic_payload <- alexa_GET(query, ...)
37
38
res <- bind_rows(lapply(
39
- traffic_payload[[1]]$TrafficHistoryResult[[1]][[1]]$HistoricalData,
+ traffic_payload[[1]]$TrafficHistoryResult[[1]]$TrafficHistory$HistoricalData,
40
function(x)
41
c(date = x$Date,
42
page_views_per_million = x$PageViews$PerMillion,
0 commit comments