get_wave: Retrieve panel_data metadata

Description Usage Arguments Value Examples

View source: R/panel_data.R

Description

get_id(), get_wave(), and get_periods() are extractor functions that can be used to retrieve the names of the id and wave variables or time periods of a panel_data frame.

Usage

1
2
3
4
5

Arguments

data

A panel_data frame

Value

A panel_data frame

Examples

1
2
3
4
5
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
get_wave(wages)
get_id(wages)
get_periods(wages)

panelr documentation built on Jan. 18, 2021, 5:06 p.m.