Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Commonwealth War Graves Commission war dead

Fetches, parses and saves the list of war dead from the Commonwealth War Graves Commission.

Since some information was missing from the website CSV export function, some data was extracted from the Android app's database. This database was converted from SQLite to JSON using sqliteonline.com. Both the original SQLite database and the JSON conversion are included with this repository.

Good to know

  • The spelling for first and last names might differ from those of the Canadian Expeditionary Force data set. The presence and order of parts of the name is not guaranteed (James F, James Francis, James...).
  • "War dead" does not necessarily imply that the person died during the war, or from combat action. These records simply provide details about the war graves managed by the CWGC.
  • Primary keys are absent from this data set, as well as grave positions, associated documents and more. This information can be extracted from the database used in their Android app, or by scraping the website (not recommended).
  • The cemetary name from both tables can be used as a primary key. They are confirmed to be unique, and all graves have a valid cemetary name.
  • The Android app database contains all cemeteries, not only those containing graves from the First World War. However, some (179) cemeteries are missing
  • The Android app database has one invalid record (not a WW1 cemetery) and multiple cemeteries with names between double quotes

Source: http://cwgc.org/find-war-dead.aspx (criteria: First World War, Canadian Forces)

Source: http://www.cwgc.org/find-a-cemetery.aspx (criteria: First World War)

Source: https://play.google.com/store/apps/details?id=org.cwgc

The CWGC is an ASP.NET WebForms website that makes it nearly impossible to fetch the data with curl, so a copy of the data set is included in this repository.