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

Description Usage Arguments Details Value Examples

Description

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

Usage

1
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.

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:

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

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)

fcampelo/ChocoLattes documentation built on May 16, 2019, 12:03 p.m.