Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tm absence #353

Merged
merged 6 commits into from
Jan 14, 2024
Merged

Feature/tm absence #353

merged 6 commits into from
Jan 14, 2024

Conversation

JaseZiv
Copy link
Owner

@JaseZiv JaseZiv commented Jan 14, 2024

addressing #352

Still need to update vignettes, run local check

EDIT: Now completed

@JaseZiv JaseZiv marked this pull request as draft January 14, 2024 03:55
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (34dc864) 64.79% compared to head (d7728d0) 65.33%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
+ Coverage   64.79%   65.33%   +0.53%     
==========================================
  Files          44       45       +1     
  Lines        3568     3623      +55     
==========================================
+ Hits         2312     2367      +55     
  Misses       1256     1256              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JaseZiv
Copy link
Owner Author

JaseZiv commented Jan 14, 2024

The new function tm_get_player_absence() grabs this:

image

and returns it as so in an R data frame:

image

Happy with that @tonyelhabr?

@@ -297,7 +297,7 @@ dplyr::glimpse(hazard_injuries)
#----- for multiple players: -----#
# # can make use of a tm helper function:
# burnley_player_urls <- tm_team_player_urls(team_url = "https://www.transfermarkt.com/fc-burnley/startseite/verein/1132/saison_id/2021")
# # then pass all those URLs to the tm_player_bio
# # then pass all those URLs to the tm_player_injury_history
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drive by fix

@JaseZiv JaseZiv marked this pull request as ready for review January 14, 2024 09:32
Copy link
Collaborator

@tonyelhabr tonyelhabr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't realize you were a Spurs fan (judging by the players chosen for examples) 😄

@JaseZiv
Copy link
Owner Author

JaseZiv commented Jan 14, 2024

didn't realize you were a Spurs fan (judging by the players chosen for examples) 😄

Haha not a Spurs fan, but definitely a Big Ange fan (and also 'Romero' was the first name with suspensions that came to mind to type in transfermarkt's search bar)!

@JaseZiv JaseZiv merged commit 67c7ac3 into main Jan 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants