improving speed for R shiny leaflet map
<p>I have a shiny app that makes use of the <code>leaflet</code> package from RStudio. I am plotting a large number of circles on my leaflet map and in my dataset I have the following columns.</p>

<ul>
<li>URN</li>
<li>Organisation</li>
<li>Amount</li>
<li>Gender</li>
<li>Amount</li>
<li>Lat</li>
<li>Long</li>
</ul>

<p>The table has 286K records but is only 4.5Mb on the disk as a .Rda file. I am trying to find ways to compress the file or ultimately improve the speed at which the map loads within the shiny app. </p>

<p>At the moment I am hosting on shinyapps.io so I am open to tweaks that might be applied on the server to improve performance. Any guidance on this would be greatly appreciated.</p>

<p>Let me know if some example code is going to be useful for this and I'll whip something together.</p>