Skip to contents

creates a DuckDB connection, installs and loads the motherduck extension and finally executes `DBI::dbExecute(con, "PRAGMA MD_CONNECT")` to connect to motherduck through your motherduck token

Usage

connect_to_motherduck(motherduck_token = "MOTHERDUCK_TOKEN", config)

Arguments

motherduck_token

motherduck token saved in your environment file

Value

connection