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

all_available_quarters() not reading JSON #6

Open
dkgaraujo opened this issue Jan 17, 2023 · 1 comment
Open

all_available_quarters() not reading JSON #6

dkgaraujo opened this issue Jan 17, 2023 · 1 comment

Comments

@dkgaraujo
Copy link
Owner

As reported by a user behind a corporate firewall:

image

Note:

  • Other uses behind the same firewall report successfully using this function
@dkgaraujo
Copy link
Owner Author

I suspect this problem might occur due to one of two issues.

The first possibility is an issue during the download of the JSON file. It happens occasionally and seems to be associated with a server-side limit. If this is the case, the best solution is to try again after a while.

The second possibility is a problem when saving the JSON file locally, if the argument cache_json is set to TRUE (the default). A potential solution is to explicitly set this argument to FALSE and try again.

If all the user wants is bank-level data from 2017 or more recently, brazilianbanks provides out-of-the-box a dataset that might be helpful. This dataset (currently only until Dec 2021 but in the near future also including the most recent data) is accessible with the following code:

> library(brazilianbanks)
> brazilian_banks_201703_202112

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

1 participant