get_file_attributes: Return a string containing file attributes

Description Usage Arguments Details Examples

Description

Return a string containing file attributes

Usage

1
get_file_attributes(filename, records)

Arguments

filename

Fully qualified path and filename

records

The number of records in the file can be passed to the function, which will echo this information

Details

This function returns a string that includes the filename, date last modified, size, and number of records.

Examples

1
annual_flows <- get_file_attributes("./flow_database.csv")

rickdonnelly/pcvmodr documentation built on May 14, 2019, 8:17 a.m.