Coder Social home page Coder Social logo

Comments (23)

k5cents avatar k5cents commented on September 2, 2024

These website headers might also work for #7?

from fflr.

k5cents avatar k5cents commented on September 2, 2024

My Team and Opposing Teams are both covered by team_rosters(), which returns a list of all rosters.

fflr::team_roster(252353)[[5]]
#> # A tibble: 17 x 17
#>     year  week team  slot       id first last  pro   pos   status  proj score
#>    <int> <int> <fct> <fct>   <int> <chr> <chr> <fct> <fct> <chr>  <dbl> <dbl>
#>  1  2020     4 KIER  QB    3915511 Joe   Burr… Cin   QB    A      19.3     NA
#>  2  2020     4 KIER  RB    3054850 Alvin Kama… NO    RB    A      17.6     NA
#>  3  2020     4 KIER  RB    4242335 Jona… Tayl… Ind   RB    A      12.6     NA
#>  4  2020     4 KIER  WR      15795 DeAn… Hopk… Ari   WR    Q      11.6     NA
#>  5  2020     4 KIER  WR    2977187 Coop… Kupp  LAR   WR    A       9.38    NA
#>  6  2020     4 KIER  TE      15847 Trav… Kelce KC    TE    A       9.79     0
#>  7  2020     4 KIER  FX    3025433 Mike  Davis Car   RB    A      11.5     NA
#>  8  2020     4 KIER  DS     -16014 Rams  D/ST  LAR   DS    A       6.30    NA
#>  9  2020     4 KIER  KI      14993 Greg  Zuer… Dal   KI    A       7.90    NA
#> 10  2020     4 KIER  BE      16733 Odell Beck… Cle   WR    A       9.16    NA
#> 11  2020     4 KIER  BE    2508176 David John… Hou   RB    A      11.3     NA
#> 12  2020     4 KIER  BE    4035538 David Mont… Chi   RB    A      10.0     NA
#> 13  2020     4 KIER  BE    3912550 Rona… Jone… TB    RB    A      12.0     NA
#> 14  2020     4 KIER  BE      15072 Marv… Jone… Det   WR    A       8.74    NA
#> 15  2020     4 KIER  BE    4038524 Gard… Mins… Jax   QB    A      18.6     NA
#> 16  2020     4 KIER  BE    3886818 Myles Gask… Mia   RB    A       9.75    NA
#> 17  2020     4 KIER  IR    3126486 Deebo Samu… SF    WR    A       7.21    NA
#> # … with 5 more variables: start <dbl>, rost <dbl>, change <dbl>,
#> #   acq_type <chr>, acq_date <dttm>

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

The only unique feature of League Home appears to be the final standing projections. This data is covered by league_standings().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Settings is mostly covered through the mSettings view.

fflr::draft_settings(252353, old = TRUE)
#> # A tibble: 5 x 8
#>    year type    budget date                trading keepers order       time
#>   <int> <chr>   <chr>  <dttm>              <lgl>     <int> <list>     <int>
#> 1  2015 SNAKE   <NA>   2015-08-15 12:00:00 FALSE         0 <int [8]>    120
#> 2  2016 SNAKE   <NA>   2016-09-05 07:30:00 TRUE          0 <int [10]>    90
#> 3  2017 AUCTION 200    2017-08-31 14:00:00 FALSE         0 <int [10]>    90
#> 4  2018 AUCTION 200    2018-09-05 14:00:00 FALSE         0 <int [10]>    90
#> 5  2019 AUCTION 200    2019-09-01 19:00:00 FALSE         0 <int [8]>     90

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Rosters has acquisition data not found on My Team. Now added to team_roster() in fecd5f1.

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Schedule is covered by weekly_matchups()... might be a better name per #7.

