updateSourceData: updateSourceData

View source: R/datasourcestools.R

updateSourceDataR Documentation

updateSourceData

Description

updateSourceData

Usage

updateSourceData(
  sourcefilename,
  status = c("NEW", "UPDATED", "IMPORTED", "CHECKED", "VALIDATED", "POOLED"),
  sourcetype = NULL,
  date = Sys.time(),
  nbrecords = NULL
)

Arguments

sourcefilename

Name of the source file to update with new informations

status

: IMPORTED/CHECKED/VALIDATED/POOLED

sourcetype

optional source type

date

Date to be used as timestamp

nbrecords

Optional number of records to add to the file information

Value

nothing

Examples

## Not run:  
# update status when file is imported 
updateSourceData(filename,status="IMPORTED") 

## End(Not run)

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