One Health Atlas documentation
Atlas
View source

Download county rankings as CSV

Download county rankings as CSV

Error codes, retries, and value states are in Errors and retries.

Schemas: ProblemDetails.

GET
/v1/atlas/ranking.csv
OpenAPI schema

Filtered CSV attachment for current county rankings. Existing state, text and evidence filters and score settings apply; no pagination. This route does not declare a public cache TTL.

state?State

Limit rows to one state. Use a two-letter uppercase USPS state code, or ALL for every state. The default is ALL. Any other value returns 422.

Match^(ALL|[A-Z]{2})$
Default"ALL"
q?Q

Filter rows by text. Matching ignores case and keeps rows where the county name, state code, or county FIPS code contains the text. Use up to 100 characters; a longer value returns 422. The default is empty, which keeps every row.

Lengthlength <= 100
Default""
evidence?Evidence

Limit rows by available evidence. all keeps every county. ecological keeps counties with a tick or pathogen signal. human keeps counties with a published human case count. complete keeps counties whose evidence_completeness is 5 or more. The default is all. Any other value returns 422.

Default"all"
Value in"all""ecological""human""complete"
ecological_share?Ecological Share

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

Multiple Of5
Range40 <= value <= 85
Default65
smooth_k?Smooth K

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

Range5 <= value <= 200
Default50
missing_human_weakness?Missing Human Weakness

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

Multiple Of5
Range40 <= value <= 90
Default75
low_incidence_breakpoint?|Deprecated

Deprecated. Do not send it. Any value returns 422. Use smooth_k to change how the human-case signal is smoothed.

Response Body

CSV attachment. This operation ignores If-None-Match and always returns 200 with the full body.

response?stringtext/csv

Response Headers

  • Content-Type

    Schema string

    Media type of the body: `text/csv`.

  • Cache-Control

    Schema string

    The API sets no `Cache-Control` header, so do not assume a cache lifetime.

  • Content-Disposition

    Schema string

    Marks the body as a download and suggests the file name.

  • X-Request-ID

    Schema string

    Identifier for this request. Quote it when you ask for support. If you send a valid `X-Request-ID` request header, the API uses that value. Otherwise it generates one. A response that a shared cache replays can carry the identifier of the request that filled the cache.

Example Request
curl -X GET 'https://api.onehealthatlas.org/v1/atlas/ranking.csv'
Example ResponseSchema

Response headers: Content-Type: text/csv; charset=utf-8 and Content-Disposition: attachment; filename="lyme-gap-atlas-ranking-all.csv". The body lists every county; this sample shows the header row and two data rows.

"rank,fips,county,state,score,priority,human_status,tick_status,burgdorferi_status,evidence_completeness,scoring_methodology_version,smooth_k\n1,06037,Los Angeles County,CA,85.6,Priority 1 — Investigate,published_count_floor,Established,Present,100,surveillance-gap-score-v1.1,50\n2,18039,Elkhart County,IN,85.1,Priority 1 — Investigate,published_count_floor,Established,Present,100,surveillance-gap-score-v1.1,50\n"

Last updated on