Download county rankings as CSV
Download county rankings as CSV
Error codes, retries, and value states are in Errors and retries.
Schemas: ProblemDetails.
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?StateLimit 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.
^(ALL|[A-Z]{2})$"ALL"q?QFilter 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.
length <= 100""evidence?EvidenceLimit 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.
"all""all""ecological""human""complete"smooth_k?Smooth KSmoothing 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.
5 <= value <= 20050missing_human_weakness?Missing Human WeaknessHuman 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.
540 <= value <= 9075low_incidence_breakpoint?|DeprecatedDeprecated. Do not send it. Any value returns 422. Use smooth_k to change how the human-case signal is smoothed.
CSV attachment. This operation ignores If-None-Match and always returns 200 with the full body.
response?stringtext/csvResponse Headers
Content-Type
Schema
stringMedia type of the body: `text/csv`.
Cache-Control
Schema
stringThe API sets no `Cache-Control` header, so do not assume a cache lifetime.
Content-Disposition
Schema
stringMarks the body as a download and suggests the file name.
X-Request-ID
Schema
stringIdentifier 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.
curl -X GET 'https://api.onehealthatlas.org/v1/atlas/ranking.csv'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