usage: BrefPlotter.py [-h] [--csv {r,w}] [-p]
(-t {AL,NL,MLB} | -c TEAM [TEAM ...]) [-y YEAR]
[--plot {outcome_conceding,outcome_scoring,win_loss_margins,win_loss_streaks}]
[-a] [-n] [-x X-MAX] [--y-axis Y Y]
optional arguments:
-h, --help show this help message and exit
--csv {r,w} Set flag to save or read from csv files. (default: )
-p, --playoffs Set flag if including playoffs is desired. (default:
False)
-t {AL,NL,MLB}, --teams {AL,NL,MLB}
List of teams by League or all.
-c TEAM [TEAM ...], --teams-custom TEAM [TEAM ...]
List of teams to get information from, use Baseball-
Reference abreviations.
-y YEAR, --year YEAR Desired target year for data sets to retrieve.
(default: 2015)
Plotting:
--plot {outcome_conceding,outcome_scoring,win_loss_margins,win_loss_streaks}
Data type requesting to plotted.
-a, --average Calculate and plot the average for teams selected.
-n, --not-histogram Set flag if histogram is not desired, data is linearly
aggragated by x. (default: False)
-x X-MAX, --x-hint X-MAX
The minimum x-axis value end point in [1, x]; value
will be increased as needed. (default: 10)
--y-axis Y Y Min and max for y-axis (default: [-24, 24])
-
Notifications
You must be signed in to change notification settings - Fork 0
Utilities for gather information from Baseball Reference and saving plots to file.
License
barajasr/Baseball-Reference-Plotting
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Utilities for gather information from Baseball Reference and saving plots to file.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published