Browse Source

2020

master
Maxime Wack 3 years ago
parent
commit
6fa19bbcc3
2 changed files with 6 additions and 4 deletions
  1. +4
    -2
      feed_db.R
  2. +2
    -2
      init_db.R

+ 4
- 2
feed_db.R View File

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

annee <- 2018
setwd("/srv/shiny/celine")

annee <- 2020

# Fetch celine and data ----
celine <- GET("http://cngsante.fr/chiron/celine/listing.html")
celine <- GET("http://www.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 <- 2018
annee <- 2020

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

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

celine %>%
content %>%


Loading…
Cancel
Save