posit-dev / posit-dev/connectapi
Add Connections pane integration for `tbl_connect` tibbles
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 54
- Forks
- 27
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 1
Description
This example from the README should get you what you need:
library(connectapi)
client <- connect()
users <- tbl_connect(client, "users")
groups <- tbl_connect(client, "groups")
shiny_usage <- tbl_connect(client, "shiny_usage")
content_visits <- tbl_connect(client, "content_visits")
all_content <- tbl_connect(client, "content")
all_shiny_usage <- shiny_usage %>% dplyr::collect()
Specifically, all options are tracked here: https://github.com/rstudio/connectapi/blob/6aa577379c8b7b2f782113f2644317ab5b91256d/R/lazy.R#L25
If it would be helpful to put that in a variable or something somewhere, we can totally do that. Note the "schema" is stored too:
https://github.com/rstudio/connectapi/blob/6aa577379c8b7b2f782113f2644317ab5b91256d/R/lazy.R#L38
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README example and inspect R/lazy.R around the linked lines, where tbl_connect options and schema are tracked. Determine which of that metadata the Connections pane integration needs, and confirm the work is complete when tbl_connect tibbles are recognized there with the relevant metadata exposed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100