Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/public-health-scotland/scotpho-life-expectancy-scot

This code produces the shiny app chart in the Deaths and life expectancy > Data > Scotland section of the ScotPHO website.
https://github.com/public-health-scotland/scotpho-life-expectancy-scot

Last synced: 6 days ago
JSON representation

This code produces the shiny app chart in the Deaths and life expectancy > Data > Scotland section of the ScotPHO website.

Awesome Lists containing this project

README

        

# scotpho-life-expectancy-scot

This code produces the shiny app chart in the Deaths and life expectancy > Data > Scotland section of the ScotPHO website.

Data is sourced from:
• LE in Scotland: https://statistics.gov.scot/resource?uri=http%3A%2F%2Fstatistics.gov.scot%2Fdata%2FLife-Expectancy
• HLE in Scotland: https://statistics.gov.scot/resource?uri=http%3A%2F%2Fstatistics.gov.scot%2Fdata%2Fhealthy-life-expectancy

To 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