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

Possible to add support for dplyr select helper verbs for define_extract_cps? #22

Open
samrkuhn opened this issue Dec 9, 2022 · 1 comment

Comments

@samrkuhn
Copy link

samrkuhn commented Dec 9, 2022

Hi,

When I am defining an API extract with many samples (i.e. n >= 20), would it be possible to add support for dplyr select helper verbs? Something like this -

define_extract_cps(
  samples = select(starts_with("2022"))
)
@robe2037
Copy link
Collaborator

robe2037 commented Dec 14, 2022

@samrkuhn Thanks for the suggestion!

Since the CPS metadata API has not been fully developed, we aren't able to provide this type of querying (yet!). However, when metadata does become available by API, we do intend to add functionality to make it easier to integrate metadata queries with extract definitions.

Until we have a better sense of the endpoints/other details for the metadata API, we won't know for sure how this will look (e.g. you may have to retrieve + filter metadata with a separate function and pass these values to your extract definition), but it's on our to-do list.

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

No branches or pull requests

2 participants