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

NAICS 2-digit codes that are ranges will break above & below retrieval #1

Open
louh opened this issue May 22, 2013 · 1 comment
Open
Labels

Comments

@louh
Copy link
Member

louh commented May 22, 2013

Examples:

http://naics-api.herokuapp.com/v0/q?year=2012&code=446199&above=1 (44-45 is the 2-digit, top level code, which is returned as null)

http://naics-api.herokuapp.com/v0/q?year=2012&code=31-33&above=1 (does not work)

http://naics-api.herokuapp.com/v0/q?year=2012&code=31&above=1 (works, but also returns the 31-33 entry)

@louh
Copy link
Member Author

louh commented Sep 9, 2013

Some progress has been made here. Current issues:

http://naics-api.herokuapp.com/v0/q?year=2012&code=44-45&below=1

Expected: All NAICS codes that start with 44 or 45.

Returned: Nothing.

http://naics-api.herokuapp.com/v0/q?year=2012&code=44-45&above=1

Expected: Nothing.

Returned: Code 44-45, with two additional null entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant