read_medline: Read Pubmed Format

View source: R/read_medline.R

read_medlineR Documentation

Read Pubmed Format

Description

Function to extract PMID and AB values from MEDLINE text data

Usage

read_medline(text, key1 = "PMID-", key2 = "AB  -")

Arguments

text

a character vector containing the text data from MEDLINE

key1

a string representing the first identifier key (PMID)

key2

a string representing the second identifier key (AB)

Value

a data frame with columns "PMID" and "AB" that contains the extracted values

Examples

example1 <- readLines("pubmed-Oligodendr_ODP-set.txt")
prueba <- read_medline(example1)


Erickcufe/textCells documentation built on May 20, 2023, 11:45 p.m.