--- title: "Masjids in Brunei" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Masjids in Brunei} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` This vignette introduces the `masjid` dataset included in the `{bruneimap}` package, which provides spatial data for masjids (mosques) across Brunei. The dataset includes essential information such as the name, geographic coordinates (latitude and longitude), and district of each masjid. ```{r setup} library(tidyverse) library(bruneimap) library(sf) ``` ```{r} glimpse(masjid) ``` We can visualise the locations of masjids across Brunei Below is an example where the masjids are overlaid on Brunei’s kampong boundaries: ```{r} ggplot() + geom_sf(data = kpg_sf, fill = NA) + geom_point(data = masjid, aes(latitude, longitude), inherit.aes = FALSE) + theme_bw() ```