Right, I was not planning on anything that complex. Far more of:
Each trade rout I have with X civ generates 1/f spies worth of espionage with them.
The side idea of tourism would be more along the lines of:
Tourism above a certain threshold generates espionage with all known civs. (With maybe a small inclusion of a multiplier based on their race traits.)