Explorar el Código

Use only src_sqlite in reading

master
Maxime Wack hace 6 años
padre
commit
29bf0adef2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      geoip.R

+ 1
- 1
geoip.R Ver fichero

@@ -3,7 +3,7 @@ library(leaflet)

src_sqlite("access.db") %>%
tbl("access") %>%
left_join(db %>% tbl("geoip")) %>%
left_join(src_sqlite("access.db") %>% tbl("geoip")) %>%
collect %>%
mutate(timestamp = timestamp %>% as.POSIXct(origin = "1970-01-01")) %>%
mutate_at(vars(city, country, agent), factor) -> geoaccess


Cargando…
Cancelar
Guardar