read_rfept: Identify and read academic registration

Description Usage Arguments Details Value Examples

View source: R/read_rfept.R

Description

The read_rfept() is a wrapper around read_qacademico() and read_sigaa(). Now you just need to specify the folder path and read_rfept() identifies if it is a qacademico or sigaa file and then read it.

Usage

1
read_rfept(path = "", start = NULL)

Arguments

path

The file's path to Qacademico or Sigaa folder.

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

By now, this function only supports qacademico and sigaa-sc.

Value

A data frame.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# these datasets are not a real ones. It is just for test purpose.

qacademico <- read_rfept(system.file("extdata/examples/qacademico", package = "sistec")) 
                                     
sigaa <- read_rfept(system.file("extdata/examples/sigaa", package = "sistec"))
   
class(qacademico)
class(sigaa)

# example selecting the period
qacademico_2019_2 <- read_rfept(system.file("extdata/examples/qacademico", package = "sistec"),
                                start = "2019.2") 

class(qacademico_2019_2)                                 

sistec documentation built on Oct. 27, 2020, 1:06 a.m.