我试图在R
中使用ggmaps
库中的geocode
函数来获取特定位置的坐标。到目前为止,我能够很好地使用该函数。
我遇到的问题是,我想将我的每日限制从2,500
增加到100,000
。谷歌官方文档表示,如果您在项目上启用计费,这是完全可能的,而我也很乐意这样做。当您继续进行此过程时,Google Developers Console
将为您提供个性化的API密钥。
然而,geocode
函数没有选项可以输入此个性化的API密钥。相反,它要求输入client
(业务用户的客户端ID)和signature
(业务用户的签名),这是Google Maps API for Work客户可以访问API的方式。我知道这也是一个选项,但是这似乎是非常特殊的情况,因为Google Maps API for Work似乎是专为大型企业账户设计的:
根据年度购买合同,每日限额开始为每24小时的100,000个请求。
因此,我的问题归结为:我能否使用R
中的ggmaps
库中的geocode
函数来访问Google Maps Geocoding API?
geocode
完全无法使用,没有API密钥:Keyless access to Google Maps Platform is deprecated. Please use an API key with all your API calls to avoid service interruption. For further details please refer to http://g.co/dev/maps-no-account
。 - Arthur