Dorkinians Stats
Table of Contents
To Do List
Thursday
- Look up the fixtures from the FA Site for each team and add them to the main sheet
Fixtures List
tab
Saturday
- Add results from the Dorkinians group chat or results from the FA Site to the sheet so that when captains add stats, they have the right number of goals to allocate (can also be Sunday)
Sunday/Monday
- Chase the captains to complete their stats and fix any problems they have
- Once all captains have done their stats, load the website, screenshot TOTW and post
Monthly
- Post the Fantasy Player of the Month - by screenshotting the player below the TOTW
Sheet Links
All sheets can only be opened by people with added access
Main Stats Sheets
- Dorkinians Stats 2016-25 - The easy read stats sheet that collates all captains stats
- Dorkinians Online Stats - The data that the website parses for display.
There is no need to view the second link - Online Stats, unless something has gone really wrong
Team Stats Sheets
- Dorkinians 1s Stats
- Dorkinians 2s Stats
- Dorkinians 3s Stats
- Dorkinians 4s Stats
- Dorkinians 5s Stats
- Dorkinians 6s Stats
- Dorkinians 7s Stats
- Dorkinians 8s Stats
- Dorkinians Vets Stats
Details
Sheets to maintain
There are only a few sheets that should ever need to be maintained, listed below.
Google Sheet | Sheet Name | Maintenance Needed |
---|---|---|
Dorkinians Stats 2016-25 | Control Panel | Read regularly to check stat completion |
Dorkinians Stats 2016-25 | Fixtures List | Update weekly with fixtures and results |
Dorkinians Stats 2016-25 | Players List | Update infrequently when a new player is to be added |
Dorkinians Stats 2016-25 | Lookup | Update infrequently when a new opposition team is to be added |
All other documents and sheets should work without needing updates, or will need Luke's help to fix.
Control Panel
The control panel can be used to monitor that status of each team's stats. If there are any errors on a teams sheet, they will be flagged here.
Each column provides a specific error type to help debug where to look.
Stats Abbreviations
Each team stat sheet has this detail on the first tab of their document
Abbreviation | Full Name | Explanation |
---|---|---|
MIN | Appearance Minutes | The number of minutes that the player played. Go up to 120 minutes if extra time played. |
CLASS | Position Class | The position that the player played the majority of the game in. Can either be "GK", "DEF", "MID" or "FWD". Up to the captains to decide what position they feel their players played in. |
MOM | Man of the Match | The player who won man of the match. You are allowed more than 1 if required but we prefer 1. |
G | Goals | The number of goals scored by the player. Please don't include penalties in this as there is a separate stat for that. |
A | Assists | The number of assists that the player achieved. |
Y | Yellows | The number of yellow cards that a player can get. Can only be 1 or 0. If two yellows, please select 0 and add 1 red. Sin bins count as yellows. |
R | Reds | The number of red cards that a player can get. Can only be 1 or 0. |
SAVES | Saves | The number of clear big saves by the keeper. Please add for memorable big saves in the game. |
OG | Own Goals | The number of own goals scored by the player. |
PSC | Penalties Scored | The number of penalties scored by the player. |
PM | Penalties Missed | The number of penalties missed by the player. |
PCO | Penalties Conceded | The number of penalties conceded by the player. |
PSV | Penalties Saved | The number of penalties saved by the player. |
OPPO OG | Opposition Own Goals | For opposition own goals, please contact Luke Bangs or Oli Goddard to have them logged correctly. |
How the stats site works
The stats are created from several interconnected Google Sheet files, where captains enter data and then the data is collated up into a single readable file, before being read into a machine readable file.
The website then reads in this data every time it loads, which is why the loading is so slow and you can see it loading section by section, as it loads in different required data tables.
- The site is hosted on Netlify (https://app.netlify.com/sites/dorkinians-stats-site/overview) - a website hosting site
- The code is hosted on GitHub (https://github.com/bangsluke/Dorkinians-Dev-Site)
- The domain name "https://www.dorkiniansfcstats.co.uk/" is bought and owned for the next three years, expiring on 14/11/2026.
Debugging Stats Problems
The first place to start with debugging the errors is to review the Control Panel as this is designed to catch as many errors as possible. If this doesn't help, read the next steps below.
Common Problems
Common problems that I've encountered are;
- Captains accidentally adding columns to their stats sheet. Check other teams sheets to see if the layout and order of columns has changed. Delete any accidentally added columns
- Captains assigning one player in the team to the wrong match. If one player is assigned to the wrong match, its likely the match will show the wrong number of goals scored etc so check over their players and matches
- The opposition scored an OG so our stats flag an incorrect number of goals. To fix this, you can added that an opposition scored an OG on the
Fixtures List
on Dorkinians Stats 2016-25
Stat Errors
The below section explains what each error means. These errors will be displayed on each line of the Captain's documents.
Each team stat sheet has this detail on the first tab of their document
Error | Explanation |
---|---|
BLANK ERROR | A blank error means that one of the key bits of information for a player is missing (either name, date - match, APP or CLASS). Add the missing detail to clear the error. |
NAME ERROR | A name error means that the entered player name doesn't exist in the Dorkinians list of players. Try alternative names/spellings if you think this player should exist. If you think this is a new player, please contact your Stats Master to add the name. |
MOM ERROR | An MoM error means that the current match doesn't have a MoM assigned to it. We prefer to have one. If you definitely don't have one, you can overrule the flagged error on the Games Checker tab. |
GOALS ERROR | A goals error means that the number of goals listed as being scored by the Dorkinians team on the Games Checker tab doesn't align with the number of goals awarded on the stats. Check the number of goals are correct. If the Games Checker tab is an incorrect scoreline, contact your stats master. If one of the goals Dorkinians scored was an opposition own goal, record that on the Games Checker tab. |
DUPLICATE NAME ERROR | A duplicate name error means that you have the same player listed twice against a fixture. Check this. If there is definitely not a mistake, you can overrule the flagged error on the Games Checker tab. |
If after all, you're sure that the stats are right on a sheet, either for a line on one of the year tabs, or for a full match on the Games Checker
tab, you can change the Overrule Checker
to be "Mark As Ok". This will clear the errors but should be used as a last resort
Website Errors
If the website isn't loading for any reason, another check that can be done is to right click on the website (on a computer) and click "Inspect". Each browser has a "Debug Console" (or something named similar) that can viewed.
As the website loads, I log some statements such as "getPlayerStats" etc. which give some indication of what is happening on the site.
If there is an error, have a look at what the site was trying to do before it failed, as this may give some indication of what went wrong.
Adding a Player
To add a player to the Dorkinians database, do the following steps;
- Navigate to the
Players List
tab on the main stats sheet - Scroll to where to add the player (alphabetical is preferred for long term maintenance) and right click on the row numbers to add a row above or below the current row
- Add the players name
- Add a
TRUE
orFALSE
value for if they should be shown on the website (can say false to hide players who don't want to be shown) - Optionally you can add a team (historically I've added the first team the player played for)
- Add a Class
- You can ignore the remaining details - we no longer use them
Adding an Opposition Team
Sometimes one of our teams will play a new team that isn't listed on the sheet. To add a team, do the following;
- Navigate to the
Lookup
tab on the main stats sheet - In column H, add the new team name in alphabetical order
- Find out their playing field address and add to column J
- Use Google Maps to lookup the distance in miles from the opposition ground to Pixham Sports Ground - and use the lowest distance in miles by car x 2 for each way
This is how I calculate distance travelled for players
Useful Links
- Dorkinians Stats Site
- FA Full Time Fixtures
- FA Full Time Results
- GitHub Repository
- Netlify Deployment