"><a href="https://rdrr.io/pkg/sf/man/st_as_sf.html">st_as_sf</a></span>() <span class="co"># this function makes sure the shape files are readable.</span>

<span class="no">total_apple_us</span> <span class="kw">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/as.data.frame.html">as.data.frame</a></span>(<span class="no">total_apple_us</span>) <span class="kw">%&gt;%</span>
  <span class="fu"><a href="https://rdrr.io/pkg/sf/man/st_as_sf.html">st_as_sf</a></span>()</pre></body></html></div>
<p>