Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP database global accuracy #35

Open
srilumpa opened this issue Sep 13, 2013 · 0 comments
Open

GeoIP database global accuracy #35

srilumpa opened this issue Sep 13, 2013 · 0 comments

Comments

@srilumpa
Copy link

Hi,

I've read on MaxMind's website that the accuracy of their database decrease at the rate of about 1.5% per month and I was wondering if their is a way to evaluate the overall accuracy of the database once the GeoIP object is created.

If the creation date of the .dat file is available, it could be interesting to access it and read it through th GeoIP model, or even having access to a method, say #accuracy, returning directly the evaluated accuracy:

def accuracy
  0.985**((Time.now - database_publication_date)/2592000).to_i
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant