getRetrosheet()
to account for new paths on retrosheet.orgretrosheet.org
is not availablestringsAsFactors = FALSE
README.md
to account for master
to main
change in repocloseAllConnections()
with close()
calls to specific connections (#1)get_retrosheet()
wrapper functionchr
via the relatively aggressive type.convert()
data.table
dependency, replaced data.table::fread()
with base::read.csv()
callsget_retrosheet()
now returns regular old dataframes now, instead of tibbles.httr::RETRY()
get_retrosheet()
, a wrapper for getRetrosheet()
that takes the same arguments and returns the same data, except coercing matrices into tibbles.*.zip
file instead of *.txt
file, to accommodate change to retrosheet.org file structurecache
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 serversRCurl
dependency (due to incompatibility with TLS > 1.0). Web data is now downloaded using httr
functionsXML
dependency, replaced with xml2
and rvest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.