process_map_og: Create tract, nh, and muw map files from a map data frame

View source: R/map_utils.R

process_map_ogR Documentation

Create tract, nh, and muw map files from a map data frame

Description

Create tract, nh, and muw map files from a map data frame

Usage

process_map_og(
  map_df,
  ...,
  pop,
  pop_adjust = F,
  return_name = NULL,
  method = "mean",
  maps = c("tract", "nh", "muw"),
  keep_pop = FALSE
)

Arguments

map_df

A data frame of census tracts with a 20-digit ID colum

pop

The population variable

return_name

The name of the maps to return. Suffixes will be appended.

method

The method used to aggregate tracts. percent adds counts and populations to create a percentage mean takes values and weights to create a weighted mean sum adds counts and ignores the populations median creates a weighted median

maps

The type of maps to return. Defaults to tract, nh, and muw.

variables

A character vector of variables


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