Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refac: panels #5

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jamieRowen-mediacom
Copy link

This is really a follow on from #4, so that should probably be reviewed first.

switches barb_get_panels to the new workhorse barb function.
also separates out the logic of conversion to a tibble.

The advantage of this approach is that you allow the user to decide how to process the raw response. To be compatible with what you had before there is a parameter default to convert to tibble.

as_tibble can be called directly on the raw response to return your previous result, by implementing an s3 method for this particular response type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants