makeUS_coordinates: make Coordinate of US State centers

Description Usage Arguments References See Also Examples

Description

optionally one can supply a list that groups states together. like census divisions. the relevant location is then just the average of the coordinates of the constituting states

Usage

1

Arguments

agg

list of character vectors of state abbreviations that should be aggregated into one location

References

http://staff.washington.edu/glynn/dist_matrix.pdf

See Also

Other makers: makeAbbreviations, makeAllData, makeCPIUS, makeFHFA, makeLincolnHomeValues, makeMORTGAGE30US, makeMedianIncome, makeUS_distance

Examples

1
2
3
all <- makeUS_coordinates()
aggregated <- makeUS_coordinates(agg=list(c("ME","VT"),c("ND","SD","WY")))
Divisions <- makeUS_coordinates(agg=list(c("ME","VT"),c("ND","SD","WY")))

floswald/EconData documentation built on May 16, 2019, 1:23 p.m.