Skip to content
Fixing mixed up geographical coordinates
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
tests
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
README.md
corduroy.Rproj

README.md

corduroy

Travis-CI Build Status

No-fuzz auto-unification of messed up coordinates.

Installation

devtools::install_github("cszang/corduroy")

Usage

Example:

library(corduroy)

messed <- data.frame(
  coords = c(
    "49°40'46.148\"N",
    "E 48.232°",
    "46°42'4\"",
    "34.2"))

messed$coords <- unify_coords(messed$coords)

# Result:
# > messed
#    coords
# 1 49.67949
# 2 48.23200
# 3 46.70111
# 4 34.20000
You can’t perform that action at this time.