Skip to content

Commit

Permalink
feat: Correct and document crimea.json (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmedia authored Dec 21, 2024
1 parent 2f1c39f commit 369b462
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 38 deletions.
53 changes: 53 additions & 0 deletions _data/datapackage_additions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,59 @@ path = "https://www.gapminder.org/free-material/"

[[resources]] # Path: crimea.json
path = "crimea.json"
description = """
This dataset, which informed Florence Nightingale's groundbreaking work in public health, details
monthly mortality rates from British military hospitals during the Crimean War (1854-1856).
Nightingale credits Dr. William Farr for compiling the data from the 1858 [Medical and Surgical
History of the British Army](http://resource.nlm.nih.gov/62510370R). The dataset categorizes
deaths into "zymotic" diseases (preventable infectious diseases), wounds/injuries, and other causes.
Covering the period from April 1854 to March 1856, the dataset includes monthly army strength
alongside mortality figures. Nightingale transformed this data into her now-famous [polar area
diagrams](https://iiif.lib.harvard.edu/manifests/view/drs:7420433$25i).
The annual mortality rates plotted in the chart can be calculated from the dataset using the formula
> (Deaths × 1000 × 12) ÷ Army Size.
As [The Lancet](https://pmc.ncbi.nlm.nih.gov/articles/PMC7252134/) argued in 2020, Nightingale's
innovative visualizations proved that "far more men died of disease, infection, and exposure
than in battle—a fact that shocked the British nation." Her work also vividly illustrated
the dramatic impact of sanitary reforms, particularly in reducing preventable deaths."""

[resources.schema]
[[resources.schema.fields]]
name = "date"
description = "First day of each month during the observation period, in ISO 8601 format (YYYY-MM-DD)"

[[resources.schema.fields]]
name = "wounds"
description = """
Deaths from "Wounds and Injuries" which comprised: Luxatio (dislocation), \
Sub-Luxatio (partial dislocation), Vulnus Sclopitorum (gunshot wounds), Vulnus Incisum (incised wounds), \
Contusio (bruising), Fractura (fractures), Ambustio (burns) and Concussio-Cerebri (brain concussion)
"""

[[resources.schema.fields]]
name = "other"
description = "Deaths from All Other Causes"

[[resources.schema.fields]]
name = "disease"
description = "Deaths from Zymotic Diseases (preventable infectious diseases)"

[[resources.schema.fields]]
name = "army_size"
description = "Estimated Average Monthly Strength of the Army"

[[resources.sources]]
title = """
Nightingale, Florence. A contribution to the sanitary history of the British army \
during the late war with Russia. London : John W. Parker and Son, 1859. Table II. \
Table showing the Estimated Average Monthly Strength of the Army; and the Deaths and \
Annual Rate of Mortality per 1,000 in each month, from April 1854, to March 1856 (inclusive), \
in the Hospitals of the Army in the East.
"""
path = "https://nrs.lib.harvard.edu/urn-3:hms.count:1177146?n=21"

[[resources]] # Path: disasters.csv
path = "disasters.csv"
Expand Down
50 changes: 25 additions & 25 deletions data/crimea.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[
{ "date": "1854-04-01", "wounds": 0, "other": 110, "disease": 110 },
{ "date": "1854-05-01", "wounds": 0, "other": 95, "disease": 105 },
{ "date": "1854-06-01", "wounds": 0, "other": 40, "disease": 95 },
{ "date": "1854-07-01", "wounds": 0, "other": 140, "disease": 520 },
{ "date": "1854-08-01", "wounds": 20, "other": 150, "disease": 800 },
{ "date": "1854-09-01", "wounds": 220, "other": 230, "disease": 740 },
{ "date": "1854-10-01", "wounds": 305, "other": 310, "disease": 600 },
{ "date": "1854-11-01", "wounds": 480, "other": 290, "disease": 820 },
{ "date": "1854-12-01", "wounds": 295, "other": 310, "disease": 1100 },
{ "date": "1855-01-01", "wounds": 230, "other": 460, "disease": 1440 },
{ "date": "1855-02-01", "wounds": 180, "other": 520, "disease": 1270 },
{ "date": "1855-03-01", "wounds": 155, "other": 350, "disease": 935 },
{ "date": "1855-04-01", "wounds": 195, "other": 195, "disease": 560 },
{ "date": "1855-05-01", "wounds": 180, "other": 155, "disease": 550 },
{ "date": "1855-06-01", "wounds": 330, "other": 130, "disease": 650 },
{ "date": "1855-07-01", "wounds": 260, "other": 130, "disease": 430 },
{ "date": "1855-08-01", "wounds": 290, "other": 110, "disease": 490 },
{ "date": "1855-09-01", "wounds": 355, "other": 100, "disease": 290 },
{ "date": "1855-10-01", "wounds": 135, "other": 95, "disease": 245 },
{ "date": "1855-11-01", "wounds": 100, "other": 140, "disease": 325 },
{ "date": "1855-12-01", "wounds": 40, "other": 120, "disease": 215 },
{ "date": "1856-01-01", "wounds": 0, "other": 160, "disease": 160 },
{ "date": "1856-02-01", "wounds": 0, "other": 100, "disease": 100 },
{ "date": "1856-03-01", "wounds": 0, "other": 125, "disease": 90 }
]
{ "date": "1854-04-01", "wounds": 0, "other": 5, "disease": 1, "army_size": 8571 },
{ "date": "1854-05-01", "wounds": 0, "other": 9, "disease": 12, "army_size": 23333 },
{ "date": "1854-06-01", "wounds": 0, "other": 6, "disease": 11, "army_size": 28333 },
{ "date": "1854-07-01", "wounds": 0, "other": 23, "disease": 359, "army_size": 28722 },
{ "date": "1854-08-01", "wounds": 1, "other": 30, "disease": 828, "army_size": 30246 },
{ "date": "1854-09-01", "wounds": 81, "other": 70, "disease": 788, "army_size": 30290 },
{ "date": "1854-10-01", "wounds": 132, "other": 128, "disease": 503, "army_size": 30643 },
{ "date": "1854-11-01", "wounds": 287, "other": 106, "disease": 844, "army_size": 29736 },
{ "date": "1854-12-01", "wounds": 114, "other": 131, "disease": 1725, "army_size": 32779 },
{ "date": "1855-01-01", "wounds": 83, "other": 324, "disease": 2761, "army_size": 32393 },
{ "date": "1855-02-01", "wounds": 42, "other": 361, "disease": 2120, "army_size": 30919 },
{ "date": "1855-03-01", "wounds": 32, "other": 172, "disease": 1205, "army_size": 30107 },
{ "date": "1855-04-01", "wounds": 48, "other": 57, "disease": 477, "army_size": 32252 },
{ "date": "1855-05-01", "wounds": 49, "other": 37, "disease": 508, "army_size": 35473 },
{ "date": "1855-06-01", "wounds": 209, "other": 31, "disease": 802, "army_size": 38863 },
{ "date": "1855-07-01", "wounds": 134, "other": 33, "disease": 382, "army_size": 42647 },
{ "date": "1855-08-01", "wounds": 164, "other": 25, "disease": 483, "army_size": 44614 },
{ "date": "1855-09-01", "wounds": 276, "other": 20, "disease": 189, "army_size": 47751 },
{ "date": "1855-10-01", "wounds": 53, "other": 18, "disease": 128, "army_size": 46852 },
{ "date": "1855-11-01", "wounds": 33, "other": 32, "disease": 178, "army_size": 37853 },
{ "date": "1855-12-01", "wounds": 18, "other": 28, "disease": 91, "army_size": 43217 },
{ "date": "1856-01-01", "wounds": 2, "other": 48, "disease": 42, "army_size": 44212 },
{ "date": "1856-02-01", "wounds": 0, "other": 19, "disease": 24, "army_size": 43485 },
{ "date": "1856-03-01", "wounds": 0, "other": 35, "disease": 15, "army_size": 46140 }
]
28 changes: 22 additions & 6 deletions datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"version": "2.11.0",
"created": "2024-12-21T15:55:19.477787+00:00",
"created": "2024-12-21T16:09:47.521815+00:00",
"resources": [
{
"name": "7zip.png",
Expand Down Expand Up @@ -816,12 +816,19 @@
{
"name": "crimea.json",
"type": "table",
"description": "This dataset, which informed Florence Nightingale's groundbreaking work in public health, details \nmonthly mortality rates from British military hospitals during the Crimean War (1854-1856). \n\nNightingale credits Dr. William Farr for compiling the data from the 1858 [Medical and Surgical \nHistory of the British Army](http://resource.nlm.nih.gov/62510370R). The dataset categorizes \ndeaths into \"zymotic\" diseases (preventable infectious diseases), wounds/injuries, and other causes. \nCovering the period from April 1854 to March 1856, the dataset includes monthly army strength \nalongside mortality figures. Nightingale transformed this data into her now-famous [polar area \ndiagrams](https://iiif.lib.harvard.edu/manifests/view/drs:7420433$25i). \n\nThe annual mortality rates plotted in the chart can be calculated from the dataset using the formula \n> (Deaths × 1000 × 12) ÷ Army Size. \n\nAs [The Lancet](https://pmc.ncbi.nlm.nih.gov/articles/PMC7252134/) argued in 2020, Nightingale's \ninnovative visualizations proved that \"far more men died of disease, infection, and exposure \nthan in battle—a fact that shocked the British nation.\" Her work also vividly illustrated \nthe dramatic impact of sanitary reforms, particularly in reducing preventable deaths.",
"sources": [
{
"title": "Nightingale, Florence. A contribution to the sanitary history of the British army during the late war with Russia. London : John W. Parker and Son, 1859. Table II. Table showing the Estimated Average Monthly Strength of the Army; and the Deaths and Annual Rate of Mortality per 1,000 in each month, from April 1854, to March 1856 (inclusive), in the Hospitals of the Army in the East.\n",
"path": "https://nrs.lib.harvard.edu/urn-3:hms.count:1177146?n=21"
}
],
"path": "crimea.json",
"scheme": "file",
"format": "json",
"mediatype": "text/json",
"encoding": "utf-8",
"bytes": 1737,
"bytes": 2183,
"dialect": {
"json": {
"keyed": true
Expand All @@ -831,19 +838,28 @@
"fields": [
{
"name": "date",
"type": "date"
"type": "date",
"description": "First day of each month during the observation period, in ISO 8601 format (YYYY-MM-DD)"
},
{
"name": "wounds",
"type": "integer"
"type": "integer",
"description": "Deaths from \"Wounds and Injuries\" which comprised: Luxatio (dislocation), Sub-Luxatio (partial dislocation), Vulnus Sclopitorum (gunshot wounds), Vulnus Incisum (incised wounds), Contusio (bruising), Fractura (fractures), Ambustio (burns) and Concussio-Cerebri (brain concussion)\n"
},
{
"name": "other",
"type": "integer"
"type": "integer",
"description": "Deaths from All Other Causes"
},
{
"name": "disease",
"type": "integer"
"type": "integer",
"description": "Deaths from Zymotic Diseases (preventable infectious diseases)"
},
{
"name": "army_size",
"type": "integer",
"description": "Estimated Average Monthly Strength of the Army"
}
]
}
Expand Down
37 changes: 30 additions & 7 deletions datapackage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vega-datasets
`2.11.0` | [GitHub](http://github.com/vega/vega-datasets.git) | 2024-12-21 15:55:19 [UTC]
`2.11.0` | [GitHub](http://github.com/vega/vega-datasets.git) | 2024-12-21 16:09:47 [UTC]

Common repository for example datasets used by Vega related projects.
BSD-3-Clause license applies only to package code and infrastructure. Users should verify their use of datasets
Expand Down Expand Up @@ -328,14 +328,37 @@ big picture" rather than support detailed numeric analysis.
## `crimea.json`
### path
crimea.json
### description
This dataset, which informed Florence Nightingale's groundbreaking work in public health, details
monthly mortality rates from British military hospitals during the Crimean War (1854-1856).

Nightingale credits Dr. William Farr for compiling the data from the 1858 [Medical and Surgical
History of the British Army](http://resource.nlm.nih.gov/62510370R). The dataset categorizes
deaths into "zymotic" diseases (preventable infectious diseases), wounds/injuries, and other causes.
Covering the period from April 1854 to March 1856, the dataset includes monthly army strength
alongside mortality figures. Nightingale transformed this data into her now-famous [polar area
diagrams](https://iiif.lib.harvard.edu/manifests/view/drs:7420433$25i).

The annual mortality rates plotted in the chart can be calculated from the dataset using the formula
> (Deaths × 1000 × 12) ÷ Army Size.
As [The Lancet](https://pmc.ncbi.nlm.nih.gov/articles/PMC7252134/) argued in 2020, Nightingale's
innovative visualizations proved that "far more men died of disease, infection, and exposure
than in battle—a fact that shocked the British nation." Her work also vividly illustrated
the dramatic impact of sanitary reforms, particularly in reducing preventable deaths.
### schema

| name | type |
|:--------|:--------|
| date | date |
| wounds | integer |
| other | integer |
| disease | integer |
| name | type | description |
|:----------|:--------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| date | date | First day of each month during the observation period, in ISO 8601 format (YYYY-MM-DD) |
| wounds | integer | Deaths from "Wounds and Injuries" which comprised: Luxatio (dislocation), Sub-Luxatio (partial dislocation), Vulnus Sclopitorum (gunshot wounds), Vulnus Incisum (incised wounds), Contusio (bruising), Fractura (fractures), Ambustio (burns) and Concussio-Cerebri (brain concussion) |
| other | integer | Deaths from All Other Causes |
| disease | integer | Deaths from Zymotic Diseases (preventable infectious diseases) |
| army_size | integer | Estimated Average Monthly Strength of the Army |
### sources
| title | path |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------|
| Nightingale, Florence. A contribution to the sanitary history of the British army during the late war with Russia. London : John W. Parker and Son, 1859. Table II. Table showing the Estimated Average Monthly Strength of the Army; and the Deaths and Annual Rate of Mortality per 1,000 in each month, from April 1854, to March 1856 (inclusive), in the Hospitals of the Army in the East. | https://nrs.lib.harvard.edu/urn-3:hms.count:1177146?n=21 |
## `disasters.csv`
### path
disasters.csv
Expand Down

0 comments on commit 369b462

Please sign in to comment.