Closed JerrickBackous closed 3 years ago
Howdy! Thanks for your patience, I'm going to have to switch to using httr::GET()
commands.
For my reference #13
I've revamped the entire package to use httr
so that it will get access to the proper JSON, and this works again - thanks @JerrickBackous !
get_college_qbr(2019)
Scraping QBR totals for 2019!
# A tibble: 125 x 26
season week player_id player_uid
<int> <int> <chr> <chr>
1 2019 NA 4241464 s:20~l:23~a:4…
2 2019 NA 4362887 s:20~l:23~a:4…
3 2019 NA 4362874 s:20~l:23~a:4…
4 2019 NA 4361259 s:20~l:23~a:4…
5 2019 NA 4034946 s:20~l:23~a:4…
6 2019 NA 4244068 s:20~l:23~a:4…
7 2019 NA 4426348 s:20~l:23~a:4…
8 2019 NA 4360310 s:20~l:23~a:4…
9 2019 NA 4046678 s:20~l:23~a:4…
10 2019 NA 4427936 s:20~l:23~a:4…
# … with 115 more rows, and 22 more
# variables: player_guid <chr>,
# first_name <chr>, last_name <chr>,
# display_name <chr>,
# short_name <chr>,
# headshot_href <chr>, age <int>,
# team_name <chr>,
# team_short_name <chr>, slug <chr>,
# team_id <chr>, team_u_id <chr>,
# qbr_total <chr>, pts_added <chr>,
# qb_plays <chr>, epa_total <chr>,
# pass <chr>, run <chr>,
# exp_sack <chr>, penalty <chr>,
# qbr_raw <chr>, sack <chr>
Hi Tom,
I keep getting a connection error whenever I try get_college_qbr. Example below:
It happens for any combination of year or week I run. I tried updating espnscrapeR to see if that'd help but the same error keeps popping up.
Thanks, Jerrick