Skip to content
Reading SEER ASCII files with R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
SEER_fixed_width_read.R

README.md

SEER_read_fwf

A simple script to help R users read the SEER ASCII files.

The gist:

  • The script reads the contents of a SAS script from the SEER website.
  • The SAS script is scraped for:
    • The field names, descriptions, start positions and widths.
  • A local file is read with these field positions and names resulting in a tibble.

Usage

This is a template, not a package or a function ready to use. To use this script to load one SEER ASCII .txt file:

  • Change the file_path = <path> line 31, and
  • Run it!

Requirements

You can’t perform that action at this time.