Compare location memberships
See which member codes a named location kept, gained or lost between two dates.
get
https://api.ukdataatlas.com/v1
/locations/{location-id}/comparisonGood to know
- The comparison covers the location's direct members only; it does not convert them through a crosswalk.
location-idstringrequiredA curated named location id from
GET /v1/locations, e.g.greater-manchester.
fromstringrequiredtostringrequired
Returns
objectRetained, added and removed direct member codes.
- 400A query parameter is malformed or its cursor is not valid for this result set.
- 404No resource matches that identity.
Every error has the same shape. See Errors for how to handle them.