fflr::match_schedule(252353)
#> # A tibble: 96 x 6
#>     year  week match team  opp   home 
#>    <int> <int> <int> <fct> <fct> <lgl>
#>  1  2020     1     1 PEPE  AGUS  TRUE 
#>  2  2020     1     1 AGUS  PEPE  FALSE
#>  3  2020     1     2 NICK  BILL  TRUE 
#>  4  2020     1     2 BILL  NICK  FALSE
#>  5  2020     1     3 CART  KYLE  TRUE 
#>  6  2020     1     3 KYLE  CART  FALSE
#>  7  2020     1     4 CORE  KIER  TRUE 
#>  8  2020     1     4 KIER  CORE  FALSE
#>  9  2020     2     5 AGUS  BILL  TRUE 
#> 10  2020     2     5 BILL  AGUS  FALSE
#> # … with 86 more rows

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Transaction Counter is covered by league_transactions() and also fee_settings().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

History uses kona_history_standings by default, but the same data can be gotten with league_standings(old = TRUE).

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Draft Recap is covered by draft_picks() and draft_settings().

fflr::draft_picks(252353)
#> # A tibble: 128 x 7
#>     year type     pick nominator  team   bid      id
#>    <int> <chr>   <int>     <int> <int> <int>   <int>
#>  1  2020 AUCTION     1         8     4    57 3929630
#>  2  2020 AUCTION     2         3     8    33 3916387
#>  3  2020 AUCTION     3        10     3    23 3120348
#>  4  2020 AUCTION     4        11     1     3    2330
#>  5  2020 AUCTION     5         5     1    32 4045163
#>  6  2020 AUCTION     6         4     8    81 3117251
#>  7  2020 AUCTION     7         1     5    45 4047365
#>  8  2020 AUCTION     8         6    10     7   13229
#>  9  2020 AUCTION     9         8    10    52 3043078
#> 10  2020 AUCTION    10         3    11    32   16737
#> # … with 118 more rows

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Recent Activity is covered by roster_moves().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Message Board is now covered by league_messages() as of 868d9ca.

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Add Players is the page where all players can be listed, that's covered by all_players().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Live Draft Trends has average draft position and auction value, stuff that can be found with all_players().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Points Against is partly covered by opponent_ranks(), but it still lacks the processing of the various sub-stats.

fflr::opponent_ranks()
#> # A tibble: 192 x 4
#>    pro   pos    rank    avg
#>    <fct> <fct> <int>  <dbl>
#>  1 Atl   DS       26 -1.67 
#>  2 Atl   QB        1 33.5  
#>  3 Atl   RB       21 17.9  
#>  4 Atl   WR        3 32.0  
#>  5 Atl   TE        2 15.3  
#>  6 Atl   KI       16  8.33 
#>  7 Buf   DS       21  0.667
#>  8 Buf   QB        9 20.9  
#>  9 Buf   RB       22 17.8  
#> 10 Buf   WR       10 26.7  
#> # … with 182 more rows

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Added / Dropped is covered by the change col in all_players().

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Player News is now covered by player_news() as of eb01151.

fflr::player_news(15847)
#> # A tibble: 13 x 6
#>       id published           type   premium headline            body            
#>    <int> <dttm>              <chr>  <lgl>   <chr>               <chr>           
#>  1 15847 2020-10-03 17:15:30 Media  FALSE   Chiefs-Pats postpo… "After the game…
#>  2 15847 2020-09-29 04:45:45 Rotow… FALSE   Kelce caught six o… "Kelce led the …
#>  3 15847 2020-09-21 02:08:04 Rotow… FALSE   Kelce caught nine … "Kelce led the …
#>  4 15847 2020-09-11 04:24:20 Rotow… FALSE   Kelce brought in a… "The big tight …
#>  5 15847 2020-09-08 20:58:01 Rotow… FALSE   Kelce (knee) was a… "After being li…
#>  6 15847 2020-09-08 10:32:10 Story  TRUE    Predicting 2020 NF… "<p><video1></v…
#>  7 15847 2020-09-07 23:10:05 Rotow… FALSE   Kelce (knee) was l… "Kelce has deal…
#>  8 15847 2020-08-17 15:31:14 Story  FALSE   Inventing 32 props… "<p><video1></v…
#>  9 15847 2020-08-13 19:13:15 Rotow… FALSE   The Chiefs and Kel… "The exact para…
#> 10 15847 2020-08-13 18:33:26 Rotow… FALSE   The Chiefs and Kel… "Parameters of …
#> 11 15847 2020-02-03 04:23:02 Rotow… FALSE   Kelce brought in a… "Kelce's recept…
#> 12 15847 2020-01-24 22:43:49 Rotow… FALSE   Kelce (knee) doesn… "During the fir…
#> 13 15847 2020-01-24 19:24:58 Rotow… FALSE   Kelce (knee) is pa… "Kelce was held…

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

