/flunet-scraper

This project scrapes the historic influenza data for all countries from the WHO FluNet.

Primary LanguagePython

FluNet-Scraper

This project scrapes the FluNet website for influenza data. The resulting data from all the countries is saved in data/global_influenza.csv.

Requirements

Requirements are contained within requirements.txt, and can be installed using pip install --requirement requrirements.txt. This project uses FireFox for the web driver, and requires the geckodriver to be in the path. This can be changed to other browsers/drivers if needed.

Usage

This script allows for an input file to be passed as an argument in case the execution failed at some point. If an input file is passed, the script will continue from the last country in the file.

python flunet-scraper.py -i <input file to resume scrping from> -o <output file>