Explore and Manipulate Data
This week's assignment was to write a script that could create a new geodatabase, copy the features from the data folder to the new geodatabase, and using a search cursor create a new dictionary populated with the name, feature type, and population of each County Seat in New Mexico.
I completed the assignment easily enough, but I did have some difficulties throughout the process. I mainly received nameErrors and executeErrors. These were due to my mixing up d's and b's when typing out "gdb" in the code, and the code running partially then not being able to overwrite what had been previously created when rerunning it after fixing the errors. Below is the finished code.
Comments