jst_get_authors {jstor} | R Documentation |
Extract author information
Description
jst_get_authors()
extracts information about authors from JSTOR-XML files.
Usage
jst_get_authors(file_path)
Arguments
file_path |
A |
Details
The function returns a tibble
with the following six columns:
-
prefix: in case there was a prefix to the name, like
"Dr."
. -
given_name: The author's given name, like
"Albert"
. -
surname: The author's surname like
"Einstein"
. -
string_name: In some cases data the name is not available in separate fields, but just as a complete string:
"Albert Einstein"
. -
suffix: a suffix to the name, like
"Jr."
. -
author_number: The authors are enumerated in the order they appear in the data.
Value
A tibble
containing the extracted authors. All empty fields are
NA_character
.
Examples
jst_get_authors(jst_example("article_with_references.xml"))
[Package jstor version 0.3.11 Index]