Ironholds / rgeolocate

Generalised IP geolocation through R
https://cran.r-project.org/web/packages/rgeolocate/index.html
Other
66 stars 22 forks source link

does not work with ASN database from maxmind? #50

Closed randomgambit closed 6 years ago

randomgambit commented 6 years ago

Hello and thanks for this much needed R package!

It seems that rgeolocate cannot work with the ASN database shipped (freely) by maxmind. I am getting

Some field names you have provided are not supported and no data will be retrieved for them. The unsupported fields are: autonomous_system_organization

Is that the case? Thanks!

Ironholds commented 6 years ago

It should work fine; if you look at the docs for the maxmind function (?maxmind) you'll see that it expects 'asn' as a field name, rather than 'autonomous_system_organization'. Try that and let me know if it still objects?

Thanks!

randomgambit commented 6 years ago

thank you!