The legislator API does not return OpenStates district IDs - it only provides district names. So if one wants to associate the legislator with a district from the district API, one must use the state+chamber+name to match them up.
In the MA lower house, the legislator API provides district fields named using digits, e.g.:
The legislator API does not return OpenStates district IDs - it only provides district names. So if one wants to associate the legislator with a district from the district API, one must use the state+chamber+name to match them up.
In the MA lower house, the legislator API provides district fields named using digits, e.g.:
but the district API has the digits spelled out, e.g.:
making them very difficult to associate.