Browse Source

2018

master
Maxime Wack 5 years ago
parent
commit
ee363f27a2
3 changed files with 4 additions and 4 deletions
  1. +0
    -0
      .gitignore
  2. +2
    -2
      feed_db.R
  3. +2
    -2
      init_db.R

+ 0
- 0
.gitignore View File


+ 2
- 2
feed_db.R View File

@@ -5,10 +5,10 @@ library(httr)
library(rvest)
library(stringr)

annee <- 2017
annee <- 2018

# Fetch celine and data ----
celine <- GET(str_c("http://cngsante.fr/chiron", annee, "/celine/listing.html"))
celine <- GET("http://cngsante.fr/chiron/celine/listing.html")

celine %>%
content %>%


+ 2
- 2
init_db.R View File

@@ -5,11 +5,11 @@ library(httr)
library(rvest)
library(stringr)

annee <- 2017
annee <- 2018

db <- dbConnect(SQLite(), "ecn.db")

celine <- GET(str_c("http://cngsante.fr/chiron", annee, "/celine/listing.html"))
celine <- GET("http://cngsante.fr/chiron/celine/listing.html")

celine %>%
content %>%


Loading…
Cancel
Save