Description Usage Arguments Value Note Author(s) See Also Examples
Parse coordinates into separate fields from a character vector using a format string. This is a manual version of dmsparse.
| 1 | parsecoords(dat, d1, fmtstr)
 | 
| dat | a character vector of coordinates | 
| d1 | a summary of the various coordinate formats obtained from uniqueformats | 
| fmtstr | a format string for the different formats present e.g. "dd.mm","dd.mm.ss" | 
a dataframe containing degrees, minutes, seconds, letters (N,S,E,W) and decimal degrees in separate columns
In most cases dmsparse would be preferable
Mark Robertson
dmsparse, uniqueformats
| 1 2 3 | fmtstr<-c("dd mm.m","dd mm ss.ss","dd mm ss") 
uf<-uniqueformats(places$long[1:3])
px<-parsecoords(places$long[1:3],uf,fmtstr) 
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.