endDateFilter: Filter the date column using an end date

Description Usage Arguments Value Examples

Description

Easily filter dates in a Heavyset csv exported dataframe, using a maximum date. The function will filter 'end_date' as equal to or greater than. The HeavySet exported dataframe should still have the date column named 'Date'.

Usage

1
endDateFilter(df, end_date)

Arguments

df

dataframe created from a HeavySet csv export

end_date

a data in the form of 'yyyy-mm-dd'

Value

data.frame

Examples

1
2
3
4
df <- simData(repeats = 5)
head(df, 1)
weeklater <- Sys.Date() + 7
head(endDateFilter(df, weeklater), 1)

MarijnJABoer/HeavySetR documentation built on May 22, 2019, 5:31 p.m.