load_pf_core: Helper to load core PartyFacts data

View source: R/load_pf_core.R

load_pf_coreR Documentation

Helper to load core PartyFacts data

Description

This function allows to conveniently load PartyFacts data and subset the countries of interest.

Usage

load_pf_core(countries = NULL)

Arguments

countries

A character vector of VDEM country codes.

Value

A tibble with PartyFacts data for the countries of interest.

Examples


library(partymakeR)

## Not run: 

# Define countries of interest
countries <- c("AFG", "AIA")

# Load data
dat_pf_core <- load_pf_core(countries = countries)


## End(Not run)


RobertoValli/partymakeR documentation built on June 15, 2022, 2:12 p.m.