Skip to main content

Routinely collecting heterogeneous surveillance data into a coherent database

Project description

PANDEM - Source

Manage heterogeneous data sources for pandem 2 project.

Description

Identify, map and integrate multiple pandemic related data into a coherent pandemic-management database. Developed within the H2020 project PANDEM-2, Pandem-Source allows users to systematically capture, standardize and analyze data coming from international and national surveillance databases, participatory surveillance projects, social networks and mass media. This tool is focused on flexibility so adding new sources or variables can be easily done as is required during a pandemic episode.

Approach

Data integration follow a semantic approach. Data sources just need to be described using a Data Labelling Schema (DLS) file that specifies the acquisition chennel (URL, git, local file or script) the format and how to map the input data to Pandem-Source variables.

The DLS ensures each source and variable is properly documented knwing its origin, meaning and data quality.

Supported sources

Pandem-Source is designed to be flexible and extensible so new sources can be easily added by end users. In order to demontstrate this principle. The following sources are supported Out of the Box

User Interface - timeseries explorer

Time series

User Interface - Integration dashboard

Integration dashboard

Requirements

  • Python 3.7 or higher
  • R 3.6.3 or higher
  • Docker (optional for supporting machine learning article classification)

Installation

pip install pandem-source

Running Pandem-Source

  • Set the PANDEM_HOME variable to a local foder
export PANDEM_HOME=your data folder here 
  • Load default sources
python -m pandemsource reset --restore-factory-defaults
  • Running monitoring and dashboard
#If you do not have docker or NLP models you have to run pandem WITHOUT NLP without Twitter and without MediSys
python -m pandemsource start -d --no-nlp  
#If you have docker and NLP models the you can run without limitations
python -m pandemsource start -d 

Troubleshooting

If the command python -m pandemsource start -d --no-nlp does not work. Please make sure you've installed R 3.6.3 or higher. If R is properly installed, please make sure you've also installed required dependencies with:

(In your terminal)

sudo apt install libxml2-dev libsodium-dev libssl-dev libcurl4-openssl-dev

(In the R interpreter)

install.packages(c("epitweetr", "dplyr", "shiny", "plotly", "DT", "jsonlite", "httr"))

PANDEM 2

PANDEM-2 is a H2020 EU-funded project that aims to develop new solutions for efficient, EU-wide pandemic management. The goal of PANDEM-2 is to prepare Europe for future pandemics through innovations in training and to build capacity between EU member states responding to pandemics on a cross-border basis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandem-source-1.0.5.tar.gz (288.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandem_source-1.0.5-py3-none-any.whl (340.1 kB view details)

Uploaded Python 3

File details

Details for the file pandem-source-1.0.5.tar.gz.

File metadata

  • Download URL: pandem-source-1.0.5.tar.gz
  • Upload date:
  • Size: 288.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for pandem-source-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5fa11bf854491c1ad1532aaeddddf215ea508347ae0ed648f8138aa760b957e4
MD5 c42140db68b8b99a51a548fea44f4204
BLAKE2b-256 fc929e984f3f5cf22771695a07b73c8f0916a25143c2308f62aa5340f7a2465d

See more details on using hashes here.

File details

Details for the file pandem_source-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: pandem_source-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 340.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for pandem_source-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3780ecee94f51cc83e2dba9a2c03bfb1c6a80266c04fb27e9f22febace961af
MD5 67ca798b35a2ff2317a4aa50e1a73e50
BLAKE2b-256 ef96b836d7b228ba7b3059ceae92329dd192763bd87d9d6987b82449eb72a87a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page