Because people are involved in producing most of this data, it's
very unpredictable. What was right yesterday when you pulled
the data might not be true tomorrow. Plan on the data being
unpredictable and you'll safeguard your processes.
Case in point, a few years ago I built the first version of the
Texas Tribune bills tracker. We started work on it in November
and session started the first week of January. I built everything
up using the previous session (81st) as the model. One of those
pieces of data was that Senator Dan Patrick was always shown in
their data as "Patrick, Dan".
There were two Patricks in the legislature. Dan Patrick was a
senator and Diane Patrick was a representative. Since there were
two, they had their names adjusted to show that they were distinct.
Or that's the way it was in the 81st Session.
Starting the day after the 82nd Session kicked off, Dan
Patrick's name was presented as Patrick. Apparently, it was
decided that senators should have just their last names
displayed if there were no other senators that conflicted and
representatives would get the Last, First treatment.