nfelodcm 0.1.20__tar.gz → 0.1.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/PKG-INFO +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py +1 -1
- nfelodcm-0.1.22/nfelodcm/Engine/Assignments/assignments/temp_players_handle.py +30 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/DataPull.py +22 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/coaches.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/filmmargins.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/games.json +2 -2
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/hfa.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/logos.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/market_data.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/nfelo_games.json +4 -2
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/participants.json +3 -2
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/pbp.json +4 -2
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/player_stats.json +2 -2
- nfelodcm-0.1.22/nfelodcm/Maps/player_stats_season.json +76 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/players.json +10 -14
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/qb_meta.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/qbelo.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/qbr.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/rosters.json +3 -2
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/srs_ratings.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/stadiums.json +1 -1
- nfelodcm-0.1.22/nfelodcm/Maps/stadiums_rolling_stats.json +44 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/team_stadiums.json +1 -1
- nfelodcm-0.1.22/nfelodcm/Maps/team_stadiums_rolling_stats.json +48 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/wepa.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Maps/wt_ratings.json +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm.egg-info/PKG-INFO +1 -1
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm.egg-info/SOURCES.txt +6 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/pyproject.toml +1 -1
- nfelodcm-0.1.20/nfelodcm/Engine/Assignments/assignments/temp_players_handle.py +0 -15
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/README.md +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignment.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/desc_based_plays.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_player_file.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_qb_file.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/penalty_formatting.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/score_clean.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/DCMTable.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/Freshness.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/LocalIO.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/TableMap.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/__init__.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/checks.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/extract_map.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/global_variables.json +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/load_maps.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/retrieve_season_state.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Utilities/set_season_state.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/nfelodcm.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/tests.py +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm.egg-info/dependency_links.txt +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm.egg-info/requires.txt +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm.egg-info/top_level.txt +0 -0
- {nfelodcm-0.1.20 → nfelodcm-0.1.22}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nfelodcm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.22
|
4
4
|
Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
|
5
5
|
Author-email: Robert Greer <nfl@robbygreer.com>
|
6
6
|
Maintainer-email: Robert Greer <nfl@robbygreer.com>
|
{nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py
RENAMED
@@ -19,7 +19,7 @@ def team_id_repl(df):
|
|
19
19
|
'side_of_field', 'timeout_team', 'td_team',
|
20
20
|
'return_team', 'possession_team',
|
21
21
|
'recent_team', 'opponent_team',
|
22
|
-
'draft_team', 'draft_club'
|
22
|
+
'draft_team', 'draft_club', 'team'
|
23
23
|
]:
|
24
24
|
if col in df.columns:
|
25
25
|
df[col] = df[col].replace(repl)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
import numpy
|
3
|
+
|
4
|
+
def temp_players_handle(df):
|
5
|
+
"""
|
6
|
+
Renames the the players.csv columns (draftround) to match
|
7
|
+
the old naming. This is a temporary fix as nflfastR is updating
|
8
|
+
pipelines and does not plan to address this bug
|
9
|
+
|
10
|
+
When the new pipelines are officially released, players will point
|
11
|
+
to the new file
|
12
|
+
"""
|
13
|
+
## rename ##
|
14
|
+
df = df.rename(columns={
|
15
|
+
'latest_team': 'team_abbr',
|
16
|
+
'rookie_season': 'rookie_year',
|
17
|
+
'draft_team': 'draft_club',
|
18
|
+
'draft_pick': 'draft_number',
|
19
|
+
'draft_year': 'entry_year',
|
20
|
+
'ngs_status' : 'status_description_abbr',
|
21
|
+
'ngs_status_short_description': 'status_short_description'
|
22
|
+
})
|
23
|
+
|
24
|
+
## add missing columns that were lost in migration ##
|
25
|
+
df['team_seq'] = None # Lost - was chronological team sequence
|
26
|
+
df['current_team_id'] = None # Lost - was numeric team ID
|
27
|
+
df['gsis_it_id'] = None # Lost - was GSIS IT identifier
|
28
|
+
df['uniform_number'] = None # Lost - was uniform number field
|
29
|
+
|
30
|
+
return df
|
@@ -60,6 +60,11 @@ class DataPull():
|
|
60
60
|
## if not iter type, assume single download url ##
|
61
61
|
self.pull_data(self.config['download_url'])
|
62
62
|
elif self.config['iter']['type'] == 'season':
|
63
|
+
## determine if config accepts partials ##
|
64
|
+
accepts_partial = False
|
65
|
+
missing_parts = []
|
66
|
+
if 'accept_partial' in self.config['iter']:
|
67
|
+
accepts_partial = self.config['iter']['accept_partial']
|
63
68
|
## if season iter, loop through seasons ##
|
64
69
|
for season in range(
|
65
70
|
self.config['iter']['start'],
|
@@ -68,7 +73,23 @@ class DataPull():
|
|
68
73
|
## form download url ##
|
69
74
|
url = self.config['download_url'].format(season)
|
70
75
|
## pull data ##
|
71
|
-
|
76
|
+
try:
|
77
|
+
self.pull_data(url)
|
78
|
+
except Exception as e:
|
79
|
+
if accepts_partial:
|
80
|
+
missing_parts.append(season)
|
81
|
+
print('WARN: Failed to pull data, but partial iter data is accepted.')
|
82
|
+
else:
|
83
|
+
raise e
|
84
|
+
## if partials accepted, ensure at least one frame was pulled ##
|
85
|
+
if accepts_partial:
|
86
|
+
if len(self.pulled_data) == 0:
|
87
|
+
raise ValueError('ERROR: Partial iter data is accepted, but no data was pulled')
|
88
|
+
elif len(missing_parts) > 0:
|
89
|
+
print('WARN: Partial iter data is accepted, but the following seasons were missing: {0}'.format(missing_parts))
|
90
|
+
else:
|
91
|
+
## if partials are accepted, but no missing parts, do not flag ##
|
92
|
+
pass
|
72
93
|
else:
|
73
94
|
raise ValueError('ERROR: Iter type not recognized.')
|
74
95
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/coaches/commits?path=coaches.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:33.690154+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/filmmargin/commits?path=film_margins.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:31.225429+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "games",
|
3
3
|
"description": "nflgamedata games",
|
4
|
-
"last_local_update": "2025-
|
4
|
+
"last_local_update": "2025-05-08T22:17:30.462733",
|
5
5
|
"download_url": "https://raw.githubusercontent.com/nflverse/nfldata/master/data/games.csv",
|
6
6
|
"compression": null,
|
7
7
|
"engine": "c",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nfldata/commits",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 500,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:29.659219+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelohfa/commits?path=estimated_hfa.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:34.832384+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-pbp/commits?path=teams_colors_logos.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:30.758767+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelomarket_data/commits?path=Data/lines.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:26.736040+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "nfelo_games",
|
3
3
|
"description": "nfelo projections and components by game",
|
4
|
-
"last_local_update": "2025-
|
4
|
+
"last_local_update": "2025-05-08T22:20:20.562911",
|
5
5
|
"download_url": "https://raw.githubusercontent.com/greerreNFL/nfelo/refs/heads/main/output_data/nfelo_games.csv",
|
6
6
|
"compression": null,
|
7
7
|
"engine": "c",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelo/commits?path=output_data/nfelo_games.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:19.834940+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -54,6 +54,8 @@
|
|
54
54
|
"home_line_close": "float32",
|
55
55
|
"home_line_close_price": "float32",
|
56
56
|
"away_line_close_price": "float32",
|
57
|
+
"home_clv_from_open": "float32",
|
58
|
+
"away_clv_from_open": "float32",
|
57
59
|
"total_line_open": "float32",
|
58
60
|
"under_price_open": "float32",
|
59
61
|
"over_price_open": "float32",
|
@@ -10,11 +10,12 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "pbp_participation",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:27.844630+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": "season",
|
17
|
-
"start": 2016
|
17
|
+
"start": 2016,
|
18
|
+
"accept_partial": true
|
18
19
|
},
|
19
20
|
"assignments": [
|
20
21
|
"fastr_team_id_repl"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "pbp",
|
3
3
|
"description": "nflfastR play-by-play",
|
4
|
-
"last_local_update": "2025-
|
4
|
+
"last_local_update": "2025-05-08T22:20:01.341571",
|
5
5
|
"download_url": "https://github.com/nflverse/nflverse-data/releases/download/pbp/play_by_play_{0}.csv.gz",
|
6
6
|
"compression": "gzip",
|
7
7
|
"engine": "c",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "pbp",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:31.917295+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": "season",
|
@@ -318,6 +318,8 @@
|
|
318
318
|
"xyac_fd": "float32",
|
319
319
|
"xpass": "float32",
|
320
320
|
"pass_oe": "float32",
|
321
|
+
"third_down_converted": "float32",
|
322
|
+
"third_down_failed": "float32",
|
321
323
|
"fourth_down_converted": "float32",
|
322
324
|
"fourth_down_failed": "float32"
|
323
325
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "player_stats",
|
3
3
|
"description": "nflfastR player stats",
|
4
|
-
"last_local_update": "2025-
|
4
|
+
"last_local_update": "2025-05-08T22:20:24.362121",
|
5
5
|
"download_url": "https://github.com/nflverse/nflverse-data/releases/download/player_stats/player_stats.csv.gz",
|
6
6
|
"compression": "gzip",
|
7
7
|
"engine": "c",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "player_stats",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:21.420258+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{
|
2
|
+
"name": "player_stats",
|
3
|
+
"description": "nflfastR player stats",
|
4
|
+
"last_local_update": "2022-05-08T22:20:24.362121",
|
5
|
+
"download_url": "https://github.com/nflverse/nflverse-data/releases/download/player_stats/player_stats_season.csv.gz",
|
6
|
+
"compression": "gzip",
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_release",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
|
+
"gh_release_tag": "player_stats",
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:20:21.420258+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [
|
20
|
+
"fastr_team_id_repl"
|
21
|
+
],
|
22
|
+
"map": {
|
23
|
+
"season": "int32",
|
24
|
+
"season_type": "object",
|
25
|
+
"player_id": "object",
|
26
|
+
"player_name": "object",
|
27
|
+
"player_display_name": "object",
|
28
|
+
"position": "object",
|
29
|
+
"position_group": "object",
|
30
|
+
"headshot_url": "object",
|
31
|
+
"games": "int32",
|
32
|
+
"recent_team": "object",
|
33
|
+
"completions": "int32",
|
34
|
+
"attempts": "int32",
|
35
|
+
"passing_yards": "int32",
|
36
|
+
"passing_tds": "int32",
|
37
|
+
"interceptions": "int32",
|
38
|
+
"sacks": "int32",
|
39
|
+
"sack_yards": "int32",
|
40
|
+
"sack_fumbles": "int32",
|
41
|
+
"sack_fumbles_lost": "int32",
|
42
|
+
"passing_air_yards": "int32",
|
43
|
+
"passing_yards_after_catch": "int32",
|
44
|
+
"passing_first_downs": "int32",
|
45
|
+
"passing_epa": "float32",
|
46
|
+
"passing_2pt_conversions": "int32",
|
47
|
+
"pacr": "float32",
|
48
|
+
"dakota": "float32",
|
49
|
+
"carries": "int32",
|
50
|
+
"rushing_yards": "int32",
|
51
|
+
"rushing_tds": "int32",
|
52
|
+
"rushing_fumbles": "int32",
|
53
|
+
"rushing_fumbles_lost": "int32",
|
54
|
+
"rushing_first_downs": "int32",
|
55
|
+
"rushing_epa": "float32",
|
56
|
+
"rushing_2pt_conversions": "int32",
|
57
|
+
"receptions": "int32",
|
58
|
+
"targets": "int32",
|
59
|
+
"receiving_yards": "int32",
|
60
|
+
"receiving_tds": "int32",
|
61
|
+
"receiving_fumbles": "int32",
|
62
|
+
"receiving_fumbles_lost": "int32",
|
63
|
+
"receiving_air_yards": "int32",
|
64
|
+
"receiving_yards_after_catch": "int32",
|
65
|
+
"receiving_first_downs": "int32",
|
66
|
+
"receiving_epa": "float32",
|
67
|
+
"receiving_2pt_conversions": "int32",
|
68
|
+
"racr": "float32",
|
69
|
+
"target_share": "float32",
|
70
|
+
"air_yards_share": "float32",
|
71
|
+
"wopr": "float32",
|
72
|
+
"special_teams_tds": "int32",
|
73
|
+
"fantasy_points": "float32",
|
74
|
+
"fantasy_points_ppr": "float32"
|
75
|
+
}
|
76
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "players",
|
3
3
|
"description": "nflfastR player meta data",
|
4
|
-
"last_local_update": "2025-
|
4
|
+
"last_local_update": "2025-05-08T22:20:33.209181",
|
5
5
|
"download_url": "https://github.com/nflverse/nflverse-data/releases/download/players/players.csv",
|
6
6
|
"compression": null,
|
7
7
|
"engine": "c",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "players",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:30.536523+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -35,23 +35,19 @@
|
|
35
35
|
"height": "float32",
|
36
36
|
"weight": "float32",
|
37
37
|
"years_of_experience": "float32",
|
38
|
-
"
|
39
|
-
"team_seq": "float32",
|
40
|
-
"current_team_id": "float32",
|
38
|
+
"latest_team": "object",
|
41
39
|
"football_name": "object",
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
40
|
+
"rookie_season": "float32",
|
41
|
+
"draft_team": "object",
|
42
|
+
"draft_pick": "float32",
|
43
|
+
"draft_year": "float32",
|
44
|
+
"ngs_status": "object",
|
46
45
|
"college_conference": "object",
|
47
|
-
"
|
48
|
-
"status_short_description": "object",
|
49
|
-
"gsis_it_id": "float32",
|
46
|
+
"ngs_status_short_description": "object",
|
50
47
|
"short_name": "object",
|
51
48
|
"smart_id": "object",
|
52
49
|
"headshot": "object",
|
53
50
|
"suffix": "object",
|
54
|
-
"
|
55
|
-
"draftround": "float32"
|
51
|
+
"draft_round": "float32"
|
56
52
|
}
|
57
53
|
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfeloqb/commits?path=Other%20Data/meta_data.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:26.274782+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfeloqb/commits?path=qb_elos.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:25.454791+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "espn_data",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:29.365526+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,14 +10,15 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
11
|
"gh_release_tag": "rosters",
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:27.216498+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": "season",
|
17
17
|
"start": 1999
|
18
18
|
},
|
19
19
|
"assignments": [
|
20
|
-
"fix_fastr_qb_names"
|
20
|
+
"fix_fastr_qb_names",
|
21
|
+
"fastr_team_id_repl"
|
21
22
|
],
|
22
23
|
"map": {
|
23
24
|
"season": "int32",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelosrs/commits?path=srs_ratings.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:25.896604+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/stadiums.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:34.052874+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "team_stadiums_rolling_stats",
|
3
|
+
"description": "Rolling HFA stats for the NFL",
|
4
|
+
"last_local_update": "2022-02-21T21:36:04.215102",
|
5
|
+
"download_url": "https://raw.githubusercontent.com/greerreNFL/Stadiums/refs/heads/main/data/rolling_league_hfa.csv",
|
6
|
+
"compression": null,
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_commit",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/rolling_league_hfa.csv",
|
11
|
+
"gh_release_tag": null,
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:17:31.578742+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [],
|
20
|
+
"map": {
|
21
|
+
"season": "int32",
|
22
|
+
"week": "int32",
|
23
|
+
"win": "int32",
|
24
|
+
"loss": "int32",
|
25
|
+
"tie": "int32",
|
26
|
+
"mov": "float32",
|
27
|
+
"error": "float32",
|
28
|
+
"wins_l16": "float32",
|
29
|
+
"losses_l16": "float32",
|
30
|
+
"ties_l16": "float32",
|
31
|
+
"mov_l16": "float32",
|
32
|
+
"hfa_l16": "float32",
|
33
|
+
"wins_l80": "float32",
|
34
|
+
"losses_l80": "float32",
|
35
|
+
"ties_l80": "float32",
|
36
|
+
"mov_l80": "float32",
|
37
|
+
"hfa_l80": "float32",
|
38
|
+
"wins_all_time": "float32",
|
39
|
+
"losses_all_time": "float32",
|
40
|
+
"ties_all_time": "float32",
|
41
|
+
"mov_all_time": "float32",
|
42
|
+
"hfa_all_time": "float32"
|
43
|
+
}
|
44
|
+
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/team_stadiums.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:17:31.578742+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"name": "team_stadiums_rolling_stats",
|
3
|
+
"description": "Rolling stats for NFL teams and their stadiums",
|
4
|
+
"last_local_update": "2022-02-21T21:36:04.215102",
|
5
|
+
"download_url": "https://raw.githubusercontent.com/greerreNFL/Stadiums/refs/heads/main/data/rolling_team_hfa.csv",
|
6
|
+
"compression": null,
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_commit",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/rolling_team_hfa.csv",
|
11
|
+
"gh_release_tag": null,
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:17:31.578742+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [],
|
20
|
+
"map": {
|
21
|
+
"season": "int32",
|
22
|
+
"week": "int32",
|
23
|
+
"team": "object",
|
24
|
+
"stadium": "object",
|
25
|
+
"mov": "float32",
|
26
|
+
"expected_mov": "float32",
|
27
|
+
"error": "float32",
|
28
|
+
"games_played": "float32",
|
29
|
+
"win": "float32",
|
30
|
+
"loss": "float32",
|
31
|
+
"tie": "float32",
|
32
|
+
"wins_l16": "float32",
|
33
|
+
"losses_l16": "float32",
|
34
|
+
"ties_l16": "float32",
|
35
|
+
"mov_l16": "float32",
|
36
|
+
"hfa_l16": "float32",
|
37
|
+
"wins_l80": "float32",
|
38
|
+
"losses_l80": "float32",
|
39
|
+
"ties_l80": "float32",
|
40
|
+
"mov_l80": "float32",
|
41
|
+
"hfa_l80": "float32",
|
42
|
+
"wins_all_time": "float32",
|
43
|
+
"losses_all_time": "float32",
|
44
|
+
"ties_all_time": "float32",
|
45
|
+
"mov_all_time": "float32",
|
46
|
+
"hfa_all_time": "float32"
|
47
|
+
}
|
48
|
+
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/wepa/commits?path=data/wepa_by_game_pit.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:24.987730+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelosrs/commits?path=wt_ratings.csv",
|
11
11
|
"gh_release_tag": null,
|
12
12
|
"sla_seconds": 900,
|
13
|
-
"last_freshness_check": "2025-
|
13
|
+
"last_freshness_check": "2025-05-08T22:20:34.333029+00:00"
|
14
14
|
},
|
15
15
|
"iter": {
|
16
16
|
"type": null,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nfelodcm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.22
|
4
4
|
Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
|
5
5
|
Author-email: Robert Greer <nfl@robbygreer.com>
|
6
6
|
Maintainer-email: Robert Greer <nfl@robbygreer.com>
|
@@ -31,6 +31,7 @@ pyproject.toml
|
|
31
31
|
./nfelodcm/Maps/participants.json
|
32
32
|
./nfelodcm/Maps/pbp.json
|
33
33
|
./nfelodcm/Maps/player_stats.json
|
34
|
+
./nfelodcm/Maps/player_stats_season.json
|
34
35
|
./nfelodcm/Maps/players.json
|
35
36
|
./nfelodcm/Maps/qb_meta.json
|
36
37
|
./nfelodcm/Maps/qbelo.json
|
@@ -38,7 +39,9 @@ pyproject.toml
|
|
38
39
|
./nfelodcm/Maps/rosters.json
|
39
40
|
./nfelodcm/Maps/srs_ratings.json
|
40
41
|
./nfelodcm/Maps/stadiums.json
|
42
|
+
./nfelodcm/Maps/stadiums_rolling_stats.json
|
41
43
|
./nfelodcm/Maps/team_stadiums.json
|
44
|
+
./nfelodcm/Maps/team_stadiums_rolling_stats.json
|
42
45
|
./nfelodcm/Maps/wepa.json
|
43
46
|
./nfelodcm/Maps/wt_ratings.json
|
44
47
|
./nfelodcm/Utilities/__init__.py
|
@@ -82,6 +85,7 @@ nfelodcm/Maps/nfelo_games.json
|
|
82
85
|
nfelodcm/Maps/participants.json
|
83
86
|
nfelodcm/Maps/pbp.json
|
84
87
|
nfelodcm/Maps/player_stats.json
|
88
|
+
nfelodcm/Maps/player_stats_season.json
|
85
89
|
nfelodcm/Maps/players.json
|
86
90
|
nfelodcm/Maps/qb_meta.json
|
87
91
|
nfelodcm/Maps/qbelo.json
|
@@ -89,7 +93,9 @@ nfelodcm/Maps/qbr.json
|
|
89
93
|
nfelodcm/Maps/rosters.json
|
90
94
|
nfelodcm/Maps/srs_ratings.json
|
91
95
|
nfelodcm/Maps/stadiums.json
|
96
|
+
nfelodcm/Maps/stadiums_rolling_stats.json
|
92
97
|
nfelodcm/Maps/team_stadiums.json
|
98
|
+
nfelodcm/Maps/team_stadiums_rolling_stats.json
|
93
99
|
nfelodcm/Maps/wepa.json
|
94
100
|
nfelodcm/Maps/wt_ratings.json
|
95
101
|
nfelodcm/Utilities/__init__.py
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import pandas as pd
|
2
|
-
import numpy
|
3
|
-
|
4
|
-
def temp_players_handle(df):
|
5
|
-
"""
|
6
|
-
Renames the the players.csv columns (draftround) to match
|
7
|
-
the old naming. This is a temporary fix as nflfastR is updating
|
8
|
-
pipelines and does not plan to address this bug
|
9
|
-
|
10
|
-
When the new pipelines are officially released, players will point
|
11
|
-
to the new file
|
12
|
-
"""
|
13
|
-
## rename ##
|
14
|
-
df = df.rename(columns={'draftround': 'draft_round'})
|
15
|
-
return df
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/desc_based_plays.py
RENAMED
File without changes
|
{nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_player_file.py
RENAMED
File without changes
|
{nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_qb_file.py
RENAMED
File without changes
|
{nfelodcm-0.1.20 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/penalty_formatting.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|