R Package. Originally an OWL API Wrapper, but that functionality has been scrapped in order to allow access to more advanced statistics through the OWL Statslab.
Use devtools
to get the latest version.
devtools::install_github('Metlover/owlstats')
Please update weekly during the season to get the latest values and match results. These are manual uploads and I try to process them Tuesday nights after homestands.
Originally written as a scraping package, the advent of bulk csv downloads of more advanced data through the OWL Statslab allowed a faster workload and functionality with better data. For this purpose, I have downloaded and updated previous season's Statslab datasets.
#Fetch statistics for San Francisco Shock players by map
hero_vals = owlstats::hero_vals[hero_vals$team_id == 4404,]
#Create a MySQL database with OWL API Stats
library(RMySQL)
mydb = dbConnect(MySQL(), user='user',password='password',dbname='owl',host='host)
buildOWDB(mydb)
For any additional features you'd like to see, bugs, or improvements, please post a new issue.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.