I'm running R 2.13 on Ubuntu 10.10

I have a data set which is comprised of character strings.

site = readLines('http://www.census.gov/tiger/tms/gazetteer/zips.txt')

dat <- c("01, 35004, AL, ACMAR, 86.51557, 33.584132, 6055, 0.001499")
dat

I want to loop through the data and construct a data frame with the zip
code,
state abbreviation, and city name in seperate columns. Given the size of
this
data set, I was wondering if there was an efficient way to get the desired
results.

Thanks
Abraham


WebRep
Overall rating

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to