Learn how to use Python and Arcpy with ArcMap
This shapefile changed slightly over the years, You may need to use this query instead -
""" "NAME" = 'United States of America'""" not "United States"
In newer versions of this shapefile the NAME value changed from United States to United States of America. Thanks to all the commenters for pointing this out.
New Series on ArcGIS Pro! • ArcGIS Pro Scripting with Python and ...
Code available on GitHub - https://github.com/franchyze923/Code_...
Instagram - / franchyze923
Twitter - / franchyze923
Discord - / discord