Skip to content

Commit

Permalink
fixes in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ángel committed Sep 10, 2018
1 parent c8e680d commit 0deec14
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 10 deletions.
5 changes: 2 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ export(coordinates)
export(get_coor)
export(get_rc)
export(near_rc)
importFrom(XML,xmlToList)
importFrom(httr,GET)
importFrom(httr,stop_for_status)
import(XML)
import(httr)
2 changes: 2 additions & 0 deletions R/coordinates.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#'@name coordinates
#'@aliases coordinates
#'
#'@title Coordinates (SRS)
#'
#'@description Dataframe with all the posible Spatial Reference Systems (SRS) availables
#'to query the Catastro API.
#'
Expand Down
6 changes: 3 additions & 3 deletions R/get_rc.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' for every SRS requested.
#'@references http://ovc.catastro.meh.es/ovcservweb/OVCSWLocalizacionRC/OVCCoordenadas.asmx?op=Consulta_RCCOOR
#'
#'@author Ángel Delgado Panadero.
#'@author Angel Delgado Panadero.
#'
#'@examples
#'direction <- get_rc(38.6196566583596,-3.45624183836806, 'EPSG:4230')
Expand All @@ -34,8 +34,8 @@
#'
#'
#'@export
#'@importFrom httr
#'@importFrom XML
#'@import httr
#'@import XML



Expand Down
6 changes: 3 additions & 3 deletions R/near_rc.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
#'
#'@author Angel Delgado Panadero.
#'
#'@example
#'@examples
#'direction <- near_rc(40.96002, -5.663408)
#'print(direction)
#'
#'@export
#'@importFrom httr
#'@importFrom XML
#'@import httr
#'@import XML


near_rc <- function(lat,lon,SRS="Google"){
Expand Down
20 changes: 20 additions & 0 deletions man/coordinates.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/get_rc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/near_rc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0deec14

Please sign in to comment.