Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.33 KB

README.md

File metadata and controls

53 lines (40 loc) · 2.33 KB

NUPEX

Travis build status AppVeyor build status Codecov test coverage

The goal of NUPEX package is to help with analysis of academic output from the Brazilian lattes platform and from other administrative sources.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("BrunoVilela/NUPEX")

Example

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%