order_by_query_match: Reorder a data frame of records according to simple query...

order_by_query_matchR Documentation

Reorder a data frame of records according to simple query match

Description

This function uses a simple algorithm that counts the keywords matches in the query in the record abstract and title, and use the count to arrange the records in descending order. Usually, the same query used to collect the records in the first place are used.

Usage

order_by_query_match(records, query)

Arguments

records

The data frame of records to reorder.

query

The query to use to arrange the records.

Value

The ordered record data frame.


bakaburg1/BaySREn documentation built on March 30, 2022, 12:16 a.m.