Skip to content

Conversation

@pkn4645
Copy link

@pkn4645 pkn4645 commented Apr 6, 2020

great project @ahmadawais 👍

I had a need to work with some individual state data and wanted to filter the results to save time. The change as implemented is very simple. I checked and it did not appear that the underlying API supported a state filter so I just did it on the client side.

I also added examples to the readme under the states section.

Hope this is helpful.

Questions or comments welcome.

thanks

pkn4645 added 5 commits April 4, 2020 12:59
added optional stateName parameter to getStates.js

to test:

node index.js states --stateName Tennessee

node index.js states --stateName "North Carolina"
- update readme with examples for single state
- clean up some changes
simplify code for state parameter
filter by state changes
@pkn4645
Copy link
Author

pkn4645 commented Apr 12, 2020

thoughts? feedback?

thanks

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

Successfully merging this pull request may close these issues.

1 participant