Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


ParametersExample 1Example 2



census_geocode('my_addresses.txt','\t','n',0,[2,3,4,5])census_geocode('C:\data\addresses.csv', ',', 'y',0,[3])
(str,str,str,int,list[int]) -> filesFile is: stored in same directory as the script, is tab-delimited, has no header, start reading at the beginning, address, city, state, and ZIP are stored in columns 2 through 5.File is: stored in an absolute location, is comma-delimited, has a header, start reading at the beginning, un-parsed address is stored in the 3rd column.


Also available on github

May 20152016geocode_census_funct.zipPython 3.x script with documentation for batch geocoding text files of US addresses