Skip to content

Commit b8d13bc

Browse files
committed
Rebuild README
1 parent 20f3552 commit b8d13bc

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ These all achieve the same thing:
9898
``` r
9999
# URL
100100
read_sheet("https://docs.google.com/spreadsheets/d/1U6Cf_qEOhiR9AZqTqS3mbMF3zt2db48ZP5v3rkrAEJY/edit#gid=780868077")
101-
#> Reading from "gapminder".
102-
#> Range 'Africa'.
101+
#> Reading from "gapminder".
102+
#> Range 'Africa'.
103103
#> # A tibble: 624 × 6
104104
#> country continent year lifeExp pop gdpPercap
105105
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
@@ -109,11 +109,12 @@ read_sheet("https://docs.google.com/spreadsheets/d/1U6Cf_qEOhiR9AZqTqS3mbMF3zt2d
109109
#> 4 Algeria Africa 1967 51.4 12760499 3247.
110110
#> 5 Algeria Africa 1972 54.5 14760787 4183.
111111
#> # … with 619 more rows
112+
#> # ℹ Use `print(n = ...)` to see more rows
112113

113114
# Sheet ID
114115
read_sheet("1U6Cf_qEOhiR9AZqTqS3mbMF3zt2db48ZP5v3rkrAEJY")
115-
#> Reading from "gapminder".
116-
#> Range 'Africa'.
116+
#> Reading from "gapminder".
117+
#> Range 'Africa'.
117118
#> # A tibble: 624 × 6
118119
#> country continent year lifeExp pop gdpPercap
119120
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
@@ -123,13 +124,14 @@ read_sheet("1U6Cf_qEOhiR9AZqTqS3mbMF3zt2db48ZP5v3rkrAEJY")
123124
#> 4 Algeria Africa 1967 51.4 12760499 3247.
124125
#> 5 Algeria Africa 1972 54.5 14760787 4183.
125126
#> # … with 619 more rows
127+
#> # ℹ Use `print(n = ...)` to see more rows
126128

127129
# a googledrive "dribble"
128130
googledrive::drive_get("gapminder") %>%
129131
read_sheet()
130-
#> The input `path` resolved to exactly 1 file.
131-
#> Reading from "gapminder".
132-
#> Range 'Africa'.
132+
#> The input `path` resolved to exactly 1 file.
133+
#> Reading from "gapminder".
134+
#> Range 'Africa'.
133135
#> # A tibble: 624 × 6
134136
#> country continent year lifeExp pop gdpPercap
135137
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
@@ -139,6 +141,7 @@ googledrive::drive_get("gapminder") %>%
139141
#> 4 Algeria Africa 1967 51.4 12760499 3247.
140142
#> 5 Algeria Africa 1972 54.5 14760787 4183.
141143
#> # … with 619 more rows
144+
#> # ℹ Use `print(n = ...)` to see more rows
142145
```
143146

144147
*Note: the only reason we can read a sheet named “gapminder” (the last
@@ -160,9 +163,9 @@ some initial data.
160163

161164
``` r
162165
(ss <- gs4_create("fluffy-bunny", sheets = list(flowers = head(iris))))
163-
#> Creating new Sheet: "fluffy-bunny".
166+
#> Creating new Sheet: "fluffy-bunny".
164167
#> Spreadsheet name: fluffy-bunny
165-
#> ID: 1NEnHGqHVlNJZvDQp9uk8vrCLhoXNBl8qLjm3loZf5cU
168+
#> ID: 1YVHPcvzoM0SW4MKgQFoH8TQDtEnxnhHewOzWEj6Yz9k
166169
#> Locale: en_US
167170
#> Time zone: Etc/GMT
168171
#> # of sheets: 1
@@ -177,11 +180,11 @@ within a (spread)Sheet.
177180
``` r
178181
head(mtcars) %>%
179182
sheet_write(ss, sheet = "autos")
180-
#> Writing to "fluffy-bunny".
181-
#> Writing to sheet 'autos'.
183+
#> Writing to "fluffy-bunny".
184+
#> Writing to sheet 'autos'.
182185
ss
183186
#> Spreadsheet name: fluffy-bunny
184-
#> ID: 1NEnHGqHVlNJZvDQp9uk8vrCLhoXNBl8qLjm3loZf5cU
187+
#> ID: 1YVHPcvzoM0SW4MKgQFoH8TQDtEnxnhHewOzWEj6Yz9k
185188
#> Locale: en_US
186189
#> Time zone: Etc/GMT
187190
#> # of sheets: 2

0 commit comments

Comments
 (0)