How to get file download times from Google Drive?

Hi community, Im want to get the file download times in a google drive folder.
Im use library(googledrive) and I can get the metadata about each file.

remotes::install_github("tidyverse/googledrive")

library(googledrive)
my_drive_1 <- data.frame(drive_ls(path = 'https://drive.google.com/drive/folders/M_ID', recursive = FALSE))

# Im get the meta data but I don see about the downloads.
my_drive_1 <- structure(list(name = "Understanding Statistics Using R | Randall Schumacker Sara Tomek.pdf", 
                             id = structure("1fHHVTJgmTsseCy_ph-K0syskjQOmm3O_", class = c("drive_id", 
                                                                                           "vctrs_vctr", "character")), drive_resource = list(list(kind = "drive#file", 
                                                                                                                                                   fileExtension = "pdf", copyRequiresWriterPermission = FALSE, 
                                                                                                                                                   md5Checksum = "5523da8404e21acf4635cea8ae45ba2e", writersCanShare = TRUE, 
                                                                                                                                                   viewedByMe = TRUE, mimeType = "application/pdf", parents = list(
                                                                                                                                                     "1W3S0r_g8PascdS8LLo4vcfcb3rY4fuHG"), thumbnailLink = "https://lh3.googleusercontent.com/drive-storage/AJQWtBMekB2hPHiWqmPWFzwVpfEs3hrEntiFvMmz0TpwqDn1oQ7FB1N6xoOJAsWEoU3kbDcPGUxBMp9Jmq1bxA9fAPKU9IQlcmBen5KESPdGFnXlQn8=s220", 
                                                                                                                                                   iconLink = "https://drive-thirdparty.googleusercontent.com/16/type/application/pdf", 
                                                                                                                                                   shared = TRUE, lastModifyingUser = list(displayName = "Miguel Ángel Acosta Chinchilla", 
                                                                                                                                                                                           kind = "drive#user", me = TRUE, permissionId = "10977325560410257295", 
                                                                                                                                                                                           emailAddress = "miaacostach@gmail.com", photoLink = "https://lh3.googleusercontent.com/a/ACg8ocLsnwINH-_Eju-55Kde33qImKuEmt5jY2CtQNppg51fZaFgig=s64"), 
                                                                                                                                                   owners = list(list(displayName = "Miguel Ángel Acosta Chinchilla", 
                                                                                                                                                                      kind = "drive#user", me = TRUE, permissionId = "10977325560410257295", 
                                                                                                                                                                      emailAddress = "miaacostach@gmail.com", photoLink = "https://lh3.googleusercontent.com/a/ACg8ocLsnwINH-_Eju-55Kde33qImKuEmt5jY2CtQNppg51fZaFgig=s64")), 
                                                                                                                                                   headRevisionId = "0B_7xKxAlG_-cVDE5bWd2Ty9JK0c1V0ZNL0dPelFuM1AvQ25vPQ", 
                                                                                                                                                   webViewLink = "https://drive.google.com/file/d/1fHHVTJgmTsseCy_ph-K0syskjQOmm3O_/view?usp=drivesdk", 
                                                                                                                                                   webContentLink = "https://drive.google.com/uc?id=1fHHVTJgmTsseCy_ph-K0syskjQOmm3O_&export=download", 
                                                                                                                                                   size = "3309452", viewersCanCopyContent = TRUE, permissions = list(
                                                                                                                                                     list(id = "anyoneWithLink", type = "anyone", kind = "drive#permission", 
                                                                                                                                                          role = "reader", allowFileDiscovery = FALSE), 
                                                                                                                                                     list(id = "10977325560410257295", displayName = "Miguel Ángel Acosta Chinchilla", 
                                                                                                                                                          type = "user", kind = "drive#permission", photoLink = "https://lh3.googleusercontent.com/a/ACg8ocLsnwINH-_Eju-55Kde33qImKuEmt5jY2CtQNppg51fZaFgig=s64", 
                                                                                                                                                          emailAddress = "miaacostach@gmail.com", role = "owner", 
                                                                                                                                                          deleted = FALSE, pendingOwner = FALSE)), hasThumbnail = TRUE, 
                                                                                                                                                   spaces = list("drive"), id = "1fHHVTJgmTsseCy_ph-K0syskjQOmm3O_", 
                                                                                                                                                   name = "Understanding Statistics Using R | Randall Schumacker Sara Tomek.pdf", 
                                                                                                                                                   starred = FALSE, trashed = FALSE, explicitlyTrashed = FALSE, 
                                                                                                                                                   createdTime = "2022-08-01T06:16:24.907Z", modifiedTime = "2024-05-07T05:06:28.978Z", 
                                                                                                                                                   modifiedByMeTime = "2024-05-07T05:06:28.978Z", viewedByMeTime = "2024-05-07T05:05:58.703Z", 
                                                                                                                                                   quotaBytesUsed = "3309452", version = "73", originalFilename = "Understanding_Statistics_Using_R.pdf", 
                                                                                                                                                   ownedByMe = TRUE, fullFileExtension = "pdf", isAppAuthorized = FALSE, 
                                                                                                                                                   capabilities = list(canChangeViewersCanCopyContent = TRUE, 
                                                                                                                                                                       canEdit = TRUE, canCopy = TRUE, canComment = TRUE, 
                                                                                                                                                                       canAddChildren = FALSE, canDelete = TRUE, canDownload = TRUE, 
                                                                                                                                                                       canListChildren = FALSE, canRemoveChildren = FALSE, 
                                                                                                                                                                       canRename = TRUE, canTrash = TRUE, canReadRevisions = TRUE, 
                                                                                                                                                                       canChangeCopyRequiresWriterPermission = TRUE, canMoveItemIntoTeamDrive = TRUE, 
                                                                                                                                                                       canUntrash = TRUE, canModifyContent = TRUE, canMoveItemOutOfDrive = TRUE, 
                                                                                                                                                                       canAddMyDriveParent = FALSE, canRemoveMyDriveParent = TRUE, 
                                                                                                                                                                       canMoveItemWithinDrive = TRUE, canShare = TRUE, canMoveChildrenWithinDrive = FALSE, 
                                                                                                                                                                       canModifyContentRestriction = TRUE, canChangeSecurityUpdateEnabled = FALSE, 
                                                                                                                                                                       canAcceptOwnership = FALSE, canReadLabels = FALSE, 
                                                                                                                                                                       canModifyLabels = FALSE, canModifyEditorContentRestriction = TRUE, 
                                                                                                                                                                       canModifyOwnerContentRestriction = TRUE, canRemoveContentRestriction = FALSE), 
                                                                                                                                                   thumbnailVersion = "3", modifiedByMe = TRUE, permissionIds = list(
                                                                                                                                                     "anyoneWithLink", "10977325560410257295"), linkShareMetadata = list(
                                                                                                                                                       securityUpdateEligible = FALSE, securityUpdateEnabled = TRUE), 
                                                                                                                                                   sha1Checksum = "68f5fb3d356958b7c8495f0109136d53bb9a1796", 
                                                                                                                                                   sha256Checksum = "065abec6dc9a537b43f866068197b8ad88d8c121e2453250b5f03c5a15783f81"))), row.names = 1L, class = "data.frame")

Is possible get the file download times for the files?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.