ir-sfsu / ERS

ERS layouts as data frames. Process raw txt files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERS

The goal of ERS is to provide easy access to ERS layouts as data frames.

Installation

You can install ERS from GitHub with:

remotes::install_github("ir-sfsu/ERS")

Example

This is a basic example which shows you how to solve a common problem:

library(ERS)
data("ersa")
head(ersa)
#>                  Field Name Length From To
#> 1    Social Security Number      9    1  9
#> 2                      Year      4   10 13
#> 3                 Term Code      1   14 14
#> 4               Campus Code      2   15 16
#> 5      Accommodation Status      1   17 17
#> 6 Accommodation Status Date      8   18 25
clean_raw_ers_txt_file("path_to_raw_txt_file.txt", type = "ERSA")

Gadget

Invoke the gadget from the RStudio Addins dropdown or ers_converter.

About

ERS layouts as data frames. Process raw txt files.

License:Other


Languages

Language:R 100.0%