Type: | Package |
Title: | Maps and Spatial Data of Brunei |
Version: | 0.3.1 |
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. |
License: | GPL (≥ 3) |
URL: | https://github.com/Bruneiverse/bruneimap, https://bruneiverse.github.io/bruneimap/ |
BugReports: | https://github.com/Bruneiverse/bruneimap/issues |
Depends: | R (≥ 3.5), sf |
Suggests: | ggplot2, knitr, rmarkdown, tidyverse |
Encoding: | UTF-8 |
LazyData: | true |
LazyDataCompression: | xz |
RoxygenNote: | 7.3.2 |
VignetteBuilder: | knitr |
Imports: | dplyr, lifecycle |
NeedsCompilation: | no |
Packaged: | 2024-12-19 12:57:23 UTC; haziqj |
Author: | Haziq Jamil |
Maintainer: | Haziq Jamil <haziq.jamil@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2024-12-20 10:40:09 UTC |
bruneimap: Maps and Spatial Data of Brunei
Description
The bruneimap package provides a rich collection of spatial data in sf format for Brunei, including boundaries for districts, mukims, and kampongs, as well as a silhouette map of the country. Additional datasets include locations of masjids, hospitals, clinics, and schools.
Author(s)
Maintainer: Haziq Jamil haziq.jamil@gmail.com (ORCID) [copyright holder]
Other contributors:
Hafeezul Raziq [contributor]
Alvin Bong [contributor]
Aniq Najwa Ariffin [contributor]
Danish Ikhwan Mohamad Zainin [contributor]
Muhammad Rayme Hijazi Jassrie [contributor]
Angela Chan [contributor]
Irdina Batrisyia Norharddyman [contributor]
Nursyafiqah Mohammad Yusuf [contributor]
Ahmad Syafi Mohammad Hilmy [contributor]
Mohammad Syahir Deedat Al Jufri [contributor]
See Also
Useful links:
Report bugs at https://github.com/Bruneiverse/bruneimap/issues
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
References
https://www.mora.gov.bn/senaraimasjid/forms/viewall.aspx
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
-
Education Statistics and Indicators Handbook. Ministry of Education, Brunei.
Examples
library(ggplot2)
ggplot() +
geom_sf(data = brn_sf) +
geom_sf(data = sch_sf)