Comments (1)
Data docs is an ongoing battle! Along with dictionaries missing above, here are some missing fields for existing dictionaries:
R> load_schedules() |>
+++ dict_check(dictionary_schedules)
old | new
- "alt_game_id" [1]
[1] "away_coach" | "away_coach" [2]
[2] "away_moneyline" -
[3] "away_qb_id" -
[4] "away_qb_name" -
[5] "away_rest" -
[6] "away_score" | "away_score" [3]
[7] "away_spread_odds" -
[8] "away_team" | "away_team" [4]
[9] "div_game" -
... ... ... and 3 more ...
old | new
[14] "gametime" | "gametime" [9]
[15] "gsis" | "gsis" [10]
[16] "home_coach" | "home_coach" [11]
[17] "home_moneyline" -
[18] "home_qb_id" -
[19] "home_qb_name" -
[20] "home_rest" -
[21] "home_score" | "home_score" [12]
[22] "home_spread_odds" -
[23] "home_team" | "home_team" [13]
... ... ... and 10 more ...
old | new
[34] "season" | "season" [18]
[35] "spread_line" | "spread_line" [19]
[36] "stadium" | "stadium" [20]
[37] "stadium_id" -
[38] "surface" | "surface" [21]
[39] "temp" | "temp" [22]
[40] "total" | "total" [23]
[41] "total_line" | "total_line" [24]
[42] "under_odds" -
[43] "week" | "week" [25]
... ... ... and 2 more ...
R> load_snap_counts() |>
+++ dict_check(dictionary_snap_counts)
old | new
[1] "defense_pct" | "defense_pct" [1]
[2] "defense_snaps" | "defense_snaps" [2]
[3] "game_id" | "game_id" [3]
[4] "game_type" -
[5] "offense_pct" | "offense_pct" [4]
[6] "offense_snaps" | "offense_snaps" [5]
[7] "opponent" -
[8] "pfr_game_id" | "pfr_game_id" [6]
[9] "pfr_player_id" | "pfr_player_id" [7]
[10] "player" | "player" [8]
... ... ... and 6 more ...
old
here refers to the actual dataframe, while new
here refers to the current dictionary. We want to make sure that the dictionary (new) matches the data (old).
To rerun these checks, consult data-raw/dictionary_check.R
from nflreadr.
Related Issues (20)
- feature: create aliases for common seasons?
- Name Cleaning not working as intended HOT 1
- Data error on `headshots` column for `load_rosters()` HOT 2
- load_schedule() HOT 2
- Move name cleaning dictionary from ffscrapr to nflreadr, add new names HOT 2
- Update news/data dictionary for load_player_stats
- `get_current_week()` outputs different weeks for `use_date` = TRUE/FALSE on some weekdays HOT 2
- CRAN failures, must update by: 2022-10-08
- Release nflreadr 1.3.1
- Export `cache_clear()` without the dot prefix so that it's more obvious to users HOT 4
- duplicate categories for fieldturf in "surface" variable of PBP data HOT 1
- dictionary_pbp typo HOT 1
- join_coalesce should warn if join columns are duplicated or any are NA
- [BUG] <nflreadr::load_pfr_advstats() returning a lot of duplicated rows> HOT 1
- change the desc of `special`? HOT 1
- Blank entries in participation formation variables differ for penalty plays by season HOT 2
- `nflverse_download()` should provide an argument to reload specific data from a release HOT 2
- `nflreadr::clean_homeaway()` overwrites location data HOT 3
- [BUG] <title>Team fields not updated for recently traded players HOT 2
- include_pbp option in load_participation missing plays HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nflreadr.