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.
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!