Browse Source

Chargement fichier geojson

geojson
Maxime Wack 7 years ago
parent
commit
71e2c1353d
2 changed files with 6000 additions and 0 deletions
  1. +2
    -0
      app.R
  2. +5998
    -0
      communes_byCP/communes_byCP.json

+ 2
- 0
app.R View File

@@ -7,6 +7,7 @@ library(rgdal)
library(plotly)
library(stringr)
library(lubridate)
library(jsonlite)

# Lecture fichier de GHM ----
read_csv("ghm.csv", col_types = cols(IPP = col_character())) %>%
@@ -39,6 +40,7 @@ rm(racines)

# Lecture carte ----
readOGR("communes_byCP", "communes_byCP") -> communes
fromJSON("communes_byCP/communes_byCP.json") -> geojson

# Filtre Codes existants dans la base
communes <- communes[communes$Codepos %in% GHM$Codepos,]


+ 5998
- 0
communes_byCP/communes_byCP.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save