is_pibble: Check whether an object has been declared as panel data

Description Usage Arguments Examples

View source: R/pibble.R

Description

Checks whether a data set (data.frame or tibble) has been assigned panel identifiers in the pmdplyr format. If so, returns those identifiers.

Usage

1
is_pibble(.df, .silent = FALSE)

Arguments

.df

Data frame or tibble

.silent

Set to TRUE to suppress output reporting what the panel identifiers are. Defaults to FALSE

Examples

1
2
3
data(Scorecard)
Scorecard <- as_pibble(Scorecard, .i = "unitid", .t = "year")
is_pibble(Scorecard)

pmdplyr documentation built on July 2, 2020, 4:08 a.m.