temp: Build an 'oshExListTemp' condition

Description Usage Arguments Examples

Description

The function is used to create an oshExListTemp condition that can be used by the osh_filter function. Extracts a temporal subset from an oshex object.

Usage

1
temp(from = NA, to = NA, format = "%d-%m-%Y")

Arguments

from

A character vector represents the subset's starting date.

to

A character vector represents the subset's ending date.

format

A character vector represents the date format, defaults to: %d-%m-%Y.

Examples

1
2
3
4
5
## Not run: 
  # Subset only object that have been editted after the from date.
  cond <- temp(from = "1-10-2017", format = "%d-%m-%Y")
  
## End(Not run)

dof1985/OSHEX documentation built on May 28, 2019, 3:36 p.m.