flusight

flusight: interactive visualizations for infectious disease forecasts - Published in JOSS (2017)

https://github.com/reichlab/flusight

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

epidemiology forecasting influenza prediction statistics visualizer
Last synced: 6 months ago · JSON representation

Repository

Influenza forecasts visualizer

Basic Info
  • Host: GitHub
  • Owner: reichlab
  • License: mit
  • Language: JavaScript
  • Default Branch: master
  • Homepage: http://reichlab.io/flusight/
  • Size: 24.9 MB
Statistics
  • Stars: 41
  • Watchers: 6
  • Forks: 11
  • Open Issues: 29
  • Releases: 3
Topics
epidemiology forecasting influenza prediction statistics visualizer
Created over 9 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

icon


Flusight is a static influenza forecasts visualizer. It takes weekly prediction files in the format used by CDC FluSight Challenge, extracts entities needed for visualization and generates a minified webpage ready for static hosting. The visualizer uses an intermediate file, summarizing the predictions, which can be generated either by the set of scripts in the repository (which uses CDC's prediction format) or by the user. Visualizations are implemented using the d3-foresight npm package.

The live version associated with this github repository at http://reichlab.io/flusight/ displays predictions for CDC FluSight Challenge by Reich Lab at UMass Amherst. To know more about it, go to the about page in the wiki.

Standard - JavaScript Style Guide

DOI Build Status GitHub pull requests

screenshot

Quickstart

For submitting weekly predictions on this repository the recommended method is to create a pull request on the master branch. Fork this project and add your .csv files in ./data/ directory as described in the project’s workflow wiki. The pull requests will be automatically built and once merged to master, will be deployed to the website.

Build it yourself

Flusight works as a static webpage and needs a static hosting service (like github’s). Building the project and bundling data files requires node.js and yarn (or npm).

  • Clone this repository

git clone git@github.com:reichlab/flusight.git && cd ./flusight

  • Install dependencies

yarn

  • Put prediction submission files in ./data as described in the wiki

  • Parse prediction files to generate data files in ./src/assets/data/

yarn run parse

  • Test if the collected data files are fine

yarn run test

  • Bundle production build

yarn run build

  • Host it somewhere. Copy over contents from ./dist to your hosting service.

  • Alternatively, a quick deploy to github pages can be done by running

yarn run deploy

Remember to point git remote origin to the repository where you want the deployment to take place

In case you want to generate the data files yourself, you can replace the parsing and data collection step with your own but make sure to check for data compliance (yarn run test). Head over to the wiki to know more.

Development

On this repository, commits to master are automatically built and deployed to gh-pages with travis. master contains most recent working version. develop contains the latest commits.

``` shell

serve with hot reload at localhost:8080

yarn run dev

build for production with minification

yarn run build ```

Go to the development wiki for more details.

Contributing

Contributions are welcome. Use the github issue tracker to submit issues. Submit pull requests here.

Owner

  • Name: The Reich Lab at UMass-Amherst
  • Login: reichlab
  • Kind: organization
  • Location: Amherst, MA

JOSS Publication

flusight: interactive visualizations for infectious disease forecasts
Published
May 10, 2017
Volume 2, Issue 13, Page 231
Authors
Abhinav Tushar ORCID
University of Massachusetts-Amherst
Nicholas G. Reich ORCID
University of Massachusetts-Amherst
Editor
Arfon Smith ORCID
Tags
Data Visualization Forecasting Influenza

GitHub Events

Total
Last Year

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 784
  • Total Committers: 5
  • Avg Commits per committer: 156.8
  • Development Distribution Score (DDS): 0.048
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Abhinav Tushar a****s@g****m 746
Nicholas Reich n****k@s****u 32
EvanLRay E****y@g****m 4
Katie House k****3@g****m 1
Arfon Smith a****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 59
  • Total pull requests: 34
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 2 months
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.56
  • Average comments per pull request: 0.15
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lepisma (41)
  • nickreich (17)
  • sakrejda (1)
Pull Request Authors
  • dependabot[bot] (25)
  • nickreich (4)
  • lepisma (3)
  • arfon (1)
  • katiehouse3 (1)
Top Labels
Issue Labels
bug (1) enhancement (1)
Pull Request Labels
dependencies (25)

Dependencies

package.json npm
  • babel-core ^6.0.0 development
  • babel-eslint ^7.1.1 development
  • babel-loader ^6.0.0 development
  • babel-plugin-transform-runtime ^6.0.0 development
  • babel-preset-es2015 ^6.0.0 development
  • babel-preset-stage-2 ^6.0.0 development
  • babel-register ^6.0.0 development
  • chai ^3.5.0 development
  • chai-json-schema ^1.4.0 development
  • connect-history-api-fallback ^1.1.0 development
  • css-loader ^0.25.0 development
  • eslint-plugin-vue ^1.0.0 development
  • eventsource-polyfill ^0.9.6 development
  • express ^4.13.3 development
  • extract-text-webpack-plugin ^1.0.1 development
  • file-loader ^0.11.1 development
  • fs-extra ^5.0.0 development
  • function-bind ^1.0.2 development
  • gh-pages-deploy ^0.4.2 development
  • html-webpack-plugin ^2.8.1 development
  • http-proxy-middleware ^0.17.2 development
  • json-loader ^0.5.4 development
  • json-schema-generator ^2.0.3 development
  • mocha ^3.2.0 development
  • node-sass ^3.10.1 development
  • ora ^0.3.0 development
  • pug ^2.0.0-beta6 development
  • sass-loader ^4.0.2 development
  • shelljs ^0.7.4 development
  • standard ^8.6.0 development
  • url-loader ^0.5.7 development
  • vue-hot-reload-api ^1.2.0 development
  • vue-html-loader ^1.2.3 development
  • vue-loader ^8.3.0 development
  • vue-style-loader ^1.0.0 development
  • webpack ^1.13.2 development
  • webpack-dev-middleware ^1.8.3 development
  • webpack-hot-middleware ^2.12.2 development
  • webpack-merge ^0.14.1 development
  • yaml-loader ^0.4.0 development
  • babel-runtime ^6.0.0
  • bulma ^0.2.1
  • child-process-promise ^2.2.1
  • colormap ^2.2.0
  • d3 4.5.0
  • d3-foresight 0.10.1
  • datamaps ^0.5.8
  • flusight-csv-tools ^0.1.5
  • font-awesome ^4.6.3
  • js-cookie ^2.1.3
  • js-yaml ^3.6.1
  • moize ^4.0.4
  • nprogress ^0.2.0
  • papaparse ^4.1.2
  • progress ^1.1.8
  • tablesort ^5.0.1
  • textures ^1.0.4
  • tinycolor2 ^1.4.1
  • topojson ^1.6.27
  • vue ^1.0.21
  • vue-head ^2.0.10
  • vue-resource ^1.3.4
  • vuex ^2.1.1
  • walk ^2.3.9
yarn.lock npm
  • 1081 dependencies
zoltar/package-lock.json npm
  • ajv 5.5.2
  • asn1 0.2.3
  • assert-plus 1.0.0
  • asynckit 0.4.0
  • aws-sign2 0.7.0
  • aws4 1.6.0
  • bcrypt-pbkdf 1.0.1
  • boom 4.3.1
  • boom 5.2.0
  • build-url 1.0.10
  • caseless 0.12.0
  • co 4.6.0
  • combined-stream 1.0.6
  • core-util-is 1.0.2
  • cryptiles 3.1.2
  • dashdash 1.14.1
  • delayed-stream 1.0.0
  • ecc-jsbn 0.1.1
  • extend 3.0.1
  • extsprintf 1.3.0
  • fast-deep-equal 1.1.0
  • fast-json-stable-stringify 2.0.0
  • forever-agent 0.6.1
  • form-data 2.3.2
  • fs-extra 5.0.0
  • getpass 0.1.7
  • graceful-fs 4.1.11
  • har-schema 2.0.0
  • har-validator 5.0.3
  • hawk 6.0.2
  • hoek 4.2.1
  • http-signature 1.2.0
  • is-typedarray 1.0.0
  • isstream 0.1.2
  • jsbn 0.1.1
  • json-schema 0.2.3
  • json-schema-traverse 0.3.1
  • json-stringify-safe 5.0.1
  • jsonfile 4.0.0
  • jsprim 1.4.1
  • lodash 4.17.5
  • mime-db 1.33.0
  • mime-types 2.1.18
  • mmwr-week 1.3.1
  • moize 4.0.4
  • moment 2.21.0
  • oauth-sign 0.8.2
  • performance-now 2.1.0
  • punycode 1.4.1
  • qs 6.5.1
  • request 2.83.0
  • request-promise-core 1.1.1
  • request-promise-native 1.0.5
  • safe-buffer 5.1.1
  • sntp 2.1.0
  • sshpk 1.13.1
  • stealthy-require 1.1.1
  • stringstream 0.0.5
  • tough-cookie 2.3.4
  • tunnel-agent 0.6.0
  • tweetnacl 0.14.5
  • universalify 0.1.1
  • uuid 3.2.1
  • verror 1.10.0
zoltar/package.json npm
  • build-url ^1.0.10
  • fs-extra ^5.0.0
  • mmwr-week ^1.3.1
  • moment ^2.21.0
  • request ^2.83.0
  • request-promise-native ^1.0.5