From 43d934348392c758a92a56f4090facf8571b4f24 Mon Sep 17 00:00:00 2001 From: Adam Sibik Date: Sun, 9 Feb 2020 19:25:35 +0100 Subject: [PATCH] Update README.md Make `gsheet2text` example work ;) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e5fd9f..4d2084a 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you want more control, you might want to use something like: ``` r url <- 'docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo' a <- gsheet2text(url, format='csv') -b <- read.csv(a, stringsAsFactors=FALSE) +b <- read.csv(text=a, stringsAsFactors=FALSE) ``` This way the table can be cleaned before parsing, and different options can be used in parsing.