Learn R Programming

ChocoLattes (version 0.1.0)

lattes_to_list: Convert a set of Lattes CV XML files to a list object

Description

Extract information from a set of Lattes XML files and convert it to a list vector

Usage

lattes_to_list(CV.dir = NULL, author.aliases = list())

Arguments

CV.dir
folder where CVs are contained. If NULL then the current working directory is used.
author.aliases
list vector with author aliases. See Examples for details.

Value

list vector where each element is a dataframe with information on a specific aspect of the academic production

Details

This function extracts relevant information from a set of Lattes CV XML files and outputs a list object containing specific information on the following aspects of a group's production:
  • Accepted journal papers
  • Published journal papers
  • Published conference papers
  • Published book chapters
  • Published books
  • Ph.D. student defenses
  • M.Sc. student defenses

Journal and conference papers are checked for duplication using DOI and Title information. Duplicated entries are registered only once.

Examples

Run this code
my.dir <- system.file("extdata", package="ChocoLattes")

# Define the aliases of authors "Felipe Campelo" and "Lucas S. Batista":
# (all aliases will be converted to the first name provided for each author)
my.aliases <- list(c("Felipe Campelo",
                     "Felipe Campelo Franca Pinto",
                     "Felipe Campelo F. Pinto",
                     "F.C.F. Pinto"),
                   c("Lucas S. Batista",
                     "Lucas Batista",
                     "Lucas de Souza Batista",
                     "Lucas Souza Batista"))

lattes.list <- lattes_to_list(CV.dir         = my.dir,
                              author.aliases = my.aliases)

Run the code above in your browser using DataLab