<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Legal esse post!  A função ggmap:::geocode usa Google (default) ou
    Data Science Tolkit<br>
    <br>
    Elias<br>
    <br>
    <div class="moz-cite-prefix">On 23/06/16 13:28, Bruno César Pasquini
      via R-br wrote:<br>
    </div>
    <blockquote
cite="mid:CAKZqVpN-f57Ch9mQthtSGO2O-u9uaEzai5RJb8=dgR3rviF=ZA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div><b>PessoALL</b>,<br>
                      <br>
                    </div>
                    Bom dia!<br>
                    <br>
                  </div>
                  Se ajuda "ampliar" um pouco a discussão...<br>
                  <br>
                </div>
                O Google não é o único serviço de georeferenciamento
                disponível. É o mais famoso, mas limita a quantidade de
                queries (acho que atualmente em 2500 / dia).<br>
                <br>
              </div>
              <div>Dependendo do volume que vocês têm para consultar...<br>
              </div>
              <div><br>
              </div>
              Segue uma relação de outros <i>geocoders</i>, gratuitos
              também:<br>
              <br>
              <a moz-do-not-send="true"
href="http://www.programmableweb.com/news/7-free-geocoding-apis-google-bing-yahoo-and-mapquest/2012/06/21">http://www.programmableweb.com/news/7-free-geocoding-apis-google-bing-yahoo-and-mapquest/2012/06/21</a><br>
              <br>
            </div>
            Não conheço o pacote mencionado (mas parece que ele é
            específico do Google), mas talvez dê para compor as URLs, na
            mesma linha do que propôs o Elias na mensagem anterior.<br>
            <br>
          </div>
          Espero que ajude!<br>
          <br>
          Abraço a todos, tenham um ótimo dia.<br>
          <br>
        </div>
        Bruno Pasquini.<br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">Em 17 de junho de 2016
                        14:28, Elias Teixeira Krainski via R-br <span
                          dir="ltr"><<a moz-do-not-send="true"
                            href="mailto:r-br@listas.c3sl.ufpr.br"
                            target="_blank">r-br@listas.c3sl.ufpr.br</a>></span>
                        escreveu:<br>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> <br>
                            a API do google é útil para georeferenciar
                            endereços atuais, ou seja, se houve mundança
                            no nome do logradouro ao longo do tempo, não
                            sei como fazer. Alguém sabe?<br>
                            <br>
                            É recomendável fornecer endereço completo
                            para a função 'geocode' do pacote 'ggmap'. <br>
                            <br>
                            ### Exemplo: georeferenciamento de um
                            endereço<br>
                             
                            geocode('Av+silva+jardim,+3100+-+Curitiba+PR+Brasil')<br>
                            <br>
                            ## Vários endereços num 'data.frame', é
                            preciso collapsar os campos. <br>
                            ## Exemplo:<br>
                             dat <- data.frame(tipo = c('av', 'rua',
                            NA,'CEP'), <br>
                               nome = c('Silva Jardim', 'Alagoas',
                            'prefeitura', '80060-000'), <br>
                               num = c(3100, 100, NA, NA),<br>
                               mun = rep('Curitiba', 4))<br>
                            <br>
                            ### 'prepara' endereço<br>
                             end <- paste(dat$tipo, dat$nome,
                            dat$num, '-', dat$mun, 'Brasil', sep=',+')<br>
                             end <- gsub(' ', '+', end, fixed=TRUE)<br>
                             end <- gsub('NA,+', '', end, fixed=TRUE)<br>
                            <br>
                            ### obtem longitude,latitude coordenadas<br>
                             require(ggmap)<br>
                             result <- t(sapply(end, geocode))<br>
                            result<br>
                            <br>
                            ###  'incerteza' na localização. Exemplo
                            (cont.):<br>
                              result2 <- lapply(end, geocode,
                            output='more')<br>
                              sapply(result2, function(x) x$type)<br>
                              result2[[3]]<br>
                            <br>
                            <br>
                            Elias
                            <div>
                              <div class="h5"><br>
                                <br>
                                <div>On 16/06/16 23:51, Marcos Silva via
                                  R-br wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="h5">
                                  <p dir="ltr">De uma olhada no pacote
                                    ggmap.</p>
                                  <div class="gmail_quote">Em 16/06/2016
                                    16:25, "Wagner Tassinari via R-br"
                                    <<a moz-do-not-send="true"
                                      href="mailto:r-br@listas.c3sl.ufpr.br"
                                      target="_blank">r-br@listas.c3sl.ufpr.br</a>>

                                    escreveu:<br type="attribution">
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
                                      0.8ex;border-left:1px solid
                                      rgb(204,204,204);padding-left:1ex">
                                      <div dir="ltr">
                                        <div>Saudações pessoal,<br>
                                          <br>
                                          <br>
                                        </div>
                                        <div>Será que vocês saberiam me
                                          informar se existe algum
                                          script do R de
                                          georreferenciamento através do
                                          google maps ?<br>
                                          <br>
                                        </div>
                                        <div>Obrigado<br>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div
                                                data-smartmail="gmail_signature">
                                                <div dir="ltr">
                                                  <div>
                                                    <div dir="ltr">
                                                      <div>-----<br>
                                                        Wagner S.
                                                        Tassinari<br>
                                                        Departamento de
                                                        Matemática<br>
                                                        Universidade
                                                        Federal Rural do
                                                        Rio de Janeiro.<br>
                                                        BR-465, Km 7 -
                                                        Seropedica, RJ -
                                                        Brasil<br>
                                                        CEP: 23890-000 <br>
                                                        Cel: <a
                                                          moz-do-not-send="true"
href="tel:%2821%29%2096488-5982" value="+5521964885982" target="_blank">(21)
                                                          96488-5982</a>
                                                        (WhatsApp)<br>
                                                        Skype:
                                                        wagner.tassinari<br>
                                                        <a
                                                          moz-do-not-send="true"
href="mailto:wtassinari@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:wtassinari@gmail.com">wtassinari@gmail.com</a></a><br>
                                                        <span>----------------------------------------------------------------------</span><br>
                                                        <br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <br>
_______________________________________________<br>
                                      R-br mailing list<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:R-br@listas.c3sl.ufpr.br"
                                        target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
                                      <a moz-do-not-send="true"
                                        href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br"
                                        rel="noreferrer" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
                                      Leia o guia de postagem (<a
                                        moz-do-not-send="true"
                                        href="http://www.leg.ufpr.br/r-br-guia"
                                        rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a></a>)
                                      e forneça código mínimo
                                      reproduzível.<br>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre><div><div class="h5">_______________________________________________
R-br mailing list
<a moz-do-not-send="true" href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a>
<a moz-do-not-send="true" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a></div></div>
Leia o guia de postagem (<a moz-do-not-send="true" href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forne�a c�digo m�nimo reproduz�vel.</pre>
                            </blockquote>
                            <br>
                          </div>
                          <br>
_______________________________________________<br>
                          R-br mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
                          <a moz-do-not-send="true"
                            href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br"
                            rel="noreferrer" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
                          Leia o guia de postagem (<a
                            moz-do-not-send="true"
                            href="http://www.leg.ufpr.br/r-br-guia"
                            rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a></a>)
                          e forneça código mínimo reproduzível.<br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
R-br mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a>
<a class="moz-txt-link-freetext" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a>
Leia o guia de postagem (<a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forne�a c�digo m�nimo reproduz�vel.</pre>
    </blockquote>
    <br>
  </body>
</html>