Skip to content

Additional "Fields" not returning School District data #16

@brianfullerusa

Description

@brianfullerusa

It appears that school district data is not being returned with geocodio-library-python as it is with pygeocodio.

Here is a sample script to show the issue:

Input:


client.geocode(
    "638 E 13th Ave, Denver, CO",
    fields=["school"]
)

Output:




results=[GeocodingResult(address_components=AddressComponents(number='638', predirectional='E', street='13th', suffix='Ave', postdirectional=None, formatted_street='E 13th Ave', city='Denver', county='Denver County', state='CO', zip='80203', postal_code=None, country='US'), formatted_address='638 E 13th Ave, Denver, CO 80203', location=Location(lat=39.736792, lng=-104.978914), accuracy=1, accuracy_type='rooftop', source='Denver (City of Denver Open Data Catalog CC BY 3.0)', 

fields=GeocodioFields(timezone=None, ...,

school_districts=None,

...))])

Expected Results

Running this with pygeocodio the results are:
'fields': {'school_districts': {'unified': {'name': 'Denver County School District 1', 'lea_code': '0803360', 'grade_low': 'PK', 'grade_high': '12'}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions