Return the nth paragraph of a section of text
Useful for extracting information from Wikipedia or other wikimarkup text
Usage
extract_para(text, para = 1, templ = NULL)
Arguments
- text
the input text as a string
- para
number indicating which paragraph(s) to return (default=1)
- templ
an optional string specifying a mediawikitemplate within
which to restrict the search restrict search
Value
the nth paragraph of the input text.