R/coordinate_projection.R

#' Get projection string
#'
#' @param code integer for EPSG code numbers
#'
#' @return
#' @export get_projection_string
#' @import rgdal
#' @import dplyr
#' @examples
get_projection_string <-function (code = 4326) {

  epsg <- make_EPSG() %>%
    dplyr::filter(code == 4326) %>% pull (prj4)

  return (epsg)

}
seunjeong/rmapping documentation built on Dec. 13, 2020, 3:36 a.m.