Source: local data frame [4 x 6]
pop_name geo_region maxlon minlon maxlat minlat
(chr) (chr) (dbl) (dbl) (dbl) (chr)
1 Ami EastAsia 121 121.5 24 22.5N
2 Hakka EastAsia 105 122.0 35 22N
3 Biaka Africa 15 20.0 5 2N
4 Mbuti Africa 26 30.0 3 0N
Looks like I'm stripping the N/E/S/W and converting to double.
Edit: sessionInfo, using readr 0.2.2
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] readr_0.2.2 dplyr_0.4.3
loaded via a namespace (and not attached):
[1] magrittr_1.5 R6_2.1.1 assertthat_0.1 rsconnect_0.4.1.9
[5] parallel_3.2.2 DBI_0.3.1 tools_3.2.2 Rcpp_0.12.2
The text was updated successfully, but these errors were encountered:
I've got some data with populations, latitude, longitude in this kind of format:
Here's the gist:
https://gist.github.com/stephenturner/faf8d38acd38fdbd6197
When I try to import that with readr:
Here's what I get back:
Looks like I'm stripping the N/E/S/W and converting to double.
Edit: sessionInfo, using readr 0.2.2
The text was updated successfully, but these errors were encountered: