Changes

Jump to navigation Jump to search
32 bytes added ,  13:03, 7 August 2018
--38498
I then found the remaining companies that needed to be geocoded. Only companies that have addresses listed are able to be accurately geocoded. If we attempt to geocode based on city, the location returned will simply be the center of the city. Thus, I chose the companies that we did not already have listings for and had a valid address.
DROP TABLE remaininggeo;
--5955
I copied this table into excel to concatenate the address, city, state, and zipcode columns into one column. This can and should be done in SQL, but I was not aware this could be done. I then ran remaininggeo through the Geocode script with columns coname, statecode, datefirstinv, and addressin the inputted file.
DROP TABLE remaining;
longitude numeric
);
\COPY remaining FROM 'RemainingLatLong.txt' WITH DELIMITER AS E'\t' HEADER NULL AS '' CSV
--5955
158

edits

Navigation menu