Skip to content

Commit 482b610

Browse files
committed
fix links to some data sources
1 parent c8dac0a commit 482b610

File tree

4 files changed

+39
-33
lines changed

4 files changed

+39
-33
lines changed

.tox/log/GLOB-0.log

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
action: GLOB, msg: packaging
22
cwd: C:\Users\JCoop\Documents\GitHub\nflfastPy
3-
cmd: 'c:\users\jcoop\anaconda3\envs\myenv\python.exe' setup.py sdist --formats=zip --dist-dir '.tox\dist'
3+
cmd: 'c:\users\jcoop\anaconda3\python.exe' setup.py sdist --formats=zip --dist-dir '.tox\dist'
44
running sdist
55
running egg_info
66
writing nfl_data_py.egg-info\PKG-INFO
@@ -10,31 +10,31 @@ writing top-level names to nfl_data_py.egg-info\top_level.txt
1010
reading manifest file 'nfl_data_py.egg-info\SOURCES.txt'
1111
writing manifest file 'nfl_data_py.egg-info\SOURCES.txt'
1212
running check
13-
creating nfl_data_py-0.2.4
14-
creating nfl_data_py-0.2.4\nfl_data_py
15-
creating nfl_data_py-0.2.4\nfl_data_py.egg-info
16-
copying files to nfl_data_py-0.2.4...
17-
copying README.md -> nfl_data_py-0.2.4
18-
copying setup.py -> nfl_data_py-0.2.4
19-
copying nfl_data_py\__init__.py -> nfl_data_py-0.2.4\nfl_data_py
20-
copying nfl_data_py.egg-info\PKG-INFO -> nfl_data_py-0.2.4\nfl_data_py.egg-info
21-
copying nfl_data_py.egg-info\SOURCES.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info
22-
copying nfl_data_py.egg-info\dependency_links.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info
23-
copying nfl_data_py.egg-info\requires.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info
24-
copying nfl_data_py.egg-info\top_level.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info
25-
Writing nfl_data_py-0.2.4\setup.cfg
26-
creating '.tox\dist\nfl_data_py-0.2.4.zip' and adding 'nfl_data_py-0.2.4' to it
27-
adding 'nfl_data_py-0.2.4'
28-
adding 'nfl_data_py-0.2.4\nfl_data_py'
29-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info'
30-
adding 'nfl_data_py-0.2.4\PKG-INFO'
31-
adding 'nfl_data_py-0.2.4\README.md'
32-
adding 'nfl_data_py-0.2.4\setup.cfg'
33-
adding 'nfl_data_py-0.2.4\setup.py'
34-
adding 'nfl_data_py-0.2.4\nfl_data_py\__init__.py'
35-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\dependency_links.txt'
36-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\PKG-INFO'
37-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\requires.txt'
38-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\SOURCES.txt'
39-
adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\top_level.txt'
40-
removing 'nfl_data_py-0.2.4' (and everything under it)
13+
creating nfl_data_py-0.2.6
14+
creating nfl_data_py-0.2.6\nfl_data_py
15+
creating nfl_data_py-0.2.6\nfl_data_py.egg-info
16+
copying files to nfl_data_py-0.2.6...
17+
copying README.md -> nfl_data_py-0.2.6
18+
copying setup.py -> nfl_data_py-0.2.6
19+
copying nfl_data_py\__init__.py -> nfl_data_py-0.2.6\nfl_data_py
20+
copying nfl_data_py.egg-info\PKG-INFO -> nfl_data_py-0.2.6\nfl_data_py.egg-info
21+
copying nfl_data_py.egg-info\SOURCES.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info
22+
copying nfl_data_py.egg-info\dependency_links.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info
23+
copying nfl_data_py.egg-info\requires.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info
24+
copying nfl_data_py.egg-info\top_level.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info
25+
Writing nfl_data_py-0.2.6\setup.cfg
26+
creating '.tox\dist\nfl_data_py-0.2.6.zip' and adding 'nfl_data_py-0.2.6' to it
27+
adding 'nfl_data_py-0.2.6'
28+
adding 'nfl_data_py-0.2.6\nfl_data_py'
29+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info'
30+
adding 'nfl_data_py-0.2.6\PKG-INFO'
31+
adding 'nfl_data_py-0.2.6\README.md'
32+
adding 'nfl_data_py-0.2.6\setup.cfg'
33+
adding 'nfl_data_py-0.2.6\setup.py'
34+
adding 'nfl_data_py-0.2.6\nfl_data_py\__init__.py'
35+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\dependency_links.txt'
36+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\PKG-INFO'
37+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\requires.txt'
38+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\SOURCES.txt'
39+
adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\top_level.txt'
40+
removing 'nfl_data_py-0.2.6' (and everything under it)

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Updated load_pbp_data() to work with locally cached files
2525
- Updates README
2626

27-
## [0.2.4] - 2021-09-22
27+
## [0.2.5] - 2021-09-22
2828

2929
### Changed
3030
- Fixed bug in cache process that was effecting pbp load too
31+
32+
## [0.2.6] - 2022-03-15
33+
34+
### Changed
35+
- Updated cache feature to be OS agnostic
36+

nfl_data_py/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ def import_pfr_passing(years=None):
798798
raise ValueError('Data not available before 2019.')
799799

800800
# import data
801-
url = r'https://raw.githubusercontent.com/nflverse/pfr_scrapR/master/data/pfr_advanced_passing.csv'
801+
url = r'https://github.com/nflverse/nflverse-data/releases/download/pfr_advstats/advstats_season_pass.csv'
802802

803803
df = pandas.read_csv(url)
804804

@@ -834,7 +834,7 @@ def import_snap_counts(years):
834834
# import data
835835
for yr in years:
836836

837-
url = r'https://raw.githubusercontent.com/nflverse/pfr_scrapR/master/data/snap_counts_{}.csv'.format(yr)
837+
url = r'https://github.com/nflverse/nflverse-data/releases/download/snap_counts/snap_counts_{}.csv'.format(yr)
838838

839839
temp = pandas.read_csv(url)
840840

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
AUTHOR = 'cooperdff'
2020
REQUIRES_PYTHON = '>=3.5.0'
21-
VERSION = '0.2.5'
21+
VERSION = '0.2.6'
2222

2323

2424
# What packages are required for this module to be executed?

0 commit comments

Comments
 (0)