Skip to content

About

中国统计数据查询命令行工具。

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

中国统计数据 CLI

中国统计数据查询命令行工具。

安装

pip install requests

使用方法

# 搜索数据目录
python chinastats-cli.py <关键词>

# 搜索并获取数据(表格形式)
python chinastats-cli.py <关键词> --get
python chinastats-cli.py <关键词> -g

# 输出 CSV 格式
python chinastats-cli.py <关键词> --csv
python chinastats-cli.py <关键词> -c

示例

# 查询国内生产总值
python chinastats-cli.py 国内生产总值 -g

示例

# 查询人口数据
python chinastats-cli.py 总人口 -g

示例

数据来源

国家统计局 (data.stats.gov.cn)

About

中国统计数据查询命令行工具。

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages