From c6e09556b1ccba506ee6ce2ff06fbb139b294790 Mon Sep 17 00:00:00 2001 From: Durhamster <47925872+Durhamster@users.noreply.github.com> Date: Tue, 9 Aug 2022 14:45:21 -0400 Subject: [PATCH] Added Nippon and CPBL --- README.md | 3 +- about.html | 1 - dist/about.html | 257 - dist/assets/about.59d437f0.css | 1 - dist/assets/about.94abd4dd.js | 1 - dist/assets/all_pages.4cde03b7.css | 1 - dist/assets/all_pages.51526d0b.js | 4 - dist/assets/bbl.f6c83317.png | Bin 20655 -> 0 bytes dist/assets/bundesliga.44cca2ed.png | Bin 24550 -> 0 bytes dist/assets/cfl.dcb8cc2f.png | Bin 12730 -> 0 bytes dist/assets/epl.a9838a9d.png | Bin 24895 -> 0 bytes dist/assets/favicon.b13870ce.svg | 1 - dist/assets/flowchart.fd94c727.jpg | Bin 75115 -> 0 bytes dist/assets/ipl.41f68155.png | Bin 14980 -> 0 bytes dist/assets/isl.90bc9c7c.png | Bin 16879 -> 0 bytes dist/assets/kbo.14ef173b.png | Bin 26380 -> 0 bytes dist/assets/laliga.f3d7c21b.png | Bin 19127 -> 0 bytes dist/assets/ligue1.98efcae1.png | Bin 19904 -> 0 bytes dist/assets/main.b576c0fe.css | 1 - dist/assets/main.e62bd5ff.js | 515 -- dist/assets/mlb.45ea9050.png | Bin 21565 -> 0 bytes dist/assets/mls.21b9af2e.png | Bin 21272 -> 0 bytes dist/assets/nba.891b4e2c.png | Bin 21643 -> 0 bytes dist/assets/nfl.f75f9489.png | Bin 16619 -> 0 bytes dist/assets/nhl.b1db2e1d.png | Bin 22367 -> 0 bytes dist/assets/nwsl.f7a8a1da.png | Bin 20920 -> 0 bytes dist/assets/serie_a.717ea7a1.png | Bin 20507 -> 0 bytes dist/assets/sources.4689c773.js | 1 - dist/assets/wnba.ae60e94b.png | Bin 21436 -> 0 bytes dist/index.html | 27 - dist/sources.html | 207 - package-lock.json | 442 +- package.json | 6 +- sources.html | 31 +- src/components/baseball.ts | 83 +- src/data/csv/cpbl.csv | 157 + src/data/csv/npb.csv | 880 ++ src/data/json/cpbl.json | 1562 ++++ src/data/json/npb_data.json | 12308 ++++++++++++++++++++++++++ src/img/cpbl.png | Bin 0 -> 20253 bytes src/img/npb.png | Bin 0 -> 18837 bytes src/main.ts | 42 +- src/styles/team_colors.scss | 235 +- vite.config.ts | 1 + 44 files changed, 15435 insertions(+), 1332 deletions(-) delete mode 100644 dist/about.html delete mode 100644 dist/assets/about.59d437f0.css delete mode 100644 dist/assets/about.94abd4dd.js delete mode 100644 dist/assets/all_pages.4cde03b7.css delete mode 100644 dist/assets/all_pages.51526d0b.js delete mode 100644 dist/assets/bbl.f6c83317.png delete mode 100644 dist/assets/bundesliga.44cca2ed.png delete mode 100644 dist/assets/cfl.dcb8cc2f.png delete mode 100644 dist/assets/epl.a9838a9d.png delete mode 100644 dist/assets/favicon.b13870ce.svg delete mode 100644 dist/assets/flowchart.fd94c727.jpg delete mode 100644 dist/assets/ipl.41f68155.png delete mode 100644 dist/assets/isl.90bc9c7c.png delete mode 100644 dist/assets/kbo.14ef173b.png delete mode 100644 dist/assets/laliga.f3d7c21b.png delete mode 100644 dist/assets/ligue1.98efcae1.png delete mode 100644 dist/assets/main.b576c0fe.css delete mode 100644 dist/assets/main.e62bd5ff.js delete mode 100644 dist/assets/mlb.45ea9050.png delete mode 100644 dist/assets/mls.21b9af2e.png delete mode 100644 dist/assets/nba.891b4e2c.png delete mode 100644 dist/assets/nfl.f75f9489.png delete mode 100644 dist/assets/nhl.b1db2e1d.png delete mode 100644 dist/assets/nwsl.f7a8a1da.png delete mode 100644 dist/assets/serie_a.717ea7a1.png delete mode 100644 dist/assets/sources.4689c773.js delete mode 100644 dist/assets/wnba.ae60e94b.png delete mode 100644 dist/index.html delete mode 100644 dist/sources.html create mode 100644 src/data/csv/cpbl.csv create mode 100644 src/data/csv/npb.csv create mode 100644 src/data/json/cpbl.json create mode 100644 src/data/json/npb_data.json create mode 100644 src/img/cpbl.png create mode 100644 src/img/npb.png diff --git a/README.md b/README.md index aa2790c..767dff0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ That's what this sets out to do, using the power of data! - Big Bash League (2011 - 2021) - Bundesliga (1996 - 2022, more dates to come) - Canadian Football League (1945 - 2021) +- Chinese Professional Baseball League - Taiwan (1990 - 2021) - Indian Premier League (2008 - 2021) - Indian Super League (2014 - 2021) - KBO League (1982 - 2021) @@ -22,6 +23,7 @@ That's what this sets out to do, using the power of data! - National Football League (1932 - 2021) - National Hockey League (1918 - 2021) - National Women's Soccer League (2013 - 2021) +- Nippon Professional Baseball (1950 - 2021) - Premier league (1996 - 2022, more dates to come) - Serie A (1996 - 2022, more dates to come) - Women's National Basketball Association (1997 - 2021) @@ -36,7 +38,6 @@ That's what this sets out to do, using the power of data! - National Rugby League (1998 - 2022) - NCAA Basketball (Dates vary by Conference) - NCAA Football (Dates vary by Conference) -- Nippon Professional Baseball (1950 - 2021) ## Leagues With No Current Plans to be added in Future Updates diff --git a/about.html b/about.html index 09f4fc3..602a826 100644 --- a/about.html +++ b/about.html @@ -93,7 +93,6 @@
- Being a sports fan can be a painful experience, but some fan bases have - it far worse than others. Are you one of them? You may think the teams - you follow bring you misery, but what if you could know not only - precisely how miserable they make you, but how many more (if any) - championship/cup/trophy wins you likely see in your life? -
-That's what this sets out to do, using the power of data!
- -- Seasons are not added until they are finished. Some leagues are over 100 - years old, while others have only been around a few years. For an exact - date range for each league, please see the - sources page. -
- -- It's actually quite simple. There are multiple approaches to quantifying - all the emotions that go with being emotionally invested in a team. This - site uses a combination of all three of these to achieve the most - accurate results possible. These are: -
-- The first is the classical approach known as the - Schwarzschild Radius, named after German astronomer Karl Schwarzschild. -
-- The second most common approach is to take number of championships, - cups, trophies, finals an individual's team has brought them in their - lifetime, and divide by the number of years they have been alive. This - gives an average number of years between brief moments when the fan can - say to themselves "maybe life isn't so bad". -
-- The third approach is with a simple flow chart. The boxes in this chart - vary based on the league in question, but roughly come down to the same - methods mathematically. Typically getting these results requires a - multi-year multi-million dollar contract with McKinsey, but luckily a - few free ones are available online. -
-- For example, the flow chart for the National Football League would be - the following: -
- - -- At the moment the following leagues are planned to be added in future - updates: -
-Leagues with no current plans to be added in future updates:
-- Leagues & Teams that will NOT be added in future updates (so - please stop asking): -
-- All franchises that have moved cities or changed names at any point are - under their current name. The records from their previous city and/or - name are included unless the league itself decided otherwise, for - example the OKC Thunder did not inherit the Seattle Super Sonics - records. -
-- At this time there are no plans for adding options for historical team - names or defunct teams. In other words, yes the creator of this site is - aware that there are still a few grumpy - Brooklyn - Dodgers - fans out there. -
- -- Most of the data for this was obtained from - Sports-Reference.com - and - Wikipedia. The data files can be found in the github repository for this site in - both - csv - and - json - formats. -
-- The repo for the web scraper used to obtain some of the data - Sports-Reference.com can be found - here. - -
-- A more detailed list of sources can be found on the - sources page. -
- -- To avoid any copyrights issues. Low-effort Microsoft Paint drawings of - the logos were considered but that idea was shelved until more expensive - legal counsel can be acquired. Sports leagues are serious about - protecting their brands and the creator of this site is serious about - not wanting to go to court over this. -
-- Absolutely! Data collection and cleaning is a very time intensive - process. Even partial data sets for any league would be helpful. If you - have a set you would like to contribute please see the contact section - below to reach out. -
-- The best way to get a hold of me is to shoot me a direct message on - Twitter - or connect with me on - LinkedIn. -
-- While you're at it, check out my other projects on - Github. -
-- Want to support me? Feel free to - buy me a coffee! -
-Sports Fan Misery Calculator \xA9'+s+"
Not affiliated with or endorsed by any sports league.
All data is up to date as of June "+d+'
*Seasons are not added until they are completed
';export{h as a,p as b,a as c,g as f,u as n,f as r,m as u}; diff --git a/dist/assets/bbl.f6c83317.png b/dist/assets/bbl.f6c83317.png deleted file mode 100644 index 385c5c71d49989b17f8a0aea8184512911dc8c2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20655 zcmXV1WmH>T)5YB#3c=l5oB+k$Qrs!U-3q}=ad#+C+#MQRi@QTx+$Cs$Qk*Z(yS^Vc zS;@LN>t@cJnLT^u`F9Lpj|RU!N7fp*hR*SO9;k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