Browse Source

Lecture carte

master
Maxime Wack 7 years ago
parent
commit
e36c1deab8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app.R

+ 2
- 1
app.R View File

@@ -30,7 +30,8 @@ read_csv2("insee.csv") %>%
filter(Codepos %in% GHM$CP) %>%
mutate(insee = insee %>% as.character)-> insee

readOGR("communes/") -> communes
# Lecture carte et join avec codes postaux ----
readOGR("communes", "communes-20150101-100m") -> communes

communes@data %>%
left_join(insee) -> communes@data


Loading…
Cancel
Save