read_sheet_data: read data

Description Usage Arguments Value Examples

View source: R/functions.R

Description

reads the data from the existing sheet

Usage

1

Arguments

file

a file to read a url from

url

the actual url

Value

data.frame

Examples

1
2
3
4
5
6
# from a file
url_file <- system.file("extdata", "gs_url", package = "trackWeight")
read_sheet_data(file = url_file)

# from the url directly
read_sheet_data(url = "https://docs.google.com/spreadsheets/d/1f7X_60NeRRfXxhc3KGO62NdIz2wwfWIrY_vpOMy9hPY/export?format=csv")

rmflight/trackWeight documentation built on May 18, 2019, 9:18 p.m.