api icon indicating copy to clipboard operation
api copied to clipboard

Is there a way to get cfrparts data via API?

Open anuraggulati opened this issue 3 years ago • 6 comments

Hello, The API allows us to query LSA and then download htm/pdf of all the CFR parts affected. This means if we want to see if anything was published in the FR that affects a CFR title we are interested in, we need to download all the LSAs for that time period, get the htms, and parse them.

This link https://www.govinfo.gov/app/cfrparts/publishdate%3Arange(,2020-08-20) seems to indicated that there is a data structure available where we can simply get the CFR parts affected in a more structured fashion as compared to parsing htm.

Is there a programmatic way to access data as presented in this link ?https://www.govinfo.gov/app/cfrparts/publishdate%3Arange(,2020-08-20)

Thanks

anuraggulati avatar Aug 20 '20 18:08 anuraggulati

Hi, Would someone be able to pick this up please?

Thanks, Anurag

anuraggulati avatar Aug 24 '20 15:08 anuraggulati

@anuraggulati -- there is currently no way to access that information via the Public API.

I will add this as an item for us to explore making available.

jonquandt avatar Aug 24 '20 15:08 jonquandt

Many thanks Jon. This will be most useful. There are genuine cases where proposed rules in FR take a few years before coming into effect so are not included in the CFR. In such cases, to find the impacting FRs is quite cumbersome via the LSA+FR lookup.

PS: What's the best way to report an error in data served by the CFRParts link? Credit Risk Retention (+extension notice) does not affect title 17 part 43 but is shown here: https://www.govinfo.gov/app/cfrparts/publishdate%3Arange(,2020-08-20)

Believe this is a mistake and these should be included in Title 12....

anuraggulati avatar Aug 24 '20 16:08 anuraggulati

Thanks for reporting this. We'll look into the issue you mentioned. I'm not sure how that is populating incorrectly at this point.

jonquandt avatar Aug 24 '20 16:08 jonquandt

Hi @jonquandt - Just wondering if there has been movement on this? Thanks

anuraggulati avatar Sep 18 '20 10:09 anuraggulati

This is an item on the backlog. Looking to see if it can get into the next release. It did not make it into our September release.

jonquandt avatar Sep 22 '20 03:09 jonquandt