Create vintages table from CSV or TXT files
Usage
create_vintages_from_csv(
file,
type = c("long", "horizontal", "vertical"),
periodicity,
date_format = "%Y-%m-%d",
...
)
Arguments
- file
character containing the name of the file which the data are to be read from.
- type
character specifying the type of representation of the input between `"long"`, `"horizontal"` and `"vertical"` approach.
- periodicity
periodicity of the time period (12, 4 or 1 for resp. monthly, quarterly or annual data)
- date_format
character
string corresponding to the format used in the input data.frame for the revision dates.- ...
Arguments to be passed to `read.csv()`, for example: * `sep` the field separator character * `dec` the character used in the file for decimal points. * `row.names` a vector of row names * `skip` integer, the number of lines of the data file to skip before beginning to read data. * `...`