Areas

import_areas_from_istat

usage: manage.py import_areas_from_istat [-h] [--clear-cache]
                                         [--local-cache-path LOCAL_CACHE_PATH]
                                         [--local-out-path LOCAL_OUT_PATH]
                                         [--disable-notifications] [--version]
                                         [-v {0,1,2,3}] [--settings SETTINGS]
                                         [--pythonpath PYTHONPATH]
                                         [--traceback] [--no-color]
                                         [--force-color] [--skip-checks]

Import Areas from ISTAT list of italian comuni

optional arguments:
  -h, --help            show this help message and exit
  --clear-cache         Clear cache if found
  --local-cache-path LOCAL_CACHE_PATH
                        Where downloaded file should be stored for caching and
                        diffing
  --local-out-path LOCAL_OUT_PATH
                        Where produced file should be stored for successive
                        manual processing
  --disable-notifications
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.
  --skip-checks         Skip system checks.

Classes being used internally

class project.tasks.management.commands.import_areas_from_istat.Istat2PopoloTransformation[source]

Instance of ooetl.transformations.Transformation class that handles transforming areas data from ISTAT into Django-Popolo model

import_areas_variations_from_istat

usage: manage.py import_areas_variations_from_istat [-h] [--clear-cache]
                                                    [--local-cache-path LOCAL_CACHE_PATH]
                                                    [--local-out-path LOCAL_OUT_PATH]
                                                    [--disable-notifications]
                                                    [--version] [-v {0,1,2,3}]
                                                    [--settings SETTINGS]
                                                    [--pythonpath PYTHONPATH]
                                                    [--traceback] [--no-color]
                                                    [--force-color]
                                                    [--skip-checks]

Import Areas from ISTAT list of italian comuni

optional arguments:
  -h, --help            show this help message and exit
  --clear-cache         Clear cache if found
  --local-cache-path LOCAL_CACHE_PATH
                        Where downloaded file should be stored for caching and
                        diffing
  --local-out-path LOCAL_OUT_PATH
                        Where produced file should be stored for successive
                        manual processing
  --disable-notifications
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.
  --skip-checks         Skip system checks.

import_areas_geoms_from_istat

usage: manage.py import_areas_geoms_from_istat [-h] [--last-year LAST_YEAR]
                                               [--first-year FIRST_YEAR]
                                               [--shp-cache-path SHP_CACHE_PATH]
                                               [--context CONTEXT]
                                               [--overwrite]
                                               [--disable-notifications]
                                               [--version] [-v {0,1,2,3}]
                                               [--settings SETTINGS]
                                               [--pythonpath PYTHONPATH]
                                               [--traceback] [--no-color]
                                               [--force-color] [--skip-checks]

Import Areas geographic limits from ISTAT shp files

optional arguments:
  -h, --help            show this help message and exit
  --last-year LAST_YEAR
                        Last year published by ISTAT, format YYYY. Defaults to
                        current.
  --first-year FIRST_YEAR
                        First year published by ISTAT, format YYYY. Defaults
                        to 2001
  --shp-cache-path SHP_CACHE_PATH
                        Path were exploded shp files are kept.
  --context CONTEXT     Context to import. [com|prov|reg|rip]
  --overwrite           Whether to overwrite all geometries or only write
                        missing ones
  --disable-notifications
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.
  --skip-checks         Skip system checks.

import_areas_finloc_from_minint

usage: manage.py import_areas_finloc_from_minint [-h] [--clear-cache]
                                                 [--local-cache-path LOCAL_CACHE_PATH]
                                                 [--local-out-path LOCAL_OUT_PATH]
                                                 [--disable-notifications]
                                                 [--version] [-v {0,1,2,3}]
                                                 [--settings SETTINGS]
                                                 [--pythonpath PYTHONPATH]
                                                 [--traceback] [--no-color]
                                                 [--force-color]
                                                 [--skip-checks]

Import Areas FINLOC codes from minint

optional arguments:
  -h, --help            show this help message and exit
  --clear-cache         Clear cache if found
  --local-cache-path LOCAL_CACHE_PATH
                        Where downloaded file should be stored for caching and
                        diffing
  --local-out-path LOCAL_OUT_PATH
                        Where produced file should be stored for successive
                        manual processing
  --disable-notifications
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.
  --skip-checks         Skip system checks.

script_update_inhabitants_cache

usage: manage.py script_update_inhabitants_cache [-h] [--version]
                                                 [-v {0,1,2,3}]
                                                 [--settings SETTINGS]
                                                 [--pythonpath PYTHONPATH]
                                                 [--traceback] [--no-color]
                                                 [--force-color]
                                                 [--skip-checks]

Update inhabitants for province, metropolitan areas and regions,as sum of
lower entities inhabitants.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.
  --skip-checks         Skip system checks.