Displaying 1 result from an estimated 1 matches for "addresses_coded_new".
2010 Jun 21
2
Return value associated with a factor
...r?
By way of example, for Lon=-82.49574 and Lat=29.71495, the code returns
state = 1, county = 1 and tract = 161. The desired results are state=12,
county = 001 tract = 002201.
#set libraries
library(UScensus2000tract)
library(gdata)
data(florida.tract)
#read input
dbs.in = read.delim("addresses_coded_new.txt", header = TRUE, sep = "\t",
quote="\"", dec=".")
#instantiate output
more.columns <- data.frame( state=double(0),
county=double(0),
tract=double(0))...