Package 'openbangsamoro'

Title: An Interface to the OpenBangsamoro Database
Description: The OpenBangsamoro initiative supports the use of open statistical, geospatial, and administrative data for transparent, accountable, and participatory decision-making as the Autonomous Region in Muslim Mindanao (ARMM) transforms into the Bangsamoro Autonomous Region in Muslim Mindanao.
Authors: Ernest Guevarra [aut, cre]
Maintainer: Ernest Guevarra <[email protected]>
License: GPL-3
Version: 0.0.0.9000
Built: 2024-11-26 03:21:18 UTC
Source: https://github.com/panukatan/openbangsamoro

Help Index


Get the OpenBangsamoro Database inventory

Description

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(s)

Ernest Guevarra

Examples

## Retrieve the geospatial datasets inventory
bangsa_get_inventory(dataset = "geospatial")

Get the OpenBangsamoro Database metadata

Description

Get the OpenBangsamoro Database metadata

Usage

bangsa_get_metadata()

Value

A tibble containing metadata information regarding the OpenBangsamoro Database.

Author(s)

Ernest Guevarra

Examples

bangsa_get_metadata()

List files and folders within the OpenBangsamoro Google Drive database

Description

A convenience wrapper to googledrive functions set to specifically access the OpenBangsamoro Google Drive database and list files and folders within.

Usage

bangsa_ls(id = "1W8JV4hth_gs1V6efb92HMz0eU2LRYbOO")

bangsa_ls_geodata()

bangsa_ls_tabular(id = bangsa_ls()$id[bangsa_ls()$name == "2-Tabular Data"])

bangsa_ls_docs(
  id = bangsa_ls()$id[bangsa_ls()$name == "3-Development Plans, Studies, and Reports"]
)

Arguments

id

Character vector of the OpenBangsamoro Google Drive id. This is currently set to 1W8JV4hth_gs1V6efb92HMz0eU2LRYbOO

Value

A tibble of names and ids of files and folders within the the OpenBangsamoro Google Drive

Author(s)

Ernest Guevarra

Examples

bangsa_ls()