Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/public-health-scotland/scotpho-life-expectancy-hb
This code produces the shiny app chart in the Deaths and life expectancy > Data > NHS Boards section of the ScotPHO website.
https://github.com/public-health-scotland/scotpho-life-expectancy-hb
Last synced: 5 days ago
JSON representation
This code produces the shiny app chart in the Deaths and life expectancy > Data > NHS Boards section of the ScotPHO website.
- Host: GitHub
- URL: https://github.com/public-health-scotland/scotpho-life-expectancy-hb
- Owner: Public-Health-Scotland
- Created: 2022-10-06T15:17:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T16:52:29.000Z (12 months ago)
- Last Synced: 2023-11-28T17:51:23.143Z (12 months ago)
- Language: R
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scotpho-life-expectancy-hb
This code produces the shiny app chart in the Deaths and life expectancy > Data > NHS Boards section of the ScotPHO website.
Data is sourced from:
• LE by NHS Board: https://statistics.gov.scot/resource?uri=http%3A%2F%2Fstatistics.gov.scot%2Fdata%2FLife-Expectancy
• HLE by NHS Board: https://statistics.gov.scot/resource?uri=http%3A%2F%2Fstatistics.gov.scot%2Fdata%2Fhealthy-life-expectancyTo update the shiny app:
1. Run extract_data.R to extract the data from the SG opendata platform.
2. Check the output saved here:
\\stats\ScotPHO\Website\Topics\Life expectancy\YYYYMM_update
3. Run the shiny app locally to check it has updated as expected
4. Deploy app