library(laycReportCards)
knitr::opts_chunk$set(
  comment = "#>",
  error = FALSE,
  message = FALSE,
  warning = FALSE,
  tidy = FALSE)

Introduction to laycReportCards

This package was designed as an internal package for LAYC (www.layc-dc.org). Its main goal is to facilitate the collection of students' academic information. This package parses DC report cards and returns students academic information in tabular format (R data.frame). The main function is get_rcards(). This function takes a report card in pdf file format as input, and returns a table containing the pdf information. The function requires the pdf file to be in a specific format: Please see the "students_progess.pdf" file in the package "data-raw" folder to check accepted format.

Example

Our goal is to extract students' academic information contained in the "students_progress.pdf" file. Here is a glimpse of the pdf file:

Parse the PDF file & Save the output in a data.frame called "school_data""

library(laycReportCards)
school_data <- get_rcards('../data-raw/students_progress.pdf')

Print the first rows and columns of school_data

head(school_data[ , 2:11])


thelayc/laycReportCards documentation built on May 31, 2019, 9:16 a.m.