filter_us: Filter to US seasons

View source: R/filters.R

filter_usR Documentation

Filter to US seasons

Description

Filter a data set to a specified set of US season or list of seasons. A shorthand version of filter_vs() for the US seasons.

Usage

filter_us(df, .season = NULL)

Arguments

df

Data frame. Must include version and season.

.season

Season or vector of seasons. If NULL if will filter to all US seasons.

Value

Data frame filtered to the specified US seasons

Examples


library(survivoR)
library(dplyr)

confessionals |>
  filter_us(47)


survivoR documentation built on April 3, 2025, 5:34 p.m.