From 0998c8fb87e3fdc131460559c1d2ab56c00181af Mon Sep 17 00:00:00 2001 From: seifer08ms Date: Thu, 1 Dec 2016 16:16:11 +0800 Subject: [PATCH] Corrected documents of getCoordinate() and getLocation() --- R/getCoordinate.R | 8 ++++---- R/getLocation.R | 4 ++-- man/getCoordinate.Rd | 8 ++++---- man/getLocation.Rd | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/R/getCoordinate.R b/R/getCoordinate.R index c373b32..489fc33 100644 --- a/R/getCoordinate.R +++ b/R/getCoordinate.R @@ -47,16 +47,16 @@ getCoordinate.core = function(address, city=NULL, output='json', formatted = F){ #' @examples #' \dontrun{ #' ## json output -#' getCoordinate('beijingdaxue') +#' getCoordinate('北京大学') #' #' ## xml output -#' getCoordinate('beijingdaxue', output='xml') +#' getCoordinate('北京大学', output='xml') #' #' ## formatted -#' getCoordinate('beijingdaxue', formatted = T) +#' getCoordinate('北京大学', formatted = T) #' #' ## vectorization, return a matrix -#' getCoordinate(c('beijingdaxue', 'qinghuadaxue'), formatted = T) +#' getCoordinate(c('北京大学', '清华大学'), formatted = T) #' } getCoordinate=function(address, city=NULL, output='json', formatted = F,limit=600){ if(length(address)