stl_merge: Combines rows of data from the two St. Louis counties into...

View source: R/peer_utils.R

stl_mergeR Documentation

Combines rows of data from the two St. Louis counties into one.

Description

Combines rows of data from the two St. Louis counties into one.

Usage

stl_merge(
  df,
  ...,
  weight_var = "",
  method = "mean",
  simple = F,
  other_grouping_vars = "",
  just_replace_FIPS = F,
  keep_counties = F
)

Arguments

...

Column names to combine.

weight_var

A variable to use when weighting the counties. Defaults to population.

method

"mean" or "sum". Defaults to mean.

df_original

A data frame.


greaterlouisvilleproject/glptools documentation built on Feb. 9, 2025, 11:21 a.m.