{"id":20980786,"url":"https://github.com/spwareing/f1_statistics","last_synced_at":"2026-04-13T07:35:43.486Z","repository":{"id":204323887,"uuid":"428972014","full_name":"SPWareing/F1_statistics","owner":"SPWareing","description":"Azure Data Studio notebook of F1 Statistics using the Erdgast API","archived":false,"fork":false,"pushed_at":"2021-11-27T15:24:54.000Z","size":6132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T06:35:23.934Z","etag":null,"topics":["azure","azuresql","azuresqldb","data-studio","formula1","sql","t-sql"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SPWareing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-11-17T08:53:10.000Z","updated_at":"2022-01-28T15:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"84eaecc6-defe-46ba-98f4-8d05ca2c5dc5","html_url":"https://github.com/SPWareing/F1_statistics","commit_stats":null,"previous_names":["spwareing/f1_statistics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SPWareing%2FF1_statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SPWareing%2FF1_statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SPWareing%2FF1_statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SPWareing%2FF1_statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SPWareing","download_url":"https://codeload.github.com/SPWareing/F1_statistics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382934,"owners_count":20282051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azuresql","azuresqldb","data-studio","formula1","sql","t-sql"],"created_at":"2024-11-19T05:30:07.186Z","updated_at":"2025-12-29T07:35:51.829Z","avatar_url":"https://github.com/SPWareing.png","language":"Jupyter Notebook","readme":"# \u003cp align='center'\u003e \u003cspan style ='color:steelblue'\u003eF1 Statistics \u003c/span\u003e\u003c/p\u003e\n\nAs an alternative to generating statistics using Python and Pandas, this notebook is driven by\nSQL queries using the [Erdgast API](http://ergast.com/mrd/) and [Azure Data Studio](https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15). As such the notebook needs to be viewed in Azure Data Studio as only raw code will be visible on GitHub.\n\nFor a quick view there is my article on [LinkedIn](https://www.linkedin.com/pulse/asking-different-questions-f1-stewart-wareing/)\n\nThis database has been built using [![Azure](https://badgen.net/badge/icon/azure?icon=azure\u0026label)](https://azure.microsoft.com/) cloud services. It is an Azure SQL Database and forms part of my study for the DP 300 Exam. All queries are written in \u003cspan style='color:red'\u003eT-SQL\u003c/span\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg  src=\"https://github.com/SPWareing/F1_statistics/blob/main/images/abed-ismail-yasMarina-unsplash_small.jpg\" width = 1000\u003e\n\u003c/p\u003e\n\nPhoto by [Abed Ismail](https://unsplash.com/@abedismail?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/formula-1?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText)\n\n---\n\n## \u003cp align='center'\u003e\u003cspan style ='color:steelblue'\u003eStatistics List\u003c/span\u003e\u003cp\u003e\n\n\u003cp align = 'center'\u003e 1. Who is the most sucessful driver in a season? \u003c/p\u003e\n\u003cp align = 'center'\u003e 2. What about the most successful constructor \u003c/p\u003e\n\u003cp align = 'center'\u003e 3. Championships thrown away on the final race \u003c/p\u003e\n\u003cp align = 'center'\u003e 4. Winning from the back \u003c/p\u003e\n\u003cp align = 'center'\u003e 5. Percentage Likelihood of Winning By Qualifying Position \u003c/p\u003e\n\u003cp align = 'center'\u003e 6. The effect of the undercut \u003c/p\u003e\n\u003cp align = 'center'\u003e 7. It's all about consistency \u003c/p\u003e\n\u003cp align = 'center'\u003e 8. The lack of consistency \u003c/p\u003e\n\u003cp align = 'center'\u003e 9. Championships by Country; including most chamionships by a driver \u003c/p\u003e\n\n---\n\n## Example SQL Code:\n~~~\nSELECT grid as [Grid Position],\n\tROUND(CAST(count(*) AS FLOAT)/ (SELECT count(*) from form.results WHERE position = 1)*100,2) AS [Percentage Chance]\nFROM form.results\nWHERE position = 1\nGROUP BY grid\nORDER by grid ASC;\n~~~\n---\n## **TO DO LIST** \n\n- [X] Add SQL Scripts Folder\n- [ ] Python Notebook\n\n---\n![Your Repository's Stats](https://github-readme-stats.vercel.app/api/top-langs/?username=SPWareing\u0026theme=blue-green)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspwareing%2Ff1_statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspwareing%2Ff1_statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspwareing%2Ff1_statistics/lists"}