Hi to all,
Does geocode work for everyone? Please give me some advice. Thank you!
(1) The command "geocode" returns in "610" (over the limit) for all records every day from day 1.
(2) Then I tried the following:
foreach i of numlist 1/3 {
local a=address[`i']
copy "http://maps.googleapis.com/maps/api/geocode/json?address=`a'&sensor=true" "c:\temp\tmpgm`i'.txt", replace
}
but then stata errors with code "672" for "server refused to send file".
(3) Single command line, such as:
copy "http://maps.googleapis.com/maps/api/geocode/json?address=`60611'&sensor=false" "c:\temp\tmpgm.txt", replace
would save a ".txt" file, but with "ZERO_RESULTS"
Many thanks!
--
Sui Zhang
Feinberg School of Medicine
Northwestern University
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/