GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mapsf/README.Rmd at master · riatelab/mapsf Expand file tree/ Copy pathREADME.RmdMore file actions 94 lines (65 loc) · 3.72 KB / Copy pathREADME.RmdFile metadata and controls94 lines (65 loc) · 3.72 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 --- output: github_document --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/", fig.width = 5, fig.height = 6, dev = "png", dpi = 110 # out.width = "100%" ) ``` ```{r, include=FALSE} library(covr) coverage <- round(percent_coverage(package_coverage()),0) ``` # mapsf <img src="man/figures/logo.png" align="right" width="120"/> [](https://cran.r-project.org/package=mapsf) [](https://riatelab.r-universe.dev/mapsf)  [](https://CRAN.R-project.org/package=mapsf) [](https://cran.r-project.org/package=mapsf) **Create thematic maps and integrate them into your R workflow.** This package helps you design different cartographic representations such as proportional symbols, choropleths, or typology maps. It also provides several functions for displaying layout elements that enhance the graphical presentation of maps (e.g., scale bar, north arrow, title, labels). `mapsf` maps `sf` objects on `base` graphics. ## Installation You can install the released version of `mapsf` from [CRAN](https://cran.r-project.org/package=mapsf) with: ``` r install.packages("mapsf") ``` Alternatively, you can install the development version of `mapsf` (the **dev** branch) from [r-universe](https://riatelab.r-universe.dev/mapsf) with: ``` r install.packages("mapsf", repos = c("https://riatelab.r-universe.dev", "https://cloud.r-project.org")) ``` ## Usage This is a basic example which shows how to create a map with `mapsf`. ```{r example1, fig.width = 4, fig.height = 5, fig.alt="A simple map created with mapsf"} library(mapsf) # Import the sample dataset mtq <- mf_get_mtq() # Plot the base map mf_map(x = mtq) # Plot proportional symbols mf_map(x = mtq, var = "POP", type = "prop", leg_pos = "topright", add = TRUE) # Plot a map layout mf_layout( title = "Population in Martinique", credits = "T. Giraud; Sources: INSEE & IGN, 2018" ) ``` You can find more detailed examples on the ["Get Started"](https://riatelab.github.io/mapsf/articles/mapsf) section of the [package website](https://riatelab.github.io/mapsf/) and you can also download its [cheat sheet](https://raw.githubusercontent.com/riatelab/mapsf/master/vignettes/fig/mapsf_cheatsheet.pdf). [](https://raw.githubusercontent.com/riatelab/mapsf/master/vignettes/fig/mapsf_cheatsheet.pdf) ## mapsf.gui <img src="man/figures/mapsf_gui_logo.png" alt="mapsf.gui logo" align="right" width="60"/> The [`mapsf.gui` package](https://codeberg.org/riatelab/mapsf.gui) provides a Shiny interface for creating thematic maps using `mapsf`. Users of the application can **build thematic maps interactively and automatically generate the corresponding R code** to reproduce the map identically. ## Alternatives - [`tmap`](https://github.com/r-tmap/tmap) - [`ggplot2`](https://github.com/tidyverse/ggplot2) + [`ggspatial`](https://github.com/paleolimbot/ggspatial) ## Community Guidelines One can contribute to the package through [pull requests](https://github.com/riatelab/mapsf/pulls) and report issues or ask questions [here](https://github.com/riatelab/mapsf/issues). See the [CONTRIBUTING.md](https://github.com/riatelab/mapsf/blob/master/CONTRIBUTING.md) file for detailed instructions on how to contribute. This project uses [conventional commits](https://www.conventionalcommits.org/en/v1.0.0-beta.3/) and [semantic versioning](https://semver.org/). |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |