Explorar el Código

Lecture codes postaux

master
Maxime Wack hace 7 años
padre
commit
4948ba8fb3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      app.R

+ 2
- 2
app.R Ver fichero

@@ -24,10 +24,10 @@ names(racine) <- racines$codlib
racine <- racine[racine %in% GHM$GHM]
rm(racines)

# Lecture codes postaux <-> codes insee et garder ceux existants ----
read_csv2("insee.csv") %>%
select(Codepos, insee = INSEE) %>%
# filter(Codepos %in% GHM$CP),
filter(Codepos %>% str_detect("^(54|57|55|88)")) %>%
filter(Codepos %in% GHM$CP) %>%
mutate(insee = insee %>% as.character)-> insee

readOGR("communes/") -> communes


Cargando…
Cancelar
Guardar