read_sigaa {sistec} | R Documentation |
Read Sigaa files
Description
This function reads partial and complete Sigaa datasets. These two formats can perform the comparison, but the partial doesn't have information about "Campus" and "Cota". See Details if you need help where to download the Sigaa data.
Usage
read_sigaa(path = "", start = NULL)
Arguments
path |
The Sigaa file's path. |
start |
A character with the date to start the comparison. The default is the minimum value found in the data. The date has to be in this format: "yyyy.semester". Ex.: "2019.1" or "2019.2". |
Details
To download the partial Sigaa's data, go to your proper account on Sigaa and follow:
Access the panel "Consultas" inside Sigaa module.
Generate the report "Consulta geral discentes".
Select the check box "Trazer informações em forma de relatório" e "Gerar csv".
Select the filter "Campus" and other filters you desire.
Click on "Buscar" and download the file.
Be sure that your data has the variables: "Matricula", "Nome", "Status, "Curso" and "CPF".
For the complete dataset, you have to download directly from the Sigaa database. Be sure that your data has the variables: "Matricula", "Nome", "Situacao Matricula", "Curso", "Cpf", "Instituicao", "ano_ingresso", "semestre_ingresso" and "Cota".
Value
A data frame.
Examples
# this dataset is not a real one. It is just for test purpose.
sigaa <- read_sigaa(system.file("extdata/examples/sigaa",
package = "sistec"))
sigaa