reorgRawTreasuriesAllotment: reorganize Investor Class Auction Allotments

Description Usage Arguments Examples

Description

for 'old' Class Auction Allotments, change 'security_type' and/or 'security_term' to be just (condensed to one column) 'security' with proper naming compatible with the 'new'(er) Class Auction Allotments

Usage

1

Arguments

treasAllotment

treasury allotmetn data.frame to be reorganized

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
reorgedTreasury1 <-  reorgRawTreasuriesAllotment(
               data.frame(security_term = c("BOND", "NOTE", "YR")
             , security_type = rep("",3)
             , issue_date = rep(NA,3)
             , stringsAsFactors = FALSE)
           )
reorgedTreasury1

reorgedTreasury2 <-  reorgRawTreasuriesAllotment(
               data.frame(security_term = c("CASH", "WK", "YR")
             , issue_date = rep(NA,3)
             , stringsAsFactors = FALSE)
           )
reorgedTreasury2

## End(Not run)

AndreMikulec/UShoard documentation built on May 29, 2019, 3:02 a.m.