Closed NicolasMatrices-v2 closed 1 year ago
This PR is a mirror for this PR, which I can't edit anymore. Forked the GL repo to my own and edited from there.
library(GeoLift) data(GeoLift_PreTest) data <- GeoLift_PreTest[ GeoLift_PreTest$location %in% c('new york', 'chicago', 'washington') & GeoLift_PreTest$date %in% as.character(seq( as.Date('2021-02-04'), as.Date('2021-02-14'), 1 )), ] data_test <- GeoDataRead( data = data, date_id = "date", location_id = "location", Y_id = "Y", X = c(), #empty list as we have no covariates format = "yyyy-mm-dd", summary = TRUE, cluster_locations = TRUE, find_location_lat_long = TRUE, country_name = 'United States') head(data_test)
This PR is a mirror for this PR, which I can't edit anymore. Forked the GL repo to my own and edited from there.
Unit test: