 <code>X</code> and the <code>Y</code> coordinate columns as well as a CRS:</p>
<ul>
<li>A typical lat/long CRS is EPSG:4326</li>
</ul>
<div class="cell">
<div class="sourceCode cell-code" id="cb15"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb15-1"><a></a>(cities_sf <span class="ot">&lt;-</span> <span class="fu">st_as_sf</span>(cities, <span class="at">coords =</span> <span class="fu">c</span>(<span class="st">"lng"</span>, <span class="st">"lat"