I have a large dataset of addresses (a couple of millions) as strings that needs to be mapped to countries.
I've looked into using geopy and nominatim locally but seems that downloading and loading the whole planet database of open street map is an overkill for this specially that I only need to do this once.
Is there a way to get a local subset of open street maps that would still be able to work with nominatim to get this task done ?