agg_abolished_mun: Aggregate abolished municipalicities

View source: R/post_process.R

agg_abolished_munR Documentation

Aggregate abolished municipalicities

Description

Aggregate abolished municipalicities

Usage

agg_abolished_mun(x, value_cols = c("values"), n_col = FALSE, na.rm = FALSE)

Arguments

x

A data.frame like object.

value_cols

A character vector of name of columns to aggregate.

n_col

A locigal to include number of observations in aggragation

na.rm

logical. Should missing values (including NaN) be removed?

Examples

x <- data.frame(
  alue_code = c("KU911", "KU541"),
   alue_name = c("A", "B"), values = c(1,2))
agg_abolished_mun(x)
agg_abolished_mun(x, n_col = TRUE)


pttry/pttdatahaku documentation built on Jan. 25, 2025, 10:37 a.m.