fetch_memberships_from_url
fetches data on the members of a given
committee from a Members endpoint URL and returns it as a tibble containing
one row per committee membership. This internal function allows generic
handling of requests for this data to the Members endpoint with different
URL parameters.
1 2 3 4 5 6 | fetch_memberships_from_url(
committee_id,
url,
summary = TRUE,
fetch_name = TRUE
)
|
committee_id |
An integer representing the id of the committee for which to fetch members. |
url |
A valid URL requesting data for the given committee id from the Memberships endpoint. |
summary |
A boolean indicating whether to exclude nested and empty columns in the results. The default is TRUE. |
fetch_name |
A boolean indicating whether to add the committee name by making an extra call to the API. The default is TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.