Skip to content

[BUG] NYT Source Coordinates are NULL #303

@Sajantoor

Description

@Sajantoor

For the NYT source the coordinates are NULL for all data objects.
(https://coronavirus-tracker-api.herokuapp.com/v2/locations?source=nyt&country_code=US&province=Washington&county=Snohomish)

λ http GET https://coronavirus-tracker-api.herokuapp.com/v2/locations source==nyt country_code==US province=="Washington" county=="Snohomish" -v
GET /v2/locations?source=nyt&country_code=US&province=Washington&county=Snohomish HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: coronavirus-tracker-api.herokuapp.com
User-Agent: HTTPie/2.0.0



HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 339
Content-Type: application/json
Date: Sun, 26 Apr 2020 00:25:45 GMT
Server: uvicorn
Via: 1.1 vegur
{
    "latest": {
        "confirmed": 2267,
        "deaths": 102,
        "recovered": 0
    },
    "locations": [
        {
            "coordinates": {
                "latitude": null,
                "longitude": null
            },
            "country": "US",
            "country_code": "US",
            "country_population": 327167434,
            "county": "Snohomish",
            "id": 0,
            "last_updated": "2020-04-25T23:56:30.904937Z",
            "latest": {
                "confirmed": 2267,
                "deaths": 102,
                "recovered": 0
            },
            "province": "Washington"
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededsource: nytNew York Times

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions