powered by
jst_get_authors() extracts information about authors from JSTOR-XML files.
jst_get_authors()
jst_get_authors(file_path)
A .xml-file from JSTOR containing meta-data.
.xml
A tibble containing the extracted authors. All empty fields are NA_character.
tibble
NA_character
The function returns a tibble with the following six columns:
prefix: in case there was a prefix to the name, like "Dr.".
"Dr."
given_name: The author's given name, like "Albert".
"Albert"
surname: The author's surname like "Einstein".
"Einstein"
string_name: In some cases data the name is not available in separate fields, but just as a complete string: "Albert Einstein".
"Albert Einstein"
suffix: a suffix to the name, like "Jr.".
"Jr."
author_number: The authors are enumerated in the order they appear in the data.
# NOT RUN { jst_get_authors(jst_example("article_with_references.xml")) # }
Run the code above in your browser using DataLab