write_naaccr: Arrange the format for writing Write records in NAACCR format

Description Usage Arguments

View source: R/write_naaccr.R

Description

Write records from a naaccr_record object to a connection in fixed-width format, according to a specific version of the NAACCR format.

Usage

1
write_naaccr(records, con, version = NULL, format = NULL)

Arguments

records

A naaccr_record object.

con

Either a character string naming a file or a connection open for writing.

version

An integer specifying the NAACCR format version for parsing the records. Use this or format, not both. If both version and format are NULL (the default), the most recent version is used.

format

A record_format object for writing the records.


naaccr documentation built on Jan. 11, 2020, 9:17 a.m.