GithubHelp home page GithubHelp logo

chocolattes's Introduction

ChocoLattes package

Build StatusCRAN_Status_Badge CRAN Downloads

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

Example:

  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(CV.dir = getwd())
  1. Build a productions chart
a <- plot_chart(lattes.list = lattes.list, 
                chart.type  = "ggplot2", 
                language = "PT")
print(a)

or a full productions page:

make_productions_page(lattes.list = lattes.list,
                      chart.type  = "ggplot2",
                      h1.title    = "ORCS Lab",
                      h2.title    = "UFMG, Brazil",
                      language    = "EN")

Have fun!!!
Felipe

chocolattes's People

Contributors

fcampelo avatar katrinleinweber avatar thiagomcoutinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chocolattes's Issues

To Do's

  • Add language options (PT, EN)
  • Add "which.productions" option to plot_chart and make_production_page (to allow greater customization, e.g., not including theses)
  • Add more plotting / analyses routines (e.g., those prepared for PPGEE-UFMG)
  • Add usage examples

Section titles

Put section titles within r blocks, and run only if nrow(dataframe) > 0 (to avoid generating empty sections, e.g., if a researcher does not have any book chapters)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.