rw_remove_first: Remove first sentence of paragraph (rw_remove_first)

Description Usage Arguments Value

View source: R/rw_remove_first.R

Description

Input is a text file with multiple paragraphs. Output is a text file for each paragraph with the first sentence removed.

Usage

1
2
3
4
5
6
7
rw_remove_first(
  infile,
  title = "title",
  part = "section",
  project = "name",
  parabreak = "\r\n"
)

Arguments

infile

A text file containing several paragraphs.

title

Title of text (e.g. paper reference).

part

Part of the text (e.g. paper section). Used in filenames.

project

Project nickname for use in filenames

parabreak

The characters that designate paragraph breaks in the input

Value

A text file with paragraphs without first sentence


chrismgillen/readtowrite documentation built on Aug. 18, 2020, 7:50 p.m.