get_counties_uris ================= .. py:module:: get_counties_uris Functions --------- .. autoapisummary:: get_counties_uris.get_counties_in_batches get_counties_uris.main Module Contents --------------- .. py:function:: get_counties_in_batches(username: str) -> list returns a list of all counties in US from the geonames platform, uncluding a unique uri. :param username: valid username for the geonames api :type username: str :returns: list of counties in US with the associated metadata :rtype: list .. py:function:: main() returns a csv with the uri of each county in USA. It assumes that you've a valid username to use the geonames api and that the value is stored as an environment variable as GEONAMES_USERNAME