Nightingale's Rose
Dataset for Florence Nightingale's famous polar area diagram.

Usage
var rose = require( '@stdlib/datasets/nightingales-rose' );
rose()
Returns dataset for Florence Nightingale's famous polar area diagram.
var data = rose();
/* returns
    [
        {
            'date': '1854-04-01T07:00:00.000Z',
            'army_size': 8571,
            'disease': 1,
            'wounds': 0,
            'other': 5
        },
        ...
    ]
*/
Examples
var rose = require( '@stdlib/datasets/nightingales-rose' );
var scalar;
var data;
var d;
var i;
data = rose();
// As done by Nightingale, calculate the average annual mortality per 1000 for each cause. See http://understandinguncertainty.org/node/214.
for ( i = 0; i < data.length; i++ ) {
    d = data[ i ];
    scalar = 1000.0 * 12.0 / d.army_size;
    d.disease *= scalar;
    d.wounds *= scalar;
    d.other *= scalar;
}
console.dir( data );
CLI
Usage
Usage: nightingales-rose [options]
Options:
  -h,    --help                Print this message.
  -V,    --version             Print the package version.
         --format fmt          Output format: 'csv' or 'ndjson'.
Notes
Examples
$ nightingales-rose
date,army_size,disease,wounds,other
1854-04-01T07:00:00.000Z,8571,1,0,5
1854-05-01T07:00:00.000Z,23333,12,0,9
1854-06-01T07:00:00.000Z,28333,11,0,6
...
References
- Nightingale, Florence. 1859. A contribution to the sanitary history of the British army during the late war with Russia. London, United Kingdom: John W. Parker and Son.
License
The data files (databases) are licensed under an Open Data Commons Public Domain Dedication & License 1.0 and their contents are licensed under a Creative Commons Zero v1.0 Universal. The software is licensed under Apache License, Version 2.0.