Skip to contents

given data.table with blockid column, get state abbreviation of each - not used?

Usage

state_from_blockid_table(dt_with_blockid)

Arguments

dt_with_blockid

Value

vector of ST info like AK, CA, DE, etc.

Examples

x = sample(blockpoints$blockid, 3)
state_from_blockid_table(blockpoints[blockid %in% x, ])[]
#> Error in state_from_blockid_table(blockpoints[blockid %in% x, ]): could not find function "state_from_blockid_table"
mapfast(blockpoints[blockid %in% x, ])
table(state_from_blockid_table(testoutput_getblocksnearby_10pts_1miles)) #> Error in state_from_blockid_table(testoutput_getblocksnearby_10pts_1miles): could not find function "state_from_blockid_table" # unique(state_from_latlon(testpoints_10)$ST) # slow all.equal(state_from_blockid(x), state_from_blockid_table(blockpoints[blockid %in% x, ])) #> Error in state_from_blockid(x): could not find function "state_from_blockid"