-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal.R
21 lines (20 loc) · 808 Bytes
/
global.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
library(readr)
library(rgdal)
library(leaflet)
options(OutDec= ",")
naissances <- read_csv("data/recalc/naissances.csv",
col_types = cols(
code_insee = col_character(),
annee = col_integer(),
naissances = col_double()
))
prenoms <- read_csv("data/recalc/prenoms.csv",
col_types = cols(
sexe = col_character(),
prenom = col_character(),
annee = col_integer(),
code_insee = col_character(),
nombre = col_double()
))
france <- readOGR("data/recalc/departements", "departements-20140306-100m",
stringsAsFactors = FALSE)