Skip to content

Commit

Permalink
feat: correct monarchs.json and add source information
Browse files Browse the repository at this point in the history
Resolves #595
  • Loading branch information
dsmedia committed Aug 19, 2024
1 parent f518903 commit d7ce89b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions SOURCES.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,26 @@ Selected rail lines simplified from `tfl_lines.json` at https://github.com/oobri

## `monarchs.json`

A chronological dataset of English and British monarchs from Elizabeth I (1558) through George IV (1830). Each entry includes:

- `name`: The ruler's name or identifier (e.g., "W&M" for William and Mary, "Cromwell" for the period of interregnum)
- `start`: The year their rule began
- `end`: The year their rule ended
- `index`: A [zero-based sequential number](https://en.wikipedia.org/wiki/Zero-based_numbering) assigned to each entry, representing the chronological order of rulers
- `commonwealth`: A Boolean flag (true) for the period from 1649 to 1660. This field is omitted for all other entries. The *commonwealth* field name is retained for backwards compatibility with existing visualizations, despite covering the broader period known as interregnum, including the Commonwealth of England (1649-1653), the Protectorate under Oliver and Richard Cromwell (1653-1659), and the brief period of instability leading to the Restoration in 1660.

The accuracy of this data can be verified against the [kings & queens](https://www.royal.uk/kings-and-queens-1066
) and [interregnum](https://www.royal.uk/interregnum-1649-1660
) [official website of the British royal family](https://www.royal.uk) pages of the official Web site of the British royal family (retrieved in Aug. 2024). Content on the site is protected by Crown Copyright. Under the [UK Government Licensing Framework](https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/), most Crown copyright information is available under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).

The entry "W&M" represents the joint reign of William III and Mary II. While the dataset shows their reign as 1689-1702, the official Web site of the British royal family indicates that Mary II's reign ended in 1694, though William III continued to rule until 1702.

The original dataset in this repository was revised in Aug. 2024 with the following corrections:

* Elizabeth I's reign now correctly starts in 1558 (previously 1565), and her name is updated to include the [regnal number](https://en.wikipedia.org/wiki/Regnal_number) "I"
* James II's reign now ends in 1688 (previously 1689)
* George IV's reign now ends in 1830 (previously 1820)

## `movies.json`

The dataset has well known and intentionally included errors. This dataset is used for instructional purposes, including the need to reckon with dirty data.
Expand Down
6 changes: 3 additions & 3 deletions data/monarchs.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[
{"name":"Elizabeth","start":1565,"end":1603,"index":0},
{"name":"Elizabeth I","start":1558,"end":1603,"index":0},
{"name":"James I","start":1603,"end":1625,"index":1},
{"name":"Charles I","start":1625,"end":1649,"index":2},
{"name":"Cromwell","start":1649,"end":1660,"commonwealth":true,"index":3},
{"name":"Charles II","start":1660,"end":1685,"index":4},
{"name":"James II","start":1685,"end":1689,"index":5},
{"name":"James II","start":1685,"end":1688,"index":5},
{"name":"W&M","start":1689,"end":1702,"index":6},
{"name":"Anne","start":1702,"end":1714,"index":7},
{"name":"George I","start":1714,"end":1727,"index":8},
{"name":"George II","start":1727,"end":1760,"index":9},
{"name":"George III","start":1760,"end":1820,"index":10},
{"name":"George IV","start":1820,"end":1820,"index":11}
{"name":"George IV","start":1820,"end":1830,"index":11}
]

0 comments on commit d7ce89b

Please sign in to comment.