estat_activate {japanstat}R Documentation

Determine which estat object key to edit.

Description

Determine which estat object key to edit.

Usage

estat_activate(x, pattern, new_name = NULL)

estat_activate_tab(x, new_name = NULL)

estat_activate_time(x, new_name = NULL)

estat_activate_area(x, new_name = NULL)

estat_activate_cat(x, n, new_name = NULL)

Arguments

x

A estat object.

pattern

Pattern to look for.

new_name

New column name.

n

A category number.

Value

The estat object which the selected key is active.

Examples

estat_activate_tab(estat_census_2020)
estat_activate_cat(estat_census_2020, 1)
estat_activate_area(estat_census_2020)
estat_activate_time(estat_census_2020)

[Package japanstat version 0.1.0 Index]