Description Usage Format Fields Methods See Also
This objects represent the basic set of data needed for defining a projection source with JSON data. It is an extesnsion of the projection_source object with some specific fields and methods related to scraping JSON data.
1 |
An R6 class object.
json_elem
String containing the name of the JSON element in the result that identifies the data
stat_elem
String containing the name of the stats element in the JSON result if applicable
player_elem
Character vector containing the name of the player elements in the JSON result if applicable
player_cols
Named character vector used to rename the player columns in the JSON result if needed.
scrape
Scrape the data from the source based on season, week and position provided
Other source-class: html_source
,
projection_source
,
xlsx_source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.