Skip to content

Commit 9767792

Browse files
jimmyday12jimmyday12
authored andcommitted
adding data for new vignette
1 parent e2b46ab commit 9767792

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

R/sysdata.rda

41.3 KB
Binary file not shown.

data-raw/vignette-data/vignette_data.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,13 @@ team_abbr <- tibble(
147147
)
148148
)
149149

150+
# Player Details ---------------------------------------------------------------
151+
details_aflm <- fetch_player_details("Hawthorn")
152+
details_aflw <- fetch_player_details(team = "Western Bulldogs", current = TRUE, comp = "AFLW", source = "AFL")
153+
details_afltables <- fetch_player_details("Hawthorn", source = "afltables")
154+
details_footywire <- fetch_player_details("Richmond", source = "footywire", current = TRUE)
150155

156+
# Write data -------------------------------------------------------------------
151157

152158
usethis::use_data(stat_abbr,
153159
team_abbr,
@@ -173,5 +179,9 @@ usethis::use_data(stat_abbr,
173179
squiggle_ladder,
174180
aflm_coaches_votes,
175181
aflw_coaches_votes,
182+
details_aflm,
183+
details_aflw,
184+
details_afltables,
185+
details_footywire,
176186
internal = TRUE, overwrite = TRUE
177187
)

0 commit comments

Comments
 (0)