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

consider option to ignore key lookup in occ_download() #670

Open
jhnwllr opened this issue Aug 10, 2023 · 4 comments
Open

consider option to ignore key lookup in occ_download() #670

jhnwllr opened this issue Aug 10, 2023 · 4 comments

Comments

@jhnwllr
Copy link
Collaborator

jhnwllr commented Aug 10, 2023

I think it would be nice to allow users who know what they are doing to ignore the key lookup.

#668

@dmi3kno
Copy link
Contributor

dmi3kno commented Aug 11, 2023

By "ignore lookup" do you mean adding non-key fields to the predicates (e.g. kingdom, phylum, class, order, family, genus, subgenus, and species)?

@jhnwllr
Copy link
Collaborator Author

jhnwllr commented Aug 11, 2023

Just allow users to bypass the lookup if they know what they are doing, so I don't have to always add new terms to the dictionary. Something like ignore_key_lookup=TRUE. The default would be FALSE.

@dmi3kno
Copy link
Contributor

dmi3kno commented Aug 11, 2023

They would need to write in ALL_CAPS then, right?

@jhnwllr
Copy link
Collaborator Author

jhnwllr commented Aug 11, 2023

I was thinking something like this...

occ_download(pred("new_key_not_in_look_up",123232),ignore_key_lookup=TRUE)

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