Skip to content

nflreadr 1.4.1

Latest
Compare
Choose a tag to compare
@tanho63 tanho63 released this 29 Jul 14:05

This release covers a number of bugfixes and function improvements:

  • %c% internal helper now uses data.table::fifelse() to avoid falsely converting
    dates to integers. (#214)
  • load_schedules() cleans the roof variable in order to avoid nflverse model
    issues. (#218)
  • join_coalesce() coerces x/y args to data.frame and will return a data.frame
  • most_recent_season() now internally computes the exact day of the season
    opener as Thursday after first Monday of September. (#221)
  • load_espn_qbr() no longer supports argument league which used to allow
    loading of College QBR (not in nflverse scope) (#222)
  • New function stat_mode(), a re-export from nflfastR, which computes the
    statistical mode of a vector. (#224)
  • load_ftn_charting() now accepts the argument file_type. (#228)
  • clean_team_abbrs() now accepts the "team" name "NFL". (#231)
  • load_participation() now returns additional fields time_to_throw,
    was_pressure, defense_man_zone_type, and defense_coverage_type (#233,
    thank you @mistakia @john-b-edwards)
  • clean_player_names() now can transliterate to latin-ascii if the stringi package
    is available, controlled by the convert_to_ascii argument.

Thank you to: @arjunmenon10, @engineerchange, @isaactpetersen, @Jeffery-777, @john-b-edwards, @justlikekevin, @mrcaseb, @SCasanova, and @tanho63 for their questions, feedback, and contributions to this release.