gday: Is it Gameday?

Description Usage Arguments Details Value Note Examples

View source: R/gday.R

Description

This function returns TRUE if your NHL team plays today and FALSE otherwise

Usage

1
gday(team.name)

Arguments

team.name

The name of your team

Details

You know then problem: You're in your office writing R code and suddenly have the urge to check whether your NHL team has a game today. Before you know it you just wasted 15 minutes browsing the lastest news on your favorite hockey webpage. Suffer no more! You can now ask R directly, without tempting yourself by firing up your web browser.

Value

Logical TRUE if team.name has a NHL game today, FALSE otherwise

Note

case in team.name is ignored

Examples

1
2
gday("canucks")
gday("Bruins")

jennybc/gameday documentation built on May 19, 2019, 5:04 a.m.