Learn R Programming

restez (version 1.0.0)

count_db_ids: Return the number of ids

Description

Return the number of ids in a user's restez database.

Usage

count_db_ids(db = "nucleotide")

Arguments

db

character, database name

Value

integer

Details

Requires an open connection. If no connection or db 0 is returned.

See Also

Other database: db_create, db_delete, db_download, demo_db_create, is_in_db, list_db_ids

Examples

Run this code
# NOT RUN {
library(restez)
restez_path_set(filepath = tempdir())
demo_db_create(n = 5)
restez_connect()
(count_db_ids())

# delete demo after example
db_delete(everything = TRUE)
# }

Run the code above in your browser using DataLab