Processing Data from Lattes CV Files

Processes data from Lattes CV (<>) XML files. Extract, condition, and plot lists of journal and conference papers, book chapters, books, and more.

Build Status

Felipe Campelo
Operations Research and Complex Systems Laboratory - ORCS Lab Universidade Federal de Minas Gerais Belo Horizonte, Brazil

R package for extracting and summarising information from the Lattes database of Brazilian Researchers.

This package currently exports four methods:

  • lattes_to_list(...) - extracts information from a Lattes CV xml file (or a list of xml files, or a folder full of xml files) and structures everything in a neat list vector, taking care of duplicates (using DOI and title for papers, and ISSN and title for books) and formatting author names. It currently extracts info on journal papers (accepted or published), conference papers, book chapters, books, PhD theses and MSc dissertations.
  • make_productions_page(...) - builds a neat HTML page with the productions of the researcher (or lab, or department), based on the list produced by lattes_to_list(...)
  • plot_chart produces a summary chart of productions, based on the list produced by lattes_to_list(...)
  • extract_qualis generates an Excel (or CSV) file containing the production summary of the researcher (or lab, or department), based on the list produced by lattes_to_list(...) and on a certain QUALIS extract


  1. Download example file (curriculo.xml) from here, and save it to your current working folder.

  2. Convert it to a Lattes list:

library(ChocoLattes) # <-- assuming it is installed, of course
lattes.list <- lattes_to_list(filenames = "curriculo.xml")
  1. Build a productions chart
a <- plot_chart(lattes.list = lattes.list, 
                chart.type  = "ggplot2")

or a full productions page:

make_productions_page(lattes.list = lattes.list, 
                      chart.type  = "plotly", 
                      h1.title    = "Felipe Campelo", 
                      h2.title    = "UFMG, Brazil",
                      language    = "EN")

Have fun!!!


ChocoLattes 0.1.0

  • Added a file to track changes to the package.
  • Initial submission. Check README for details.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.0 by Felipe Campelo, 10 months ago

Browse source code at

Authors: Felipe Campelo

Documentation:   PDF Manual  

GPL-2 license

Imports XML, tools, ggplot2, plotly, rmarkdown, knitr, WriteXLS, utils, grDevices, R.utils

See at CRAN