Comments (4)
Hi @Grayhawk34 I believe this is working in latest release (0.5) as I've redone the function. Can you please confirm?
remotes::install_github("jthomasmock/espnscrapeR")
get_nfl_boxscore_players(game_id = "401220131")
# A tibble: 79 x 84
game_id game_uid season season_type date week home_away winner team_id team_uid
<chr> <chr> <int> <int> <chr> <int> <chr> <int> <chr> <chr>
1 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
2 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
3 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
4 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
5 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
6 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
7 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
8 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
9 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
10 4012201… s:20~l:… 2020 2 2020… 1 away 0 15 s:20~l:…
# … with 69 more rows, and 74 more variables: team_city <chr>, team_name <chr>,
# team_abb <chr>, team_full <chr>, team_color <chr>, team_color_alt <chr>,
# team_logo <chr>, team_order <int>, team_score <int>, team_record <chr>,
# text <chr>, player_id <chr>, player_uid <chr>, player_guid <chr>,
# first_name <chr>, last_name <chr>, full_name <chr>, pass_att <int>,
# pass_cmp <int>, pass_yds <dbl>, pass_avg <dbl>, pass_td <dbl>, pass_int <dbl>,
# pass_sacks <dbl>, pass_sack_yds <dbl>, pass_qbr <dbl>, pass_rtg <dbl>,
# rush_att <dbl>, rush_yds <dbl>, rush_avg <dbl>, rush_td <dbl>, rush_long <dbl>,
# rec_total <dbl>, rec_yds <dbl>, rec_avg <dbl>, rec_td <dbl>, rec_long <dbl>,
# rec_tgts <dbl>, fum_total <dbl>, fum_lost <dbl>, fum_rec <dbl>, def_tkl <dbl>,
# def_solo_tkl <dbl>, def_sacks <dbl>, def_tfl <dbl>, def_pd <dbl>,
# def_qb_hts <dbl>, def_td <dbl>, int_total <dbl>, int_yds <dbl>, int_td <dbl>,
# kick_ret_no <dbl>, kick_ret_yds <dbl>, kick_ret_avg <dbl>, kick_ret_long <dbl>,
# kick_ret_td <dbl>, punt_ret_no <dbl>, punt_ret_yds <dbl>, punt_ret_avg <dbl>,
# punt_ret_long <dbl>, punt_ret_td <dbl>, kick_fg_att <dbl>, kick_fg_made <dbl>,
# kick_pct <dbl>, kick_long <dbl>, kick_xp_att <dbl>, kick_xp_made <dbl>,
# kick_pts <dbl>, punt_no <dbl>, punt_yds <dbl>, punt_avg <dbl>, punt_tb <dbl>,
# punt_in_20 <dbl>, punt_long <dbl>
from espnscraper.
I'm getting the following error:
Error in open.connection(con, "rb") : HTTP error 403.
Never had this before.
from espnscraper.
Hi @Grayhawk34 - that means a forbidden pathway.
Can you confirm that you have:
- Installed the latest version of the
espnscrapeR
package w/remotes::install_github("jthomasmock/espnscrapeR")
- That you can navigate to the raw url here ?
from espnscraper.
from espnscraper.
Related Issues (20)
- Wrong team in ESPN API? HOT 4
- Connection Error HOT 2
- get_nfl_teams() Error 403 HOT 3
- get_college_qbr() only pulling 2020 data HOT 6
- get_athlete() Error: Not Found (HTTP 404) HOT 1
- List of Player ID's HOT 1
- Some boxscores do not appear HOT 1
- 2022 Pass Win Rates Update HOT 2
- Error in player name for players on multiple teams throughout the year HOT 1
- Installation Assistance HOT 1
- `scrape_team_stats_nfl` gives error when `role="defense"` HOT 2
- Defense type in scrape_espn_stats() HOT 1
- Add 2023 win rates? HOT 2
- ESPN Data inconsistent HOT 3
- Intragame win probability HOT 3
- Unable to pull 2020 College QBR HOT 2
- Two stray commas causing get_nfl_schedule to fail HOT 1
- College QBR Data missing HOT 6
- keep venue in get_schedule_data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espnscraper.