tjbtjbtjb / CoCoA

CoCoA python package

Home Page:https://github.com/tjbtjbtjb/CoCoA#readme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAUTION : PROJECT RENAMED AND MOVED !

Please follow us now at


CoCoA Logo

CoCoA release 1.0

April/November 2020

The CoCoA project (Covid Collaborative Analysis) is a Python™ framework which provides a simplified and unified access to various Covid related databases. It's designed to offer to many people (non-specialist general public, school pupils, students, science journalists, but also scientists who are not specialists in computing and data access methods) a simple and practical tool for studying data : raw data access, time series plots, maps. Then, it's easy to make simple or more complex analysis. Database access difficulties, method unification, geo-localisation of data, are processed transparently.

Thus, in only few lines of code, with almost no Python™ knowledge, one can produce a plot or a map. For example, after a CoCoA install, the next few lines of code:

import cocoa.cocoa as cc

cc.plot(where=['France','Italy','United kingdom'],which='deaths',what='cumul')
cc.map(where=['world'])
cc.hist(where='middle africa',which='confirmed')
cc.get(where=['usa'],what='daily',which='recovered')

produce a temporal serie plot of Covid deaths for three countries (France, Italy, and United Kingdom as an example), or the deaths map over the world, or the histogram of confirmed cases in all countries from Middle Africa, or the pandas output of recovered people in the United States.

CoCoA is made to work :

  • locally (local install of Python™, for example with Spyder )
  • on Jupyter platform, either closed or opened such as Google Colab
  • through a docker, using for example mybinder.

Various applications code are available :

The full documentation is available on the Wiki.

The reference library is available using the help of function (see help_* notebook files) or on related pages :