def filter_by_states(providers, states):
    """Filter providers by list of states to reduce the quantity of data we're processing."""
    return [provider for provider in providers if provider['state'] in states]