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-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.

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-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