hl_config_marketProducts2db: Stores market products from CSV file to PostGreSQL database....

Description Usage Arguments Value Author(s) See Also

View source: R/dexr_hl_config.R

Description

Stores market products from CSV file to PostGreSQL database. The database tables are emptied before submission.

Usage

1
2
3
4
5
6
hl_config_marketProducts2db(
  dexpa,
  sourcedir = paste(dexpa$dirs$config, dexpa$sim$id, sep = "/"),
  sourcefile = paste("DEX_Param_MarketProducts_", dexpa$sim$id, ".csv", sep = ""),
  firstDeliveryPeriodStart = Sys.time()
)

Arguments

dexpa
  • dexpa$dirs$config

  • dexpa$sim$id

  • dexpa$sim$firstdeliverystart$delay

  • dexpa$db$tablenames$marketproducts

  • dexpa$db$tablenames$mmarketproducts

sourcedir
sourcefile
firstDeliveryPeriodStart

as POSIX object

Value

table in DB

Author(s)

Sascha Holzhauer

See Also

input_db_getconnection

dbWriteTable


UniK-INES/dexR documentation built on June 30, 2021, 11:05 p.m.