Filter through profiles
SortingHat provides several filters which can be used to filter through the lists of individuals to find the required one. You can filter through the profiles according to the following filters.
isBot
Filter profiles marked as bots. For exampleisBot: true
will return all profiles marked as bot and vice versa.
isLocked
Filter profiles marked as locked. For exampleisLocked: true
will return all profiles marked as locked and vice versacountry
Filter profiles according to country of residence. For examplecountry: "United States of America
orcountry: USA
return individuals from the United States.gender
Filter profiles based on their gender. For examplegender: non binary
source
Filter profiles based on data source. For examplesource: Github
enrollment
Filter profiles based on organisations. For exampleenrollment: "Bitergia"
isEnrolled
Filter profiles based on enrollment status. For exampleisEnrolled: true
will return all profiles currently enrolled at some organisation and vice versa-
enrollmentDate
Filter profiles based on when they were affiliated to an organisation.Filter Explanation enrollmentDate:>YYYY-MM-DD
Matches individuals that were affiliated to an organization after the given date. enrollmentDate:>=YYYY-MM-DD
Matches individuals that were affiliated to an organization on or after the given date. enrollmentDate:<YYYY-MM-DD
Matches individuals that were affiliated to an organization before the given ;date. enrollmentDate:<=YYYY-MM-DD
Matches individuals that were affiliated to an organization on or before the given date. enrollmentDate:YYYY-MM-DD..YYYY-MM-DD
Matches individuals that were affiliated to an organization between the given dates -
lastUpdated
Filter profiles based on when they were last updated.Filter Explanation lastUpdated:>YYYY-MM-DD
Matches individuals that were updated after the given date lastUpdated:>=YYYY-MM-DD
Matches individuals that were updated on or after the given date. lastUpdated:<YYYY-MM-DD
Matches individuals that were updated before the given date. lastUpdated:<=YYYY-MM-DD
Matches individuals that were updated on or before the given date lastUpdated:YYYY-MM-DD..YYYY-MM-DD
Matches individuals that were updated between the given dates.