The goal of NUPEX package is to help with analysis of academic output from the Brazilian lattes platform and from other administrative sources.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("BrunoVilela/NUPEX")
This is a basic example of how to obtain all data from a lattes XML file:
library(NUPEX)
# Path to the XML file
path_lattes <- paste0(system.file("lattes",
package = "NUPEX"),
"/lattes1.xml")
# Run the main function to obtain all lattes data into a list of tables
lattes_data <- get_lattes(path_lattes)
This is an example to obtain lattes data from multiple XMLs:
# Path to the XMLs files
path_lattes_folder <- system.file("lattes", package = "NUPEX")
# Run the main function to obtain all lattes data into a list of tables
lattes_data_multiple <- get_lattes_folder(path_lattes_folder)
#> | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100%