You can access data from theSquiggle API directly with thefetch_squiggle_data. This allows direct access to theSquiggle API.
Note that we also provide some helper functions that map more closelyto ourfetch_ functions such asfetch_ladder_squiggle.
Full instructions for constructing queries can be found atSquiggle API. One of thefollowing must be provided to thequery argument.
teams - Info about teams (e.g. Richmond, Geelong, WestCoast)games - Info about games (e.g. Round 1, 2019 Richmond vCarlton)sources - Info about models (e.g. Matter of Stats,GRAFT, Swinburne)tips - Info about tips and predictions made bymodelsstandings - Info about team standings (i.e. theladder)ladder - Info about predicted ladders generated bymodelsvirtual - Info about Virtually Season 2020pav - Info about Player Approximate Value from HPNFootyOptional arguments can then be supplied based on the query.
For example,games takes the following optionalarguments. *year - Year *round - Round *game - Game ID *complete - Percent of gamecomplete
These can be supplied as named arguments after the query. Forexample, to return games from just 2020, we would use the following.
Fetch info about one or more computer models.
Fetch info about one or more tips made by computer models.
We can just look at one particular round.
Fetch info about team standings at a point in time, i.e. theladder.
Fetch info about one or more projected ladders generated by computermodels. For the actual ladder, see standings instead.