Lat long data input in R

Your use case is quite common, and standardized solutions exist.

Do have a look at this answer where some of the more common are summarized Best packages for making map? leaflet vs ggmap vs sf vs ...? - #2 by jlacko

It should get you started, and if you feel that spatial data is your rabbit hole do have a look at Welcome | Geocomputation with R - probably the best book on the subject out right now.