Updated

Update Script Maintenance Report

This dataset was scraped from London data website. Life expectancy at birth and age 65 by sex. Data for 2000-2002 to 2008-2010 revised on 24 July 2013. Local authorities based on boundaries as of 2010...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/london-life-expectancy/
https://datahub.io/core/london-life-expectancy/_r/-/README.md
https://datahub.io/core/london-life-expectancy/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/london-life-expectancy/_r/-/data/female-life-expectancy.csv
https://datahub.io/core/london-life-expectancy/_r/-/data/life-expectancy-at-65.csv
https://datahub.io/core/london-life-expectancy/_r/-/data/male-life-expectancy.csv
https://datahub.io/core/london-life-expectancy/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/london-life-expectancy/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/london-life-expectancy/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

male-life-expectancy

Loading data...

Schema

nametypeformat
New codestringdefault
Area codeanydefault
Local Authoritystringdefault
Yearanydefault
Valueanydefault

female-life-expectancy

Loading data...

Schema

nametypeformat
New codestringdefault
Area codeanydefault
Local Authoritystringdefault
Yearanydefault
Valueanydefault

life-expectancy-at-65

Loading data...

Schema

nametypeformatdecimalChargroupChar
Area code stringdefault
Local Authority stringdefault
2000-2002 numberdefault.
2001-2003 numberdefault.
2002-2004 numberdefault.
2003-2005 numberdefault.
2004-2006 numberdefault.
2005-2007 numberdefault.
2006-2008 numberdefault.
2007-2009 numberdefault.
2008-2010 numberdefault.
2009-2011 numberdefault.
2010-2012 numberdefault.
2011-2013 numberdefault.
2012-2014 numberdefault.
2013-2015 numberdefault.
2014-2016 numberdefault.
2015-2017 numberdefault.
2016-2018 numberdefault.

Data Files

FileDescriptionSizeLast modifiedDownload
male-life-expectancy
56.9 kBabout 2 months ago
male-life-expectancy
female-life-expectancy
56.9 kBabout 2 months ago
female-life-expectancy
life-expectancy-at-65
13.4 kBabout 2 months ago
life-expectancy-at-65
FilesSizeFormatCreatedUpdatedLicenseSource
3127 kBcsvabout 2 months agoUK Open Government Licence

Update Script Maintenance Report

Date: 2026-03-04

  • Re-ran scripts/london-life-expectancy.py and verified the existing pipeline still executes against the London Datastore XLS endpoint.
  • Added first GitHub Actions automation workflow at .github/workflows/actions.yml with:
    • monthly schedule,
    • manual workflow_dispatch,
    • contents: write permissions,
    • commit-if-changed behavior for data/ and datapackage.json.
  • The current script source remains limited to 2016-2018 content from the legacy London Datastore file.
  • Freshness beyond 2016-2018 requires migration to newer ONS successor datasets (latest coverage: 2022-2024), which use a different publication path than the legacy URL in the script.