Search the Partyfacts Wikipedia dataset for a party by name and/or country.
Arguments
- party_name
A character string to search for in party names. The search is case-insensitive and matches partial names.
- country
Optional. ISO 3-letter country code (e.g., "DEU", "USA", "GBR") to filter results.
- data
Optional. A Partyfacts dataset (from [get_partyfacts_wikipedia()]). If not provided, downloads the data automatically.
- exact
Logical. If `TRUE`, requires exact match on party name. Default is `FALSE` (partial matching).
