Skip to content

Commit 7dcc186

Browse files
data-raccoonsoodoku
authored andcommitted
fix: traffic_history error differing number of rows (#12)
1 parent 3556823 commit 7dcc186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/traffic_history.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ traffic_history <- function(url = NULL, range = 31, start = NULL, ...) {
3636
traffic_payload <- alexa_GET(query, ...)
3737

3838
res <- bind_rows(lapply(
39-
traffic_payload[[1]]$TrafficHistoryResult[[1]][[1]]$HistoricalData,
39+
traffic_payload[[1]]$TrafficHistoryResult[[1]]$TrafficHistory$HistoricalData,
4040
function(x)
4141
c(date = x$Date,
4242
page_views_per_million = x$PageViews$PerMillion,

0 commit comments

Comments
 (0)