joined_results: Returns a joined dataframe

joined_resultsR Documentation

Returns a joined dataframe

Description

Returns a joined dataframe

Usage

joined_results(
  t_dat,
  include_row_numbers = FALSE,
  pairs_to_get = "all_evidence",
  link_col_nms = c("posterior"),
  orig_data_to_include = "matched",
  ...
)

Arguments

t_dat

a t_dat object

include_row_numbers

Boolean Do we include the row names. Default False

pairs_to_get

either 'all_evidence' or 'positive_evidence' or a dataframe. Default 'all_evidence'

link_col_nms

vector of column names to includ from the joining dataframe. Default 'Posterior'

orig_data_to_include

either 'matched' or 'all' and determines what is returned from the x and y dataframes. Default matched

...

Ignored

Examples


dat_ceo <- readr::read_csv('https://tinyurl.com/2p8etjr6')
dat_alb <- readr::read_csv('https://tinyurl.com/2p8ap4ad')
token_links(
dat_x = dat_ceo,
dat_y = dat_alb,
args_x = list(col_nms = 'coname'),
args_y = list(col_nms = 'companyName'),
token_types = 'company_name',
token_index = '',
suffix = c('ceo', 'alb')
) |> find_posterior_positive_evidence_only() |>
find_posterior_all_evidence() |>
joined_results()


csps-efpc/TokenLink documentation built on Feb. 10, 2023, 3:30 a.m.