Skip to contents

Queries /-/databases.json on the instance and returns one row per database.

Usage

morie_datasette_databases(base_url = NULL, timeout = 60)

Arguments

base_url

Instance root URL; defaults to the MORIE_DATASETTE_URL environment variable.

timeout

HTTP timeout in seconds.

Value

A data.frame with one row per database (name, path, size, table count as provided by the instance).

Examples

if (FALSE) { # nzchar(Sys.getenv("MORIE_DATASETTE_URL"))
dbs <- morie_datasette_databases()
head(dbs$name)
}