if (FALSE) { # interactive()
# All dates in August 2022
fetch_ad("temp", gid=0) |>
glean_ad(
targetdate = "2022-08",
places = c("Albania", "Thailand")
)
# 4th, 5th, and 6th of August 2022 (remember the enddate is EXCLUSIVE)
fetch_ad("temp", gid=0) |>
glean_ad(
targetdate = "2022-08-04", enddate="2022-08-07",
places = c("Albania", "Thailand")
)
# 4th of August 2022 and 1st of August 2023
fetch_ad("temp", gid=0) |>
glean_ad(
targetdate = c("2022-08-04", "2023-08-01"),
places = c("Albania", "Thailand")
)
}
Run the code above in your browser using DataLab