R/islands.R

Defines functions islands

Documented in islands

#' Azorean islands
#'
#' A brief dataset of the nine Azorean islands.
#'
#' @returns A [tibble][tibble::tibble] with columns:
#'
#' \describe{
#' \item{`group`}{Island group.}
#' \item{`is_triangle`}{Due to their proximity, Pico, Faial and São Jorge form
#' the so-called _Triangle_ of the Central Group of islands.}
#' \item{`name`}{Island's name.}
#' }
#'
#' @examples
#' islands()
#'
#' @export
islands <- function() {
  tibble::tribble(
    ~group, ~is_triangle, ~ name,
    "Eastern", FALSE, "Ilha de Santa Maria",
    "Eastern", FALSE, u("Ilha de S\\u00e3o Miguel"),

    "Central", TRUE, "Ilha do Pico",
    "Central", TRUE, "Ilha do Faial",
    "Central", TRUE, u("Ilha de S\\u00e3o Jorge"),
    "Central", FALSE,"Ilha Terceira",
    "Central", FALSE, "Ilha Graciosa",

    "Western", FALSE, "Ilha das Flores",
    "Western", FALSE, "Ilha do Corvo"
  )
}

Try the CAOP.RAA.2024 package in your browser

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

CAOP.RAA.2024 documentation built on April 4, 2025, 4:23 a.m.