searchNewFiles: searchNewFile

View source: R/datasourcestools.R

searchNewFilesR Documentation

searchNewFile

Description

Part of datasources management Look into a folder (usually a country folder) to find new or updated datasources If such datasources are found, they are imported in the datasourcelist with NEW or UPDATED status and current date DatasourceList contain one line for each new event

Usage

searchNewFiles(path, country = "", pattern = NULL)

Arguments

path

Path to serach for (relative to the path where is the datasources file)

country

Country code to attach to the file information

pattern

Optional pattern to restrict file list

Value

List of new files (file names)

Examples

## Not run:  searchNewFiles("sourcesdir","FR") 

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