Why do you need the imported code? But yes, maybe.
Are you the creator of that database?
EDIT: What do you use 3-symbol codes for?
EDIT2: Even though I made a converter, I decided to use a different database, that has separate files. The reason being is, I don't want to store ips in the database, and one csv file, even converted into an array, takes up megabyte or two. Which is too much to parse at once. The database I found isn't updated THAT often, but it has separate files, which is better in this case. Not too rare either, it has been updated in november