coalition.regions.management.commands.import_tiger_data

Attributes

DataSource

Classes

Command

Management command to import TIGER/Line shapefiles for legislative districts

Module Contents

coalition.regions.management.commands.import_tiger_data.DataSource = None[source]
class coalition.regions.management.commands.import_tiger_data.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Management command to import TIGER/Line shapefiles for legislative districts

Usage:

python manage.py import_tiger_data –type congressional –year 2024 –state MD python manage.py import_tiger_data –type state_senate –year 2024 –state MD python manage.py import_tiger_data –type state_house –year 2024 –state MD

help = 'Import TIGER/Line shapefiles for congressional and state legislative districts'[source]
TIGER_URLS[source]
CARTO_URLS[source]
add_arguments(parser: Any) None[source]

Entry point for subclassed commands to add custom arguments.

handle(**options: Any) None[source]

The actual logic of the command. Subclasses must implement this method.