per_capita_adj: Create population-adjusted variables

View source: R/glp_utils.R

per_capita_adjR Documentation

Create population-adjusted variables

Description

Create population-adjusted variables

Usage

per_capita_adj(
  df,
  ...,
  pop_var = "population",
  geog,
  keep_vars = T,
  keep_pop = F,
  other_grouping_vars = "",
  scale = 1
)

Arguments

df

A data frame

...

Variables

geog

The geography

keep_vars

Keep original variables?

keep_pop

Keep population in data frame


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