posit-dev / posit-dev/connectapi

Add Connections pane integration for `tbl_connect` tibbles

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.