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

Use the Federal Register API via http instead of the Ruby Gem #9

Open
ondrae opened this issue Oct 16, 2020 · 0 comments
Open

Use the Federal Register API via http instead of the Ruby Gem #9

ondrae opened this issue Oct 16, 2020 · 0 comments
Labels
Data! building an oh so fine data pipeline
Projects

Comments

@ondrae
Copy link
Contributor

ondrae commented Oct 16, 2020

What

Replace the Federal Register Ruby Gem with plain http requests to the API.

Why

The Federal Register Ruby Gem isn't feature complete. The two main missing features are:

  • Filtering on TYPE: 'NOTICE' doesn't work. Our prototypes are full of non-notices.
  • The data filter only takes exact days, not years like the API does. This is useful for exploring the data.

How

We are already using the httparty to make other web requests, use it to make these API calls as well. They have an example of how to turn it into its own class. Do that or just have big long ugly urls, that works too.

@ondrae ondrae created this issue from a note in Phase 4 (Icebox) Oct 16, 2020
@ondrae ondrae added the Data! building an oh so fine data pipeline label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data! building an oh so fine data pipeline
Projects
Phase 4
  
Icebox
Development

No branches or pull requests

1 participant