Roper Center iPoll integration blocks for Pew Research Center. Three blocks work together (or alone for a single question) to query the Roper API and render Chart Builder bar charts. Domestic (US) data only.
Package: @prc/roper
Source: plugins/prc-roper/
Editors assemble search pages with Context Provider, Results, and Item. Developers maintain REST preview routes and API credentials in includes/class-roper-api.php. Successful Roper responses also fill a private survey-question catalog. See Architecture.
Choose a path
Who are you?
Start with the guide that matches your work.
Documentation
For editors
- User guide — search vs fixed query, filter recipes, Survey Questions in wp-admin
Block narratives
- Roper Context Provider —
prc-roper/context-provider - Roper Results —
prc-roper/results - Roper Item —
prc-roper/item
For maintainers
- Architecture — private
survey-questionstore and Roper-replacement phases
For consumers
- REST API —
prc-api/v3/roper/*
Related
- Chart Builder — bar charts inside Roper Item
- Legacy
prc-block/roper-db-search— hosted iframe embed; prefer this plugin for new work