A non-transitory computer readable medium having stored thereon a sequence of instructions which, when stored in memory and executed by a processor, causes the processor to perform a set of acts, the acts comprising:
- receiving, at a data management server, one or more user identifiers, each of the one or more user identifiers obfuscating personally-identifiable information associated with a specific user device;
- collecting user data identifying a plurality of user records, each user record of the plurality of user records including a user identifier of the one or more user identifiers and a demographic attribute;
- receiving a specification record comprising a demographic attribute to be used in a user record selection operation, the specification record corresponding to a request for user non-personally-identifiable information associated with a user, wherein the data management server cannot share the non-personally-identifiable information unless a correspondence of the non-personally-identifiable information to personally-identifiable information has been obfuscated;
- performing the user record selection operation on the plurality of user records to retrieve a first group of user records, each user record in the first group of user records including the demographic attribute comprised in the specification record, wherein one or more user records of the first group of user records includes an additional demographic attribute in addition to the demographic attribute comprised in the specification record, and wherein at least one user record of the first group of user records comprises a user identifier and non-personally-identifiable information;
- applying a first set of rules over the first group of user records, the application of the first set of rules forming a second group of user records from the first group of user records by performing the following:
- determining, for a first user record of the first group of user records, whether a value of the demographic attribute comprised in the specification record and included in the first user record is mutually exclusive with a value of the demographic attribute comprised in the specification record and included in a second user record of the first group of user records;
- and
- in response to determining that the value of the demographic attribute comprised in the specification record and included in the first user record is mutually exclusive with the value of the demographic attribute comprised in the specification record and included in the second user record, excluding the first user record from the first group of user records;
- forming a second group of user records based on user records remaining after the exclusion of the first user record from the first group of user records;
- modifying the second group of user records so that each user record of the second group of user records includes the demographic attribute comprised in the specification record and the additional demographic attribute that is included in each of the one or more user records of the first group of user records, wherein modifying the second group of user records obfuscates any correspondence of the non-personally-identifiable information to personally-identifiable information;
- identifying an anonymity measure associated with the modified second group, wherein the anonymity measure is based at least in part on how many user records are included in the modified second group of user records;
- and
- transmitting a data set representing the modified second group to a recipient after determining that the anonymity measure satisfies a threshold of anonymity, wherein the modified second group is transmitted without sharing personally identifiable information, and wherein the data set is not transmitted after determining that the anonymity measure does not satisfy the threshold of anonymity.