2020 RStudio Table Contest

data visualization reactable

My submission for the 2020 RStudio Table Contest which received an Honorable Mention award.

Author

Affiliation

Kyle Cuilla

 

Published

Jan. 5, 2021

Citation

Cuilla, 2021

In late 2020, RStudio announced they were hosting an inaugural table contest. I decided to create a dynamic table that displayed the team ratings and stats from every NFL team from the 2019 season. The data is scraped from Pro Football Reference and the table was created with the reactable package with some CSS styling sprinkled in.

My submission received an Honorable Mention award from RStudio among 80+ entries.

See the table below as well as the code for the table located on my GitHub.

Note: if you are viewing on a mobile device, click here to see the full output of the table.

2019 NFL Team Rating & Stats

Ratings and results from every NFL team from the 2019 season
Team Scoring & Margin of Victory
Team Rating (SRS)
Division
Team
Playoffs
SoS
Pts. Scored
Pts. Against
MoV
Off.
Def.
Total
AFC North
Ravens
(14-2-0)
531
282
+15.6
11.0
4.7
15.6
NFC West
49ers
(13-3-0)
479
310
+10.6
6.7
4.3
11.0
AFC East
Patriots
(12-4-0)
420
225
+12.2
2.8
7.6
10.4
AFC West
Chiefs
(12-4-0)
451
308
+8.9
6.2
2.9
9.1
NFC South
Saints
(13-3-0)
458
341
+7.3
5.0
2.3
7.4
NFC North
Vikings
(10-6-0)
407
303
+6.5
2.5
2.9
5.4
NFC East
Cowboys
(8-8-0)
434
321
+7.1
3.8
1.5
5.3
NFC West
Rams
(9-7-0)
394
364
+1.9
2.2
1.7
3.9
AFC South
Titans
(9-7-0)
402
331
+4.4
1.8
1.7
3.4
NFC North
Packers
(13-3-0)
376
313
+3.9
0.6
2.6
3.2
NFC West
Seahawks
(11-5-0)
405
398
+0.4
2.9
-0.2
2.7
AFC East
Bills
(10-6-0)
314
259
+3.4
-3.5
5.7
2.2
AFC South
Texans
(10-6-0)
378
385
-0.4
1.0
-0.5
0.5
NFC South
Buccaneers
(7-9-0)
458
449
+0.6
4.9
-4.5
0.4
NFC East
Eagles
(9-7-0)
385
354
+1.9
0.7
-0.4
0.3
AFC North
Steelers
(8-8-0)
289
303
-0.9
-4.3
4.6
0.3
NFC South
Falcons
(7-9-0)
381
399
-1.1
0.3
-0.4
-0.1
NFC North
Bears
(8-8-0)
280
298
-1.1
-5.4
4.5
-0.9
AFC West
Chargers
(5-11-0)
337
345
-0.5
-1.6
0.3
-1.3
AFC South
Colts
(7-9-0)
361
373
-0.8
-1.0
-0.8
-1.8
AFC North
Browns
(6-10-0)
335
393
-3.6
-0.4
-1.5
-1.9
AFC West
Broncos
(7-9-0)
282
316
-2.1
-4.8
2.7
-2.1
NFC West
Cardinals
(5-10-1)
361
442
-5.1
-0.3
-2.9
-3.2
NFC North
Lions
(3-12-1)
341
423
-5.1
-1.2
-4.0
-5.2
AFC East
Jets
(7-9-0)
276
359
-5.2
-5.7
-0.6
-6.3
AFC South
Jaguars
(6-10-0)
300
397
-6.1
-4.6
-2.1
-6.7
AFC West
Raiders
(7-9-0)
313
419
-6.6
-2.5
-4.4
-6.9
NFC South
Panthers
(5-11-0)
340
470
-8.1
-1.9
-5.1
-7.0
AFC North
Bengals
(2-14-0)
279
420
-8.8
-4.4
-2.9
-7.3
NFC East
Giants
(4-12-0)
341
451
-6.9
-1.8
-6.1
-7.9
NFC East
Washington
(3-13-0)
266
435
-10.6
-6.3
-4.5
-10.8
AFC East
Dolphins
(5-11-0)
306
494
-11.8
-2.4
-9.1
-11.6
Note: Strength of Schedule (SoS) aligns with the ski trail difficulty rating system: = Easy = Moderate = Difficult = Most Difficult
Table created by: Kyle Cuilla @kc_analytics • Data: Pro-Football-Reference.com

Footnotes

    Citation

    For attribution, please cite this work as

    Cuilla (2021, Jan. 5). UNCHARTED DATA: 2020 RStudio Table Contest. Retrieved from https://uncharteddata.netlify.app/posts/2021-03-05-title-of-post/

    BibTeX citation

    @misc{cuilla20212020,
      author = {Cuilla, Kyle},
      title = {UNCHARTED DATA: 2020 RStudio Table Contest},
      url = {https://uncharteddata.netlify.app/posts/2021-03-05-title-of-post/},
      year = {2021}
    }