Skip to contents

Get the OpenBangsamoro Database inventory

Usage

bangsa_get_inventory(dataset = c("geospatial", "tabular", "docs", "metadata"))

Arguments

dataset

A string value from either "geospatial", "tabular", or "docs" specifying the inventory to retrieve.

Value

A tibble of the specified inventory of various datasets available in the OpenBangsamoro Database.

Author

Ernest Guevarra

Examples

## Retrieve the geospatial datasets inventory
bangsa_get_inventory(dataset = "geospatial")
#>  Reading from Bangsamoro Open Data Inventory.
#>  Range ''Geospatial''.
#> # A tibble: 58 × 8
#>    CATEGORY   TITLE FILENAME `FILE FORMAT` `SOURCE AGENCY` `DATE OF PUBLICATION`
#>    <chr>      <chr> <chr>    <chr>         <chr>                           <dbl>
#>  1 Administr… ARMM… Adminis… SHP           Philippine Sta…                  2016
#>  2 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#>  3 Administr… ARMM… Adminis… SHP           Philippine Sta…                  2016
#>  4 Administr… ARMM… Adminis… SHP           Philippine Sta…                  2016
#>  5 Administr… ARMM… Adminis… SHP           Philippine Sta…                  2016
#>  6 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#>  7 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#>  8 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#>  9 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#> 10 Administr… Bang… Adminis… SHP           Philippine Sta…                  2016
#> # ℹ 48 more rows
#> # ℹ 2 more variables: REFERENCE <chr>, DESCRIPTION <chr>