Suppose now we are interested in listing the classic mini-leagues of which you are a member and your current rank in those mini-leagues?

First we fetch the entry information using get_entry:

library(fplscrapR)

df <- get_entry(entryid=1076)

Next we select the classic league details and the relevant data columns using dplyr:

library(dplyr)

df$leagues$classic %>% 
  select(name,entry_last_rank) # selecting the columns of interest here


wiscostret/fplscrapR documentation built on June 12, 2022, 8:03 a.m.