PoolingClient
The PoolingClient object used for fetching information through different API calls, each with different parameters.
Attributes
Note: There is nothing to guarantee that the fetched participants via this object don't have duplicates. It's up to you to use this data and infer from it at your own risk.
Example:
Query 1: Participants whose companies work on B2B solutions and have a cs degree.
Query 2: Females who work in front-end and have a cs degree.
Among these 2 queries, a female could fulfill both sets of criteria. The wrapper doesn't currently implement safeguards to prevent duplicates in query results.
Methods
get_df()
get_df()
Returns a pandas.DataFrame
instance of the aggregated participant data from the queries.
Parameters
No parameters
Returns
A pandas.DataFrame
instance containing the fetched data as one row per fetched participant.
save_csv(filename: str)
save_csv(filename: str)
Parameters
filename
str
The name of the .csv
file to dump the fetched participant data in (without extension). No extension is needed explicitly as it's added during the file-saving process.
"my_awesome_data"
Returns
None
save_excel(filename: str)
save_excel(filename: str)
Parameters
filename
str
The name of the .xlsx
file to dump the fetched participant data in (without extension). No extension is needed explicitly as it's added during the file-saving process.
"my_awesome_data"
Returns
None
Last updated