get_ssim_sample {ssimparser} | R Documentation |
get_ssim_sample
Description
Get a test SSIM file for validation and testing.
Usage
get_ssim_sample(
datefrom = as.Date("2020-11-01"),
dateto = as.Date("2020-12-01"),
season = "W20",
creadate = Sys.Date()
)
Arguments
datefrom |
First date of the sample. |
dateto |
Last date of the sample. |
season |
IATA season (W20 = Winter 2020). |
creadate |
Creation date. Default today. |
Value
A character vector containing the SSIM sample.
Examples
# Get sample
sample_ssim_str <- ssimparser::get_ssim_sample(datefrom = as.Date("2020-11-01"),
dateto = as.Date("2020-12-01"),
season="W20")
# Parse the sample into a data frame
ssim_sample_df <- ssimparser::load_ssim(ssim_file = sample_ssim_str)
head(ssim_sample_df, 10)
[Package ssimparser version 0.1.1 Index]