The stats from Projections is found in all_players() and the outlook write-ups are in the new player_outlook() as of
29a4ae3.

fflr::player_outlook(252353)
#> # A tibble: 2,422 x 6
#>     year  week      id first  last   outlook                                    
#>    <int> <int>   <int> <chr>  <chr>  <chr>                                      
#>  1  2020     0 3051392 Ezeki… Ellio… Elliott returns as the clear feature back …
#>  2  2020     1 3051392 Ezeki… Ellio… Elliott scored the third-most RB fantasy p…
#>  3  2020     2 3051392 Ezeki… Ellio… Elliott’s Week 1 performance reinforced wh…
#>  4  2020     3 3051392 Ezeki… Ellio… While Elliott turned in a workmanlike day …
#>  5  2020     4 3051392 Ezeki… Ellio… Elliott ran into a buzzsaw as the inspired…
#>  6  2020     0 3054850 Alvin  Kamara Kamara is coming off an up-and-down 2019 c…
#>  7  2020     1 3054850 Alvin  Kamara Last season, Kamara couldn't repeat his in…
#>  8  2020     2 3054850 Alvin  Kamara A pair of scores -- one on the ground and …
#>  9  2020     3 3054850 Alvin  Kamara Kamara was the chief beneficiary of Michae…
#> 10  2020     4 3054850 Alvin  Kamara Through three weeks, Kamara leads all runn…
#> # … with 2,412 more rows

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Budget Summary is covered by league_transactions(). But the budget is show as spent rather than remaining (total budget is found in waiver_settings()$budget).

fflr::league_transactions(252353)
#> # A tibble: 8 x 11
#>    year  week  team abbrev waiver spent acquisitions drops activated reserved
#>   <int> <int> <int> <fct>   <int> <int>        <int> <int>     <int>    <int>
#> 1  2020     4     1 AGUS        7    24            6     6        16        0
#> 2  2020     4     3 PEPE        3    17            2     1        14        1
#> 3  2020     4     4 BILL        2    49            3     2        18        1
#> 4  2020     4     5 CART        6     8            3     4        10        0
#> 5  2020     4     6 KIER        8    23            6     5        10        1
#> 6  2020     4     8 CORE        5    34            8     7        16        1
#> 7  2020     4    10 NICK        4    25            9     9        21        1
#> 8  2020     4    11 KYLE        1     6            3     3        14        0
#> # … with 1 more variable: trades <int>

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Offers Report is covered by roster_moves().

