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

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