cowidev.grapher.db#

cowidev.grapher.db.__main__#

Updates to grapher database.

These are executed in grapherupdate.sh, by calling cowidev-grapher-db.

Some grapher updates are run separately, by means of run_grapher_db step in library step.

cowidev.grapher.db.__main__.main()[source]#

cowidev.grapher.db.base#

class cowidev.grapher.db.base.GrapherBaseUpdater(dataset_name: str, source_name: str, zero_day: str, input_csv_path: Optional[str] = None, slack_notifications: bool = False, namespace: str = 'owid', year_is_day: bool = True, unit: str = '', unit_short: Optional[str] = None)[source]#

Bases: object

property input_csv_path#
property project_dir#
run()[source]#
property time_str#