combine_party_memberships | R Documentation |
combine_party_memberships
takes a tibble of party memberships and
combines historically consecutive memberships of the same party into a
single continuous memberships with the start date of the first membership
and the end date of the last. Combining the memberships in this way means
that party membership ids from the data platform are not included in the
dataframe returned.
combine_party_memberships(pm)
collapse |
A tibble containing party memberships as returned by one of the fetch party membership functions. |
A tibble of party memberships, with one row per party membership. The memberships are processed and combined so that there is only one party membership for a period of continuous membership within the same party.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.