Skip to content

I think authentication is necessary even if the Google doc is public #1

@eeholmes

Description

@eeholmes

@emilyhmarkowitz The Readme in the GoogleDrive1 repo implies that authentication is only necessary if the Google Doc is not public, but when I tried to download a public spreadsheet, I was asked to authenticate.

"This code is designed to be run locally (meaning on someone’s computer manually). If the Google Drive folder is private, you need to run the authentication code first before you knit the Rmd file."

This is the code I tried to run. I had to authenticate to get it to run.

url <- "https://docs.google.com/spreadsheets/d/1O69nsVBH8Fb58GWwY1P9LAPL4TY0pVmha1UjohAaK2k"
googledrive::drive_download(url)

Also some examples of just a basic script to download a file would be good to start off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions