I don’t really have enough information. You said you want to add these values to a taxonomy, so that’s what I’m going on.
But how do I put the info $location[ ‘city’ ] and $location[ ‘state’ ] into the Taxonomies.
I would need more information on what this means