knitr::opts_chunk$set(echo = TRUE)
library(epiuf)
searchNewFiles(path = "",country = "FR")

The openSourceList function load the current sourceList. This should be done at beginning before trying any file management in order to keep the list synchronized

# openSourceList("datasources.xls")
createSourceList("datasources.xls")
searchNewFiles("","FR","epiuf*")

getSourceList()

The getFileList function extract file list according to criteria

getFileList(country = "FR", status="NEW")

Save file

saveSourceList()

Update one source file

updateSourceData("epiuf_package.html",status="IMPORTED")

getSourceList()

The getFileList function extract file list according to criteria

getFileList(country = "FR", status=c("NEW","IMPORTED"))

Clean file

file.remove("datasources.xls")


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.