LibraryOfCongress / api.congress.gov

congress.gov API
642 stars 39 forks source link

More than one copy of a bill; `9hr77`. #161

Closed c4lliope closed 8 months ago

c4lliope commented 11 months ago
{
    "error": "get() returned more than one Bill -- it returned 2! (MultipleObjectsReturned)",
    "request": {
        "billNumber": "77",
        "billType": "hr",
        "congress": "9",
        "contentType": "application/json",
        "format": "json"
    }
}
rbram commented 11 months ago

Hello. In earlier Congresses, such as those of the late 18th and early 19th centuries, there will be instances where bill numbering is not clear or evident. At this point in time, Congressional staff had not yet standardized how bills get numbered. Thus, there are instances where two legitimate bills have been assigned the same number. To make a distinction between the first session-introduced bill and the second session-introduced bill we add the “introduction date” to the URLs for these bills on Congress.gov. However, this distinction is not evident when returning data within the Congress.gov API. We will create a ticket to investigate how to accommodate these types of bills and provide an update on our findings and fixes soon. Please refer to the change log in coming weeks for updates on this.

c4lliope commented 11 months ago

Bypassed: c4lliope pushed 1 commit to branch main.

https://labori.us/#narrow/stream/3-code/topic/reap.20.2F.20main