Skip to content

Commit

Permalink
fix sc_table_saved
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkowa committed Apr 5, 2024
1 parent 74f39e3 commit c25ee4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/sc_table_saved.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ account. Saved tables from other accounts can not be listed or requested.
To make the table available for later use or for other users of `r STATcubeR`,
the response can be exported into a json.

```{r}
```{r,eval=FALSE}
wine$json$write("wine.json")
```

```{r, include=FALSE}
```{r, include=FALSE,eval=FALSE}
on.exit(fs::file_delete("wine.json"))
```

The generated json file contains an API request that can be used in
`sc_table()`.

```r
```{r,eval=FALSE}
my_response <- sc_table("wine.json")
```

Expand Down

0 comments on commit c25ee4b

Please sign in to comment.