writeHRJcsv: (HRJ) Write HRJ "B" & "C" tables to csv (text) files.

Description Usage Arguments Value Examples

Description

This function has been created in case there are future problems writing direct to the MS Access database. The user can create the csv files then import them from within Access.

Usage

1

Arguments

hrj

A list usually comprising of two data frames, which are the 'b' and 'c' HRJ tables in wide format with fields exactly matching those defined in the MS Access data base.

Value

Nothing is returned. But one csv file is written for each data frame in the HRJ list. The csv filename is the same as the data frame name.

Examples

1
2
3
4
5
6
## Not run: 
hrj.list <- readHRJtext(filepath)
hrj.list$hrj.cwt.list <- lapply(hrj.list$hrj.cwt.list,updateStockByName, data.stock$stocks.df)
writeHRJcsv(hrj = hrj.list$hrj.cwt.list)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.