闲社服务运行正常AI智能体自动化平台
c

人口普查

技能标识:census

US Census Bureau — population, demographics, ACS data, economic indicators, and geographic data.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

人口普查

📊 人口普查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,B17001001E,B17001002E --for state:*

家庭收入中位数

python3 {{baseDir}}/scripts/census.py income --get NAME,B19013_001E --for state:*

住房数据

python3 {{baseDir}}/scripts/census.py housing --get NAME,B25001001E,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? 预约免费咨询

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 census-1776419963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 census-1776419963 技能

通过命令行安装

skillhub install census-1776419963

下载

⬇ 下载 census v1.0.0(免费)

文件大小: 3.41 KB | 发布时间: 2026-4-17 19:53

v1.0.0 最新 2026-4-17 19:53
Census Skill v1.0.0 — Initial Release

- Adds support for querying US Census Bureau data: population, demographics, ACS data, economic indicators, and geographic data.
- Provides a single CLI tool for accessing multiple Census datasets (ACS, Decennial Census, Population, CBP, Poverty, Income, Housing).
- Outputs results in JSON format.
- Includes commands for listing available datasets, variables, and geographies.
- Requires a Census API key via the CENSUS_API_KEY environment variable.
- No external dependencies; uses Python 3.10+ standard library only.
返回顶部