gdrive_metadata: Unpack Google Drive Metadata

View source: R/import_drivefile.R

gdrive_metadataR Documentation

Unpack Google Drive Metadata

Description

Google API provides extra metadata stored as a list in the dribble returned, eg modified time, permissions, owner, etc.

Usage

gdrive_metadata(df, show_details = FALSE)

Arguments

df

Results from Google Drive drive_ls

show_details

Show all metadata fields, default is FALSE

Value

adds extra meta data to data frame

Examples

## Not run: 
library(googledrive)
drive_auth()
fldr <- as_id("<google-folder-id>")
drive_ls(fldr) %>% gdrive_metadata()

## End(Not run)

USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.