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

genomics locations: can't get to a particular location #78

Open
flaneuse opened this issue Nov 4, 2021 · 2 comments
Open

genomics locations: can't get to a particular location #78

flaneuse opened this issue Nov 4, 2021 · 2 comments

Comments

@flaneuse
Copy link
Contributor

flaneuse commented Nov 4, 2021

b117_nyc = getPrevalence(pangolin_lineage = "B.1.1.7", location="New York")

... if you know you want to look at the county New York, there's no way to access this info without going through the dialogue box to say Y/N.

b117_nyc = getPrevalence(pangolin_lineage = "B.1.1.7", location="New York City")

ideally, should be able to supply a location_id rather than just a name, and within the geo lookup function, to filter by admin level (e.g. look for name: New York + admin_level == 1

@kevinmcdermott062
Copy link

Similar issue as above. All my other queries for other locations work fine, but query for New York requires a reply to a console prompt and this doesn't work when I want to knit and render the document as html output using Rmarkdown.

XBB.1.5_NY <- getPrevalence(pangolin_lineage = "XBB.1.5", location="New York")

XBB.1.5_NY <- getPrevalence(pangolin_lineage = "XBB.1.5", location="New York")
New York, United States (state/province)
Is this a location of interest? (Y/N): y

@flaneuse
Copy link
Contributor Author

@kevinmcdermott062 thanks for the comment. We agree it would be useful to be able to select a location based on an ISO code rather than a name. We plan on adding this feature but haven't had the bandwidth to refactor it yet.

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