fflr::roster_moves(252353)
#> # A tibble: 93 x 14
#>    tx     year  week type    bid status date                 team from_slot
#>    <chr> <int> <int> <chr> <int> <chr>  <dttm>              <int> <fct>    
#>  1 0167…  2020     4 ROST…    NA EXECU… 2020-10-01 11:27:05     1 BE       
#>  2 0167…  2020     4 ROST…    NA EXECU… 2020-10-01 11:27:05     1 BE       
#>  3 0423…  2020     4 ROST…    NA EXECU… 2020-10-01 20:03:15    10 BE       
#>  4 0423…  2020     4 ROST…    NA EXECU… 2020-10-01 20:03:15    10 FX       
#>  5 0577…  2020     4 ROST…    NA EXECU… 2020-10-01 11:17:05     1 BE       
#>  6 0577…  2020     4 ROST…    NA EXECU… 2020-10-01 11:17:05     1 TE       
#>  7 06d2…  2020     4 ROST…    NA EXECU… 2020-10-01 14:36:21     4 BE       
#>  8 06d2…  2020     4 ROST…    NA EXECU… 2020-10-01 14:36:21     4 FX       
#>  9 0aaf…  2020     4 ROST…    NA EXECU… 2020-09-29 13:37:20     3 BE       
#> 10 0ba0…  2020     4 ROST…    NA EXECU… 2020-09-29 20:34:13    10 BE       
#> # … with 83 more rows, and 5 more variables: from_team <int>, id <int>,
#> #   to_slot <fct>, to_team <int>, move <chr>

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Stat Corrections is now covered by stat_correct() in 3ee1dcd.

fflr::stat_correct("2020-09-14")
#> # A tibble: 215 x 6
#>    date          id type  stat  name            change
#>    <date>     <int> <chr> <chr> <chr>            <dbl>
#>  1 2020-09-14 13226 PUNT  YDS   puntReturnYards     -1
#>  2 2020-09-14 13226 PUNT  YDS   puntReturnYards     -1
#>  3 2020-09-14 13979 DEF   SOLO  soloTackles          1
#>  4 2020-09-14 13979 DEF   SOLO  soloTackles          1
#>  5 2020-09-14 14139 DEF   AST   assistTackles        1
#>  6 2020-09-14 14139 DEF   SOLO  soloTackles         -1
#>  7 2020-09-14 14139 DEF   AST   assistTackles        1
#>  8 2020-09-14 14139 DEF   SOLO  soloTackles         -1
#>  9 2020-09-14 14202 DEF   AST   assistTackles        1
#> 10 2020-09-14 14202 DEF   AST   assistTackles        1
#> # … with 205 more rows

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Standings is covered by league_standings().

fflr::league_standings(252353)
#> # A tibble: 8 x 16
#>    year  week  team abbrev draft current  seed final  back losses  ties  wins
#>   <int> <int> <int> <fct>  <int>   <int> <int> <int> <dbl>  <int> <int> <int>
#> 1  2020     4     1 AGUS       1       2     2    NA     0      1     0     2
#> 2  2020     4     3 PEPE       7       7     4    NA     0      1     0     2
#> 3  2020     4     4 BILL       8       5     1    NA     0      1     0     2
#> 4  2020     4     5 CART       5       3     3    NA     0      1     0     2
#> 5  2020     4     6 KIER       4       6     6    NA     1      2     0     1
#> 6  2020     4     8 CORE       6       8     8    NA     1      2     0     1
#> 7  2020     4    10 NICK       3       4     7    NA     1      2     0     1
#> 8  2020     4    11 KYLE       2       1     5    NA     1      2     0     1
#> # … with 4 more variables: percentage <dbl>, against <dbl>, points <dbl>,
#> #   streak <dbl>

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

Scoreboard is covered by live_scoring().

fflr::live_scoring(252353)
#> # A tibble: 8 x 5
#>    week match  team score  proj
#>   <int> <int> <int> <dbl> <dbl>
#> 1     4    13     1  23.8 115. 
#> 2     4    13     6   0    96.1
#> 3     4    14     8   0    87.1
#> 4     4    14    11   0   102. 
#> 5     4    15     5   0   111. 
#> 6     4    15     4   3.5  96.7
#> 7     4    16    10   0    88.4
#> 8     4    16     3   0    98.5

Created on 2020-10-03 by the reprex package (v0.3.0)

from fflr.

k5cents avatar k5cents commented on September 2, 2024

These endpoints need to be covered in v2.0.0

from fflr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.