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

Error with max number of series that can be retrieved. #22

Open
christianjauregui opened this issue Apr 1, 2019 · 3 comments
Open

Error with max number of series that can be retrieved. #22

christianjauregui opened this issue Apr 1, 2019 · 3 comments

Comments

@christianjauregui
Copy link

Even with a public API key, I am unable to retrieve more than 50 series at a time? Could you help me with this? Thank you!

@OliverSherouse
Copy link
Owner

That's a limitation of the API (see the documentation). I suppose I could do multiple pulls and merge them, which is what you should do as a workaround. Out of curiosity, what's your use case?

@christianjauregui
Copy link
Author

christianjauregui commented Apr 3, 2019 via email

@besarthoxhaj
Copy link

Moreover, given the daily limits, another approach would be to download the txt file itself.

https://download.bls.gov/pub/time.series/cu                    # directory
https://download.bls.gov/pub/time.series/cu/cu.txt             # documentation
https://download.bls.gov/pub/time.series/cu/cu.data.1.AllItems # be careful is big
# or
https://download.bls.gov/pub/time.series/ce                        # directory
https://download.bls.gov/pub/time.series/ce/ce.txt                 # documentation
https://download.bls.gov/pub/time.series/ce/ce.data.0.AllCESSeries # be careful is big

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

No branches or pull requests

3 participants