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

Add a "Did you mean...?" help message for columns #16

Open
amanda-hi opened this issue Mar 26, 2024 · 0 comments
Open

Add a "Did you mean...?" help message for columns #16

amanda-hi opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@amanda-hi
Copy link
Contributor

Currently, the user must run columns() to view a list of all available data types (columns) in the database. I myself often run into the problem of using a column value of "ENTREZ" (incorrect) instead of "ENTREZID" (correct), or perhaps using "ENSEMBLID" (incorrect) instead of "ENSEMBL" (correct). I think must run columns(SomaScan.db) to view & identify the correct values.

It would be nice to output a "Did you mean...?" message after the user provides an incorrect column name, with a grep() performed under the hood to list all similar columns names/potential matches. This will be faster than running a separate columns() call, and hopefully could be implemented for keytypes() as well.

@amanda-hi amanda-hi added the enhancement New feature or request label Mar 26, 2024
@amanda-hi amanda-hi self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant