bt_leads_core_update: Send a prepared leads.core dataframe to the ricardo database...

View source: R/bt_leads_core_update.R

bt_leads_core_updateR Documentation

Send a prepared leads.core dataframe to the ricardo database see parameter explanations for some help. bt_leads_classify_only() also available if you only want the rel probs.

Usage

bt_leads_core_update(
  update.df = NULL,
  exclude.by = "act.url",
  all.covid = F,
  force.create = F,
  set.official = F,
  destination = "b221",
  incl.kanji = F,
  invoke.mrs.hudson = T,
  mrs.hudson.keep.results.ratio = 1,
  classify.master.on = F
)

Arguments

update.df

the data frame containing leads to update. min 17 specifically named cols

exclude.by

unique identifier for each row; 'primary key'

all.covid

are these all to do with you know what

set.official

is the officiality of the source designated in the df?

destination

"b221" -> ricardo; "leads" -> main site; "parking" -> state 10; "5" -> state 5; "dpa" -> hint_type_id = 3 = dpa

incl.kanji

does the source include CJK chars? (kanji, hanzi, kana, hangeul)

invoke.mrs.hudson

use to disable mrs. h invocation

mrs.hudson.keep.results.ratio

the ratio of results for Mrs. H to keep. eg. 0.9 keeps 90

\item

classify.master.onif T, runs the R-based classification system. If F, puts rel_prob as NA for the AWS stack to do it.

Send a prepared leads.core dataframe to the ricardo database see parameter explanations for some help. bt_leads_classify_only() also available if you only want the rel probs. bt_leads_core_update("update.core", "bid", destination = "b221")


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.