Skip to contents

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

Usage

marawi_ls(id = "1bph1LBRpxwydAvjuggyjmhmq6HhyteY8")

marawi_ls_armm(drive_list)

marawi_ls_lanao(drive_list)

marawi_ls_marawi(drive_list)

Arguments

id

Character vector of the Open Marawi Google Drive id. This is currently set to 1bph1LBRpxwydAvjuggyjmhmq6HhyteY8 which is the id of the Open Marawi Google Drive. Change this if Open Marawi Google Drive is moved.

drive_list

A dribble from which to search for required Google Drive directory.

Value

A dribble of names and ids of files and folders within the specified Google Drive

Author

Ernest Guevarra

Examples

marawi_ls()
#> # A dribble: 14 × 3
#>    name                                                  id       drive_resource
#>    <chr>                                                 <drv_id> <list>        
#>  1 Marawi                                                1GPgrAX… <named list>  
#>  2 Workshop Materials_5-9 Feb 2018_Common Spatial Logic… 1Y0MdME… <named list>  
#>  3 POLICY BRIEF                                          1FCimWY… <named list>  
#>  4 Workshop Materials_1-2 March 2018_BMCRRP Spatial Ana… 1YGE53W… <named list>  
#>  5 marawi whole A0.jpg                                   1cU3uDQ… <named list>  
#>  6 Marawi center.jpg                                     1qilePu… <named list>  
#>  7 LOOK - Latest map layouts                             1TGzuew… <named list>  
#>  8 PPA template.xlsx                                     1bDbfLH… <named list>  
#>  9 PPA template.xlsx                                     1je1cK5… <named list>  
#> 10 Bangon Marawi Comprehensive Rehabilitation and Recov… 1UVEyX0… <named list>  
#> 11 Marawi and Lanao Reference Documents - Copy           1tYyEAL… <named list>  
#> 12 Atoran ko Dansalan_Common Spatial Logic for Marawi a… 1nLLc0u… <named list>  
#> 13 ARMM                                                  1c19-9H… <named list>  
#> 14 Lanao del Sur                                         1eWKFwe… <named list>  
marawi_ls_armm(drive_list = marawi_ls())
#> # A dribble: 2 × 3
#>   name                                        id       drive_resource   
#>   <chr>                                       <drv_id> <list>           
#> 1 Social                                      1i8U7J6… <named list [29]>
#> 2 Masterlist_bgylevel_ARMM_as of 20170125.xls 16Ol0UC… <named list [38]>
marawi_ls_lanao(drive_list = marawi_ls())
#> # A dribble: 8 × 3
#>   name                                         id       drive_resource   
#>   <chr>                                        <drv_id> <list>           
#> 1 Masterlist_munilevel_LDS*_as of 20180213.xls 1pX1BBo… <named list [38]>
#> 2 Masterlist_bgylevel*_LDS_as of 20180307.xlsx 1Es7eZ9… <named list [38]>
#> 3 Lanao Del Sur Geospatial                     1iqps_3… <named list [29]>
#> 4 Governance                                   1o0BtKU… <named list [29]>
#> 5 Infrastructure                               1v_eZM5… <named list [29]>
#> 6 Economy                                      1Jge9Ye… <named list [29]>
#> 7 Population and Social Services               15ArFZ4… <named list [29]>
#> 8 Environment                                  1GXiXZb… <named list [29]>