ropensci / refsplitr

R package for processing, organizing, and visualizing reference records downloaded from the Web of Science.
https://docs.ropensci.org/refsplitr
Other
55 stars 6 forks source link

plot_addresses_points error #66

Closed embruna closed 5 years ago

embruna commented 5 years ago

When testing the vignette I found this error:

plot_addresses_points <- plot_addresses_points(example_georef$addresses)

The points are all clustered in Africa, when they should be in N America, Australia, etc.

Latitude and Longitude are reversed on the axis legends (and maybe that's the underlying problem?)

aurielfournier commented 5 years ago

fixed it

R thought the lats and longs were factors, and thus was not plotting them correctly. Silly R.