powered by
This function allows you to scrape the standings from MLB for a period you choose, and visualize the GB of teams along that period.
viz_gb_on_period(start_date, end_date, lg_div)
a date object representing the first date of the period
a date object representing the last date of the period
One or more of AL East, AL Central, AL West, AL Overall, NL East, NL Central, NL West, and NL Overall
# NOT RUN { viz_gb_on_period("2017-04-02","2017-04-10", "AL East") # }
Run the code above in your browser using DataLab