Parses the all-cancers-combined-acim.xsls
data file into usable data broken down by year.
This library will form part of a larger system to analyse this data and is a work in progress.
- https://www.aihw.gov.au/reports/cancer/cancer-data-in-australia/data
- https://www.ngdc.noaa.gov/stp/space-weather/solar-data/solar-features/solar-flares/index/comprehensive-flare-index/documentation/miscellaneous/
- https://www.researchgate.net/publication/226250481_North-South_asymmetry_in_the_solar_flare_index
First download the data file and put them in the folder data/
all-cancers-combined-acim.xsls
from www.aihw.gov.au/reports/cancer/cancer-data-in-australia/data.cfi_daily_1966-2008.xlsx
from www.ngdc.noaa.gov/stp/space-weather/solar-data/solar-features/solar-flares/index/comprehensive-flare-index/documentation/miscellaneous
See index.js
for example of use.
const { parseCancerData, parseSolarFlareData } = require('./src')
parseCancerData('./data/all-cancers-combined-acim.xlsx')
.then(({ incidents, populations }) => {
console.log('Incidents', incidents)
console.log('Populations', populations)
})
.catch(err => {
console.error(err)
})
parseSolarFlareData('./data/cfi_daily_1966-2008.xlsx')
.then(({ flares }) => {
console.log('Flares', flares)
})
.catch(err => {
console.error(err)
})
branch | status | coverage | notes |
---|---|---|---|
develop |
Work in progress | ||
master |
Latest stable release |
- NodeJS, version 12.13.0 (LTS) or better (I use
nvm
to manage Node versions —brew install nvm
.)
npm test
— runs the unit testsnpm run test:unit:cov
— runs the unit tests with code coveragenpm run test:mutants
— runs the mutation tests
npm run lint
Please see the contributing notes.