Package 'bruneimap'

Title: Maps and Spatial Data of Brunei
Description: Provides spatial data for mapping Brunei, including boundaries for districts, mukims, and kampongs, as well as locations of key infrastructure such as masjids, hospitals, clinics, and schools. The package supports researchers, analysts, and developers working with Brunei’s geographic and demographic data, offering a quick and accessible foundation for creating maps and conducting spatial studies.
Authors: Haziq Jamil [aut, cre, cph] , Hafeezul Raziq [ctb], Alvin Bong [ctb], Aniq Najwa Ariffin [ctb], Danish Ikhwan Mohamad Zainin [ctb], Muhammad Rayme Hijazi Jassrie [ctb], Angela Chan [ctb], Irdina Batrisyia Norharddyman [ctb], Nursyafiqah Mohammad Yusuf [ctb], Ahmad Syafi Mohammad Hilmy [ctb], Mohammad Syahir Deedat Al Jufri [ctb], Nadi.BN [cph] (CC BY 4.0 <https://www.nadi.bn/>)
Maintainer: Haziq Jamil <[email protected]>
License: GPL (>= 3)
Version: 0.3.1.9001
Built: 2024-12-26 01:19:55 UTC
Source: https://github.com/bruneiverse/bruneimap

Help Index


Brunei kampong data

Description

Brunei kampong data

Usage

bnkpg_df

Format

An object of class tbl_df (inherits from tbl, data.frame) with 438 rows and 4 columns.

Details

A tibble containing kampong, mukim, district information. All rows correspond to an area on the map. Useful to combine with other unit-level information for plotting.


Simple feature objects to plot Brunei maps

Description

Simple feature objects to plot Brunei maps

Usage

dis_sf

mkm_sf

kpg_sf

brn_sf

Format

An object of class sf (inherits from tbl_df, tbl, data.frame) with 4 rows and 7 columns.

An object of class sf (inherits from tbl_df, tbl, data.frame) with 39 rows and 8 columns.

An object of class sf (inherits from tbl_df, tbl, data.frame) with 438 rows and 9 columns.

An object of class sf (inherits from tbl_df, tbl, data.frame) with 17 rows and 2 columns.

Details

There are three simple feature objects in this package that can be used to plot Brunei maps:

  • dis_sf: District-level boundaries

  • mkm_sf: Mukim-level boundaries

  • kpg_sf: Kampong-level boundaries

  • brn_sf: A sillhouette of Brunei

Examples

library(ggplot2)

# District-level boundaries
ggplot(dis_sf) +
  geom_sf()

# Mukim-level boundaries
ggplot(mkm_sf) +
  geom_sf()

# Kampong-level boundaries
ggplot(kpg_sf) +
  geom_sf()

Brunei census data 2021

Description

Brunei census data 2021

Usage

census2021

Format

An object of class tbl_df (inherits from tbl, data.frame) with 365 rows and 11 columns.

Details

A tibble containing the population, split into male/female or Bruneian/PR/foreigners for each kampong. Also contains number of households and occupied living quarters.

References

DEPS. “The Population and Housing Census Report (BPP) 2021: Demographic, Household and Housing Characteristics.” Department of Economic Planning and Statistics, Ministry of Finance and Economy, Brunei Darussalam, October 2022. URL: https://deps.mofe.gov.bn/SitePages/Population.aspx

Examples

library(tidyverse)
census2021 |>
  summarise(
    population = sum(population),
    .by = district
  )

Forest reserve areas in Brunei

Description

Forest reserve areas in Brunei

Usage

fr_sf

Format

An object of class sf (inherits from tbl_df, tbl, data.frame) with 20 rows and 6 columns.

References

Forestry Dept., . “The 5th National Report to the Convention on Biological Diversity.” Bandar Seri Begawan, Brunei: The Forestry Department, Ministry of Industry and Primary Resources, 2014.

Examples

library(ggplot2)
ggplot(fr_sf) +
  geom_sf()

Hospitals and Clinics (Health Centres) in Brunei

Description

Hospitals and Clinics (Health Centres) in Brunei

Usage

healthcare

Format

A tibble containing the name, type, and lat/long coordinates of hospitals and clinics in Brunei.

Examples

nrow(healthcare)
ncol(healthcare)

Masjid (mosques) in Brunei

Description

Masjid (mosques) in Brunei

Usage

masjid

Format

A tibble containing the name and lat/long coordinates of masjids in Brunei

Source

Examples

dplyr::glimpse(masjid)

Data sets relating to schools in Brunei

Description

Data sets relating to schools in Brunei

Usage

sch_sf

tchr

enrolment

enrolment_MOE

Format

An object of class sf (inherits from tbl_df, tbl, data.frame) with 252 rows and 14 columns.

An object of class tbl_df (inherits from tbl, data.frame) with 48 rows and 5 columns.

An object of class tbl_df (inherits from tbl, data.frame) with 48 rows and 5 columns.

An object of class tbl_df (inherits from tbl, data.frame) with 84 rows and 5 columns.

Details

There are four datasets related to schools in Brunei:

  • sch_sf: A spatial object of schools in Brunei

  • tchr: A tibble of the number of teachers in schools in Brunei

  • enrolment: A tibble of the number of students in schools in Brunei

  • enrolment_MOE: A tibble of the number of students in schools in Brunei

References

Examples

library(ggplot2)
ggplot() +
  geom_sf(data = brn_sf) +
  geom_sf(data = sch_sf)