R/mf_get_mtq.R

Defines functions mf_get_mtq

Documented in mf_get_mtq

#' @title Get the 'mtq' dataset
#' @name mf_get_mtq
#' @description Import the mtq dataset (Martinique municipalities).
#' @return an sf object of Martinique municipalities
#' @export
#' @details This a wrapper around
#' \code{st_read(system.file("gpkg/mtq.gpkg", package = "mapsf"),quiet = TRUE)}.
#' @importFrom sf st_read
#' @examples
#' mtq <- mf_get_mtq()
mf_get_mtq <- function() {
  st_read(system.file("gpkg/mtq.gpkg", package = "mapsf"), quiet = TRUE)
}

Try the mapsf package in your browser

Any scripts or data that you put into this service are public.

mapsf documentation built on Sept. 11, 2024, 8:19 p.m.