maad.util.xc_multi_query

maad.util.xc_multi_query(df_query, max_nb_files=None, format_time=False, format_date=False, random_seed=1979, verbose=False)[source]

Multi_query performs multiple queries following the search terms defined in the input dataframe

Parameters:
df_querypandas DataFrame

Dataframe with search terms. Each row corresponds to a new query. Columns corresponds to the search terms allowed by Xeno-Canto

max_nb_files: integer, optional

Maximum number of audio files requested. The default is None

format_timeboolean, optional

Time in Xeno-Canto is not always present neither correctly formated. If true, time will be correctly formated to be processed as DateTime format. When formating is not possible, the row is dropped. The default is False

format_dateboolean, optional

Date in Xeno-Canto is not always present neither correctly formated. If true, rows with uncorrect format of date are dropped.

random_seedinteger, optional

Fix the random seed in order to get the same result every time the function is called

verboseboolean, optional

Print messages during the execution of the function. The default is False.

Returns:
df_datasetpandas DataFrame

Dataframe containing all the recordings metadata matching the search terms.