Changes in version 1.1.7.9000 Changes in version 1.1.7 (2026-04-20) - New schedule format (2024 and beyond) is now parsed correctly - retrosheetFields object is now better formatted and more maintainable - Package is more future-proof against changes to the structure of Retrosheet data Changes in version 1.1.6 (2024-02-28) - Updated format of documentation to pass CRAN checks - Updated getRetrosheet() to account for new paths on retrosheet.org - Updated two tests to account for changed location of All Star Team rosters Changes in version 1.1.5 (2023-07-07) - Updated tests to account for addition of All Star teams to Retrosheet data - Added checks to testing so it 'fails gracefully' when retrosheet.org is not available - Improved documentation in tests Changes in version 1.1.4 (2021-09-16) - Updated tests to skip Rmarkdown tests on CRAN. Avoids pandoc dependency issues on Solaris and MacOS CRAN package checks. Changes in version 1.1.3 (2020-12-14) - Updated tests to account for stringsAsFactors = FALSE - Switched to making requests via https to align with retrosheet.org changeover - Updated README.md to account for master to main change in repo Changes in version 1.1.2 (2020-05-15) - Replaced kludge-y closeAllConnections() with close() calls to specific connections (#1) - Added some rudimentary data cleanup to the get_retrosheet() wrapper function - Dates in retrosheet data now return date-types, everything else is converted from chr via the relatively aggressive type.convert() - Removed data.table dependency, replaced data.table::fread() with base::read.csv() calls - get_retrosheet() now returns regular old dataframes now, instead of tibbles. - Added better handling of HTTP requests. Failed requests are now retried up to three times via httr::RETRY() Changes in version 1.1.1 (2020-03-23) - Added get_retrosheet(), a wrapper for getRetrosheet() that takes the same arguments and returns the same data, except coercing matrices into tibbles. - Updated tests to account for more data being added to retrosheet.org (whoops) Changes in version 1.1.0 (2020-01-14) - Schedule scraping now expects a *.zip file instead of *.txt file, to accommodate change to retrosheet.org file structure - Added cache parameter to getRetrosheet(). This defaults to NA. If set to a local directory path, retrosheet data will be cached locally and re-used so as not to constantly download the same file from the retrosheet.org servers - Fixed parsing of substitutions in games where no substitutions occurred. This is a rare edge case. - Removed RCurl dependency (due to incompatibility with TLS > 1.0). Web data is now downloaded using httr functions - Removed XML dependency, replaced with xml2 and rvest