manifestoR (version 1.2.4)

attach_year: Compute year from date variable in MPDS

Description

Compute year from date variable in MPDS

Usage

attach_year(mpds)

Arguments

mpds

a dataframe in format of Manifesto Project Main Dataset

Value

input data with year variable attached