📊 Census API
US Census Bureau — population, demographics, ACS data, economic indicators, and geographic data.
Requirements
| Variable | Required | Description |
|---|
| INLINECODE0 | ✅ | Census API key (optional) |
Quick Start
CODEBLOCK0
Output Format
All commands output JSON by default.
Script Reference
| Script | Description |
|---|
| INLINECODE1 | Main CLI — all commands in one tool |
Credits
Built by
M. Abidi |
agxntsix.ai
YouTube |
GitHub
Part of the
AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation
📊 人口普查API
美国人口普查局 — 人口、人口统计、ACS数据、经济指标和地理数据。
要求
| 变量 | 必需 | 描述 |
|---|
| CENSUSAPIKEY | ✅ | 人口普查API密钥(可选) |
快速开始
bash
ACS 5年估算
python3 {{baseDir}}/scripts/census.py acs-5yr --get NAME,B01003_001E --for state:*
ACS 1年估算
python3 {{baseDir}}/scripts/census.py acs-1yr --get NAME,B01003_001E --for state:*
2020年十年一次人口普查
python3 {{baseDir}}/scripts/census.py decennial --get NAME,P1_001N --for state:*
人口估算
python3 {{baseDir}}/scripts/census.py population --get NAME,POP_2022 --for state:*
县商业模式
python3 {{baseDir}}/scripts/census.py cbp --get NAME,ESTAB,EMP --for state:* --naics 72
贫困数据
python3 {{baseDir}}/scripts/census.py poverty --get NAME,B17001
001E,B17001002E --for state:*
家庭收入中位数
python3 {{baseDir}}/scripts/census.py income --get NAME,B19013_001E --for state:*
住房数据
python3 {{baseDir}}/scripts/census.py housing --get NAME,B25001
001E,B25002002E,B25002_003E --for state:*
列出可用数据集
python3 {{baseDir}}/scripts/census.py list-datasets --year 2022
列出ACS变量
python3 {{baseDir}}/scripts/census.py list-variables
列出可用地理区域
python3 {{baseDir}}/scripts/census.py list-geographies
输出格式
默认情况下,所有命令输出JSON格式。
脚本参考
| 脚本 | 描述 |
|---|
| {baseDir}/scripts/census.py | 主CLI — 所有命令集成在一个工具中 |
致谢
由
M. Abidi 构建 |
agxntsix.ai
YouTube |
GitHub
属于面向OpenClaw代理的
AgxntSix技能套件 的一部分。
📅 需要帮助为您的业务设置OpenClaw? 预约免费咨询