crop_data: Crop data to specific dates

View source: R/crop_data.R

crop_dataR Documentation

Crop data to specific dates

Description

Crop data to specific dates

Usage

crop_data(df = NULL, from = NULL, to = NULL)

Arguments

from, to

a string which indicates a date in the ISO 8601 format.

list_df

a list of data.frame/tibble with a column named datetime which is also a datetime object.

Details

A helper function wrapped around dplyr::filter and lubridate::parse_date_time which helps to data to datetimes of interest.

Value

A list of data.frames/tibbles with dates within the specified window of time.


edpclau/circadian-dynamics documentation built on Aug. 25, 2023, 12:18 p.m.