Skip to contents

Builds a duckdb connection with the CNEFE data set in the cache direcotry.

Usage

create_geocodebr_db(db_path = tempdir(), n_cores = NULL)

Arguments

db_path

A character vector pointing to an existing directory where a a persistent '.duckdb' file is created. Defaults to a temporary directory tempdir().

n_cores

A number. The number of cores to be used in parallel execution. Defaults to 1.

Value

A duckdb connection.

See also

Other Support: download_cnefe()