read_config: Loads data from configuration file

View source: R/read_config.R

read_configR Documentation

Loads data from configuration file

Description

File should contains:

  • dbname = "dbname"

  • host = "host"

  • username = "username"

  • password = "password"

Usage

read_config(
  file = system.file("config/db_config.txt", package = "europarl"),
  delim = " "
)

Arguments

delim

a delim parametr in read_delim

name

file name or path to file

Value

A tibble with dbname, host, username and password for database conncetion.

Examples

## Not run: 
read_config()

read_config(file = "path/name.txt", delim = " ")

## End(Not run)

rOpenGov/europarl documentation built on July 19, 2023, 3:59 p.m.