besceaApp: Bescea Shiny App

View source: R/besceaApp.R

besceaAppR Documentation

Bescea Shiny App

Description

Instant search engine

Usage

besceaApp(
  data,
  text_field,
  unique_id,
  modelname = NULL,
  searchname = "Bescea",
  results_count = 50,
  ...
)

Arguments

data

Data frame, each document is a row/observation.

text_field

Text field from data, unquoted

unique_id

Unique identifier from data, unquoted

modelname

Defaults to NULL. If you are loading data to a FastText model built using besceaBuildModel, put the name of model here. The model should be saved as 3 different files in the 'models' folder.

searchname

Optional name that appears at the top of the Shiny app

results_count

Number of results to load to the Shiny app. This is also the number of results that will be exported to Excel if the data is downloaded. This number can be changed in the app as well. You may be able to speed up performance by choosing a lower number.

...

Arguments passed from other functions

Examples

besceaApp(data = sneapsters[1:100,], 
          text_field = post_text,
          unique_id = textid,
          searchname = "test_search")

harryahlas/bescea documentation built on July 3, 2022, 7:13 p.m.