code to edit shapefiles - working for most of the states (except GA, NY, NC, TX) using the rgdal library. testing the use of foreign package to edit the dbf file directly.
fully working version - uses foreign library to read and edit .dbf files. all states run fine, no problems with large states (unlike the rgdal package)
one minor edit to the working version