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

Data Browser API to query a specific aggregation? #4851

Open
jmurphy-asurity opened this issue Jul 16, 2024 · 0 comments
Open

Data Browser API to query a specific aggregation? #4851

jmurphy-asurity opened this issue Jul 16, 2024 · 0 comments
Assignees

Comments

@jmurphy-asurity
Copy link

I can use the data browser API to query the 2022 HMDA data as follows:
curl "https://ffiec.cfpb.gov/v2/data-browser-api/view/aggregations?states=MD&years=2022&actions_taken=1,6". If I run this today it gives me the count by action for actions 1 and 6 in MD from the 2022 One Year National Loan-Level Dataset as of May 1, 2024. When I ran it a month ago it gave me the same query from the 2022 Snapshot National Loan-Level Dataset as of May 1, 2023, with very different numbers. Is it still possible to use the API to query the 2022 Snapshot National Loan-Level Dataset as of May 1, 2023? It's listed here on the Static Datasets FAQ page but I can't see any argument to specify it in the API.

If there's not currently any way to do it, can there be one? It would be useful to have the numbers to validate historical data, such as the aggregates used in CRA PE tables. It would be great if the api had a query arg to select the specific aggregate Snapshot|OneYear|ThreeYear.

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

3 participants