Learn R Programming

medExtractR (version 0.4.1)

entity_metadata: Grab Entity Metadata

Description

This function builds the metadata based on position.

Usage

entity_metadata(phrase, p_offset, df)

Arguments

phrase

Text of interest.

p_offset

Start position of text within greater document.

df

data.frame with position and length of found medication entities

Value

data.frame with found medication entities and accompanying metadata.