Skip to content

Consolidate code to geocode a list #29

@eyeseast

Description

@eyeseast

I do this in three places:

  • In geocode_table, which I wrote first
  • In the CLI
  • In geocode_list, which I needed for the progress bar

This whole block is basically repeated: https://github.com/eyeseast/geocode-sqlite/blob/main/geocode_sqlite/utils.py#L50-L68. Part of the issue is that in the Python API, I'm using log.info and in the CLI I'm using click.echo. Maybe I can abstract that and pass in a print function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions