Simple method for estimating data down to a lower level. This is most often useful for getting election data down from a precinct level to a block level in the case that a state or other jurisdiction split precincts when creating districts. Geographic partner to estimate_down.
geo_estimate_down(from, to, wts, value, method = "center")
Larger geography level
smaller geography level
numeric vector of length nrow(to). Defaults to 1. Typically population or VAP, as a weight to give each precinct.
numeric vector of length nrow(from). Defaults to 1. Typically electoral outcomes, as a value to estimate down into blocks.
string from center, centroid, point, or area for matching levels
numeric vector with each value split by weight