SummerMonths: Breaking down POSIX into months and year and filter by month

View source: R/misa_filter_data.R

SummerMonthsR Documentation

Breaking down POSIX into months and year and filter by month

Description

Adds month and year column to data frame and filters by month. The addition of the year column is important for the following MiSa Assessment

Usage

SummerMonths(df, time_column = "t", months = 5:9)

Arguments

df

data frame with a POSIX time column

time_column

Name or number of the time column

months

the number of the months that should be kept. The default is 5:9 which are the important months for oxygen deficits in Berlin caused by CSOs

Value

The filteterd input data frame with months and year column


KWB-R/kwb.misa documentation built on March 18, 2022, 9:56 a.m.