sdr_generate_probability_table: Creates and populates the probability table for a station

Description Usage Arguments

View source: R/sdr_generate_probability_table.R

Description

Creates and populates the probability table for a station (isolation) or stations (concurrent) with the variables required to apply the station choice model. The variables are drawn from the schema.proposed_stations and data.stations tables.

Usage

1
sdr_generate_probability_table(con, schema, df, tablesuffix)

Arguments

con

An RPostgres database connection object.

schema

Character. for the database schema name.

df

A dataframe containing the choicesets.

tablesuffix

Character, the suffix of the probability table - either crscode (isolation) or 'concurrent' (concurrent) is expected.


station-demand-forecasting-tool/sdft documentation built on July 11, 2021, 4:23 a.m.