How to get district for a person

I am looking at this record:

This person belongs to District 21. I am unable to get the district. This is what I am trying:

{
    bill(id: "ocd-bill/c7762965-8eb2-43e6-aada-e35bf2ebe96b") {
        id
        identifier
        title
        sponsorships {
            person {
                id
                
                familyName
                name
                givenName
                contactDetails {type value note label }
                identifiers {
                    identifier
                    scheme
                }
                currentMemberships {
                    organization {
                        classification
                        name
                    }
                }
                links {
                    url
                }
                otherNames {name}
            }
            name
            entityType
            primary
            classification
        }
    }
}

The membership is on the post node within currentMemberships

add post {label} to currentMemberships and you should be good.

1 Like

Thank you very much for this. Would you please let know how can get the person’s party, ie Democrat or Republican?

Actually, I figured it out:

            party:currentMemberships(classification:"party") {
                organization{
                    classification
                    name
                }
            }

This topic was automatically closed 70 days after the last reply. New replies are no longer allowed.