filter_date: Filter a merged PANDORA table by date

Description Usage Arguments Value

View source: R/dataprep_filter_data.R

Description

Filter a merged PANDORA table by date

Usage

1
filter_date(x, col, start = NA, end = NA, format = "%Y-%m-%d")

Arguments

x

data.frame

col

character. String column in x (e.g. "Creation_Date.Site" or "Creation_Date.Individual") on which the filter process should be applied

start

Date. Start date of selection. Can also be supplied as a character (with format as defined in the format argument)

end

Date. End date of selection. Can also be supplied as a character (with format as defined in the format argument)

format

character. Date format definition relevant if start and end are supplied as characters

Value

filtered data.frame


sidora-tools/sidora.core documentation built on Aug. 31, 2020, 4:36 p.m.