read_team_sheet: Read / access a google sheet from a Google team drive

Description Usage Arguments Details Value Examples

View source: R/googlesheets.R

Description

read_team_sheet reads (and finds) a google sheet on a team drive

get_team_sheet finds a google sheet on a team drive.

Usage

1
2
3
4
read_team_sheet(path = NULL, id = NULL, team_drive = NULL, ws = 1,
  ...)

get_team_sheet(path = NULL, id = NULL, team_drive = NULL)

Arguments

path

File name or other path specifier

id

File id (quicker than using the name)

team_drive

Anything that specifies the team drive

ws

positive integer or character string specifying index or title, respectively, of the worksheet. The special value of Inf means all sheets.

...

Additional arguments passed to read_sheet

Details

Spreadsheet objects on team drives are not simply accessible by the googlesheets4 package.

Value

A tibble or, when ws specifies more that one sheet, a list of tibbles nammed by the sheet name.

object of class 'sheets_Spreadsheet' returned by sheets_get.

Examples

1
2
3
4
5
## Not run: 
fib_pns<-read_team_sheet(path = 'AL_fragments_PN_search', team_drive='flyconnectome',ws=1:2)
ss <- get_team_sheet(id='1P-ITJs9JdexIahOaU5teKaQ7fi0t5G0QOtTrAfRGwGM')

## End(Not run)

flyconnectome/tracerutils documentation built on May 6, 2020, 10:45 a.m.