Re: [R-sig-Geo] How to objectively subset cities by population

2017-07-27 Thread Thiago V. dos Santos via R-sig-Geo
Dear Dr. Gräler, Thanks for your contribution. I very much enjoyed the clustering suggestion, and it seems to be available in R's leaflet through the "markerClusterOptions" command. It could solve my problem, so I will take a closer look at that. Regarding your first suggestion, can you point me

Re: [R-sig-Geo] How to objectively subset cities by population

2017-07-27 Thread Thiago V. dos Santos via R-sig-Geo
y, July 27, 2017, 7:29:44 AM CDT, Kent Johnson <kent3...@gmail.com> wrote: Date: Thu, 27 Jul 2017 04:09:53 + (UTC) From: "Thiago V. dos Santos" <thi_vel...@yahoo.com.br> To: R-sig-geo Mailing List <r-sig-geo@r-project.org> Subject: [R-sig-Geo] How to objectively

Re: [R-sig-Geo] How to objectively subset cities by population

2017-07-27 Thread Kent Johnson
> > Date: Thu, 27 Jul 2017 04:09:53 + (UTC) > From: "Thiago V. dos Santos" <thi_vel...@yahoo.com.br> > To: R-sig-geo Mailing List <r-sig-geo@r-project.org> > Subject: [R-sig-Geo] How to objectively subset cities by population > Message-ID: <163

Re: [R-sig-Geo] How to objectively subset cities by population

2017-07-27 Thread Dr . Benedikt Gräler
Dear Thiago, if you want them spatially evenly distributed, you could overlay a grid and select the largest per grid box - or maybe more intuitive, select the largest per predefined administrative areas (counties/postal codes/...). This could also change based on zoom-level. An alternative

[R-sig-Geo] How to objectively subset cities by population

2017-07-26 Thread Thiago V. dos Santos via R-sig-Geo
Dear all, I have temperature records of nearly 1200 locations in southern Brazil. I am writing a shiny app that will show an interactive map with the locations plotted as circles, where the user can click a location to see its temperature time series. However, if I show all the locations in