Skip to contents

Get Google Drive identifier given a search pattern

Usage

get_drive_id(pattern, drive_list)

Arguments

pattern

A pattern to search for

drive_list

A dribble (usually produced from one of the marawi_ls() functions) from which to search the pattern from.

Value

A Google Drive identifier

Examples

get_drive_id("ARMM", drive_list = marawi_ls())
#> <drive_id[1]>
#> [1] 1c19-9Hyo_-5uyLF5izi098JYDj2QXLJF