api - 世界银行 api 从指标中排除区域数据
问题描述
我正在尝试从世界银行 API 中检索每年所有国家的人口,但是世界银行 API 指标返回区域值(如响应中的北美人口)我如何排除这些区域并获取国家人口数据。
http://api.worldbank.org/v2/countries/all/indicators/SP.POP.TOTL?format=json&date=2020&per_page=300
{
"indicator": {
"id": "SP.POP.TOTL",
"value": "Population, total"
},
"country": {
"id": "XU",
"value": "North America"
},
"countryiso3code": "NAC",
"date": "2020",
"value": null,
"unit": "",
"obs_status": "",
"decimal": 0
},
解决方案
推荐阅读
- python - 需要在 25x25 网格中找到五个相邻数字的最大和
- python - 如何在这句话中添加一个整数?
- javascript - 参考其他模型在 Mongoose 中查找和更新不起作用
- python - Matplotlib,如何使用文本框和按钮小部件更新图形?
- javascript - 创建一个名为 priceLookup 的函数来查找单个项目的价格
- python - Elif 打印错误信息
- python - 带字符串参数的while函数
- javascript - 将过去和未来的日期添加到 Firestore/Firebase
- excel - 如何使用 VBA excel 打开电子邮件会议模板而不是电子邮件
- c - 警告 C4133 - 不兼容的类型