Hello -
I am running the following code on data downloaded directly from the SafeGraph Shop:
pitt.data <- read_shop(
filename = "safe-graph-data.zip",
keeplist = c("patterns", "home_panel_summary.csv"),
by = "placekey",
expand_int = "visitors_by_day",
name = "visits",
start_date = lubridate::ymd("2018-01-01"))
However, doing so results in the following error:
Error in read_many_patterns(filelist = patfiles, dir = exdir, recursive = FALSE, :
Number of files (0) does not match number of start_dates (1) to go along with them.
My desired result is having the visitors by day calculated for each placekey by day (2018-01-01, 2018-01-02, etc., etc.).
Looking forward to a response.