Split taxon searchTerm

sanitise_input(searchTerm, searchType)

Arguments

searchTerm

Mandatory character string (in case of searchType = sequence, culturecollectionno or taxon) or integer (in case of bacdive_id), specifying what shall be searched for.

searchType

Mandatory character string that specifies which type of search will be performed (technically, which API endpoint). Can be taxon (default), bacdive_id, sequence, or culturecollectionno.

Value

A character string with possibly sanitised searchType, see example.