Skip to contents

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

Ernest Guevarra

Examples

bangsa_ls()
#> # A dribble: 8 × 3
#>   name                                                   id       drive_resource
#>   <chr>                                                  <drv_id> <list>        
#> 1 Bangsamoro Open Data Inventory                         1599Dm3… <named list>  
#> 2 6-Videos and Creative Materials                        1lLECj4… <named list>  
#> 3 Open Data for the Bangsamoro Transition 20190228 FINA… 156P7OF… <named list>  
#> 4 3-Development Plans, Studies, and Reports              1BTBOft… <named list>  
#> 5 5-New Maps                                             1deajEd… <named list>  
#> 6 4-Data Management and Mapping Resources                12dspkz… <named list>  
#> 7 2-Tabular Data                                         11JcnI8… <named list>  
#> 8 1-Geodata                                              1JG0aEt… <named list>