calculate_pop_weighted_score: Population-weighted scores

View source: R/pop_weighted_scores.R

calculate_pop_weighted_scoreR Documentation

Population-weighted scores

Description

Calculate population-weighted scores within small areas.

Usage

calculate_pop_weighted_score(data, var, higher_level_geography, population)

Arguments

data

Data frame containing a variable to be aggregated, lower level geography population estimates, and a higher level geographical grouping variable

var

Name of the variable in the data frame containing the variable to be aggregated (e.g. rank) for the lower level geography

higher_level_geography

Name of the variable in the data frame containing the higher level geography names/codes

population

Name of the variable in the data frame containing the population estimates of the lower level geography


IMD documentation built on Sept. 30, 2022, 5:06 p.m.