filter.date: Selection of visual meteor data by date(s)

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/filter.date.R

Description

Selects data for a given visual meteor dataset and specified dates.

Usage

1
filter.date(data,date.start,date.end)

Arguments

data

data frame consisting of visual meteor data (rate or magnitude data).

date.start

character vector or factor specifying start date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

date.end

character vector or factor specifying end date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

Details

The function filter.date selects data for a time period, bounded by date.start and date.end. In selection of the data, date corresponding to the middle of the observing time period is used.

Value

filter.date returns data frame with the same number of columns as the argument data, containing observations which correspond to the specified dates.

Note

User can specify date without time (i.e. date at midnight) or date with hours and minutes (without seconds).

Argument data has to consist of the columns named "Start.Date" and "End.Date".

Author(s)

Kristina Veljkovic

See Also

filter

Examples

1
2
3
## select rate and magnitude data for the period from 10-25th October 2015
filter.date(rate2015,date.start="2015-10-10",date.end="2015-10-25")
filter.date(magn2015,date.start="2015-10-10",date.end="2015-10-25")

MetFns documentation built on May 1, 2019, 6:28 p.m.