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

Expect exact matches on -g/--geometry-level #80

Closed
andrewphilipsmith opened this issue Aug 12, 2024 · 1 comment
Closed

Expect exact matches on -g/--geometry-level #80

andrewphilipsmith opened this issue Aug 12, 2024 · 1 comment

Comments

@andrewphilipsmith
Copy link
Contributor

When specifying a geometry level (-g/--geometry-level), I would expect the default behaviour to only include expected matches. Failing that, I would like an option to require exact matches only.

How to reproduce

popgetter metrics -c gb_eaw -g "oa" -t "Number of cars or vans"

Expected Result

Only return results where geometry=="oa"

Actual Result

Returns results where str(geometry).contains("oa"). (eg msoa, lsoa, oa)

@sgreenbury
Copy link
Contributor

Closing as superseded by #81.

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