check_ts: checks if daily ".gz"-file time series is complete

View source: R/check_ts.r

check_tsR Documentation

checks if daily '.gz'-file time series is complete

Description

checks if daily '.gz'-file time series in the present working directory is complete.

Usage

check_ts(sstring="*.gz",folder,output=F)

Arguments

sstring

Character string indicating search criteria for gz-files (default is '*.gz').

folder

Character string indicating the folder in which searched files are located (default is current working directory)

output

weather the missing dates should be returned as vector (default is F).

Value

optional vector of missing dates (see output argument).

Author(s)

Robert K. Bauer

See Also

name_split, check_gzfiles

Examples

## Example 1: plot '.gz'-files, following default plot-procedure
path <- system.file("test_files", package="oceanmap")
check_gzfiles(folder=path) # return file summary-table per filetype

## check for missing dates
check_ts('medw4*',folder=path)
check_ts('medw4*',folder=path,output=TRUE)

oceanmap documentation built on Nov. 10, 2023, 5:08 p.m.

Related to check_ts in oceanmap...