This interactive dashboard generates informative maps by marrying datasets - available from statistics.gov.scot - with their respective datazones.
Many of the datasets provided by:
- Accountant in Bankruptcy
- Care Inspectorate
- National Records of Scotland
- Public Health Scotland
- Registers of Scotland
- Revenue Scotland
- Scottish Fire and Rescue Service
- Scottish Government
- Scottish Natural Heritage
- Scottish Environmental Protection Agency
- Transport Scotland
- VisitScotland
which have been collated by: statistics.gov.scot contain features with an area code. The objective of Scotland Stats Maps is to display as much of this information as possible in one interactive dashboard.
The dashboard is a Shiny application written in R, using RStudio.
To view and use the app,
- clone this repository
- open RStudio
- open the local project file: scot_stats_dashboard.Rproj
The ui, server and global are located in the top directory. Navigate to one
while in RStudio and click Run App
located at the top right.
To use the ui, first select a dataset theme (e.g. Population), and then a
specific dataset (e.g. Population Estimates). The interface will react to these
inputs and generate the next possible Inputs. Select desired values and press
Update
to update the map as well as the basic bar plot on the adjacent tab. To
view the data behind the results: navigate to the data tab.
Guide to making contributions.
package | used_in | version |
---|---|---|
shiny | app | 1.6.0 |
shinydashboard | app | 0.7.1 |
readr | app | 1.4.0 |
dplyr | app | 1.0.2 |
stringr | app | 1.4.0 |
purrr | app | 0.3.4 |
sf | app | 1.0-8 |
leaflet | app | 2.0.4.1 |
ggplot2 | app | 3.3.2 |
assertthat | app | 0.2.1 |
rlist | app | 0.4.6.1 |
RColorBrewer | app | 1.1-2 |
janitor | both | 2.1.0 |
tidyverse | cleaning | 1.3.0 |