Skip to content

dataquine/scotsport

Repository files navigation

ScotSport - sports facilities in Scotland

About app

Sportscotland - the national agency for sport in Scotland has recorded the locations of sports facilities in Scotland and made that data available as an open data dataset. This app uses the data to show how many, where and what types of facility are available. This data has been processed and combined with other geographical and population information. Users can see locations on a map or search a table of addresses. Some minor changes have been made to facilities information for presentation purposes and consistency. [1]

Important

Please note that some of these facilities may be located on school/hotel grounds or are run by private clubs. Not every facility listed will be easily accessible to the general public. Many will require payment or membership fees to use.

Accuracy of facilities information provided cannot be guaranteed so please do further research before planning a visit.

Facility types

Type Includes
Athletics Tracks velodromes, training areas, indoor and outdoor
Bowling Greens croquet, petanque and cricket squares
Fitness Suites
Golf Courses
Ice Rinks curling rinks
Pitches size, sport and type
Sports Halls gyms and other types
Squash Court
Swimming Pools diving and other types
Indoor Tennis Courts
Outdoor Tennis Courts

Data sources:

About author

Author: Lesley Duff AKA Data Quine. Scottish data analyst and developer. At time of initial publication, September 2024, I am seeking data-related employment in Glasgow or fully remote UK.

Contact:

Background

This started as a personal learning project for building my data cleaning/wrangling skills. Having previously worked in education I thought details of venues would be helpful for e.g. anyone working with young people or community groups looking for venues for different sports or health workers 'social prescribing' activity to others for health reasons helping folk find places nearby. A public-facing website would be a convenient way of accessing this data so that's why I chose Quarto to publish a website version. There are several thousand facilties records. For ease of use these can be browsed by geographical council areas/towns or accessed via searchable tables. This app uses R Shiny to provide interactivity.

Factoid

If you are Scottish and your first thought on seeing the word 'Scotsport' was to think of a man in chequered sports jacket...then you are older than you look 😊

Scotsport also used to be the name of a much-loved sports show on STV in Scotland mostly covering football. For many of its earlier years hosted by the late, great Arthur Montford.

His jacket was legendary.

Hear from Arthur himself and see the faimed jaiket in black and white on YouTube

Logo of this site is the Houndstooth pattern in Arthur's honour Logo of this site is the Houndstooth pattern in Arthur's honour.

Houndstooth By Kotivalo - Own work, CC BY-SA 3.0, Link

Technical

Installation

Clone the repository and run the Shiny app.

The main dashboard is in file index.qmd

See Running Documents for different ways of running the document.

Source code:

https://github.com/dataquine/scotsport

The code to the dashboard is released under an MIT license.

N.B. If you reuse the data make sure you abide by the terms of the Data sources listed above and display any required credit.

Source data

If you wish to download the original source data used by this project you can run the original cleaning scripts by running the following Quarto profile. This will try and download the source data to the data-raw folder.

quarto render --profile download

[1] Please note the author of this app has no connection with the Sportscotland organisation.