浏览代码

2020

master
Maxime Wack 3 年前
父节点
当前提交
6fa19bbcc3
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. +4
    -2
      feed_db.R
  2. +2
    -2
      init_db.R

+ 4
- 2
feed_db.R 查看文件

@@ -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 查看文件

@@ -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 %>%


正在加载...
取消
保存