Code which measures community linkage in the context of product and service associations