Skip to contents

If id_set is an id_list then this is equivalent to length(). If it is a web_history, this may involve an Entrez API call to get the number of entries. In this case the result is cached so that subsequent calls don't hit the API again.

Usage

entrez_count(id_set, .call = current_env())

Arguments

id_set

an ID set object.

.call

call environment to use in error messages/traces. See rlang::topic-error-call and the call argument of cli::cli_abort(). You only need to specify this in internal helper functions that don't need to be mentioned in error messages.

Value

integer number of entries.