Nothing
#' @title Get the 'mtq' dataset
#' @name mf_get_mtq
#' @description Import the mtq dataset (Martinique municipalities).
#' @param x one of "polygons", "points", "lines"
#' @details
#' This a wrapper around `st_read(system.file("gpkg/mtq.gpkg", package = "mapsf"), layer = x, quiet = TRUE)`.
#' ## For polygons (municipalities shapes) and points (municipalities centroids)
#' - **INSEE_COM**: Municipality identifier
#' - **STATUS**: Municipality administrative status
#' - **LIBGEO**: Municipality name
#' - **POP**: Total population, 2015
#' - **MED**: Median disposable income adjusted per equivalent household member, in euros, 2015
#' - **CHOM**: Unemployed population, 2015
#' - **ACT**: Active population, 2015
#'
#' ## For lines (professional mobility flows from Fort-de-France to other municipalities)
#' - **i**: Municipality of residence identifier
#' - **j**: Municipality of workplace identifier
#' - **fij**: Flows of workers (employed population, 15 y.o. or more, 2015, only flows \> 100)
#' - **sj**: Administrative status of the workplace municipality
#' @source
#' ## For polygons (municipalities shapes) and points (municipalities centroids)
#' [Base comparateur de territoires](https://www.insee.fr/fr/statistiques/2521169)
#' (data, upload date: 2018-09-25) & ADMIN EXPRESS-COG (geometry, 2018 edition).
#'
#' Citation: Insee and IGN, 2018
#' ## For lines (professional mobility flows from Fort-de-France to other municipalities)
#' [Flux de mobilité - déplacements domicile-lieu de travail](https://www.insee.fr/fr/statistiques/3566477) (upload date: 2018-08-01)
#'
#' Citation: Insee, 2018
#'
#' @return an sf object
#' @export
#' @examples
#' mtq <- mf_get_mtq()
mf_get_mtq <- function(x = "polygons") {
st_read(system.file("gpkg/mtq.gpkg", package = "mapsf"),
layer = x, quiet = TRUE
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.