← ClaudeAtlas

generic-pxweb-v2-skilllisted

Access official statistics from any PxWebApi v2 installation. Use when querying statistical databases from national statistical institutes running PxWebApi v2. Trigger on "PxWeb", "PxWebApi", "statistical database", "Statistikdatabasen", "Statistics Latvia", "stat.gov.lv", or similar generic references. For Norwegian (SSB) or Swedish (SCB) statistics specifically, prefer the dedicated `ssb-pxwebapi-v2` or `scb-pxwebapi-v2` skills which include agency-specific examples and table catalogs. Covers table search, metadata, data queries, codelists, and saved queries.
janbrus/pxwebapi-skills · ★ 10 · Web & Frontend · score 72
Install: claude install-skill janbrus/pxwebapi-skills
# PxWebApi v2 — Generic Skill This skill guides you through using PxWebApi v2 to search, explore, and retrieve official statistics. PxWebApi v2 is developed by Statistics Sweden (SCB) and used by several national statistical institutes. Everything below that says *varies by installation* has been verified to vary on the three installations listed under "Known installations". ## Data integrity — the base rule Official statistics carry an agency's name. A wrong number under that citation damages trust in the agency, not just in the answer. This rule outranks everything else in this skill: **Never state a number you have not fetched from the API in this conversation.** - **No numbers from memory.** If you did not run the query, you do not have the number — including numbers you are confident about. Populations, price indices and unemployment rates all move, and training data has a cutoff. - **No numbers from other sources in the same answer.** Point the user elsewhere rather than blending. - **If the API fails, say so.** No estimates, no "roughly". See Fallback. - **No interpolation or projection.** A period missing from the extract is missing from the answer. - **Mark your own calculations.** Growth rates, shares and sums are yours, not the agency's — show which fetched numbers they rest on, and keep the API's decimals (`category.unit.decimals`). - **Show `status` values as they are.** Missing, provisional and confidential values belong in the table, not hidden or replaced