Skip to content

Commit

Permalink
remove file system write of tab.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkowa committed Apr 8, 2024
1 parent e2fe725 commit 1b78bfb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vignettes/sc_table_saved.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,14 @@ 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}
tab$json$write("tab.json")
```

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

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

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

Expand Down

0 comments on commit 1b78bfb

Please sign in to comment.