Learn R Programming

manifestoR (version 1.5.0)

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