Twinkle HubTwinkle Hub

美國人口普查 資料集搜尋 (ACS / decennial / PEP)

us_search_census_dataset

🇺🇸 미국읽기 전용

關鍵字 / Keywords: 美國人口普查 ACS 家戶調查 人口統計 十年普查 census demographic population household ACS decennial PEP geography FIPS Bureau vintage variable

Scope: US Census Bureau · api.census.gov dataset registry.

Search the 1,798-endpoint registry (ACS 1-year, ACS 5-year, decennial PL/DHC/SF1, PEP annual, economic censuses, etc.) by keyword + optional vintage + optional dataset-path filter.

Endpoint: https://api.census.gov/data.json (DCAT-shaped catalog)

Args: query: substring match on title + description + c_dataset path (case-insensitive). Empty string matches everything (with vintage / dataset filters still applied). vintage: exact vintage-year filter (e.g. 2022, "2020", 1999). dataset: substring match on the c_dataset path — common values: - "acs5" — ACS 5-year (block group down) - "acs1" — ACS 1-year (geos ≥65k population) - "dec" — decennial (2020 / 2010 / 2000 / 1990) - "pep" — Population Estimates Program (annual) - "ecn" — Economic Census - "cbp" — County Business Patterns - "nonemp" — Nonemployer Statistics limit: max rows returned (default 20, hard cap 200).

Returns dict with results — each row has identifier, title, description, vintage, dataset_path, base_url, variables_url, geography_url, examples_url. base_url feeds us_query_acs / us_query_decennial. License: US Public Domain (17 USC §105).

파라미터

이름타입설명
querystring
vintageinteger | string
datasetstring
limitinteger
원본 JSON schema
{
  "properties": {
    "query": {
      "default": "",
      "title": "Query",
      "type": "string"
    },
    "vintage": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Vintage"
    },
    "dataset": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Dataset"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "us_search_census_datasetArguments",
  "type": "object"
}

호출 방법

스타터 — 파라미터는 위 표 참조
us_search_census_dataset({ query: "…" })