diff --git a/nssp/delphi_nssp/pull.py b/nssp/delphi_nssp/pull.py index d633eb6dd..de6934bc8 100644 --- a/nssp/delphi_nssp/pull.py +++ b/nssp/delphi_nssp/pull.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- """Functions for pulling NSSP ER data.""" -from typing import Optional import logging import textwrap +from typing import Optional import pandas as pd -from sodapy import Socrata from delphi_utils import create_backup_csv +from sodapy import Socrata from .constants import NEWLINE, SIGNALS, SIGNALS_MAP, TYPE_DICT diff --git a/nssp/delphi_nssp/run.py b/nssp/delphi_nssp/run.py index 41a458a5d..b512e8aba 100644 --- a/nssp/delphi_nssp/run.py +++ b/nssp/delphi_nssp/run.py @@ -85,12 +85,7 @@ def run_module(params): run_stats = [] ## build the base version of the signal at the most detailed geo level you can get. ## compute stuff here or farm out to another function or file - df_pull = pull_nssp_data( - socrata_token, - backup_dir, - custom_run=custom_run, - logger=logger - ) + df_pull = pull_nssp_data(socrata_token, backup_dir, custom_run=custom_run, logger=logger) ## aggregate geo_mapper = GeoMapper() for signal in SIGNALS: