Description Usage Arguments Value
View source: R/import_periods_df.R
Import periods from a data frame.
1 2 3 4 5 6 7 8 9 10 11 12 | import_periods_df(
input,
stat_unit = "stat_unit",
begin = "begin",
end = "end",
tag = "tag",
optional_data,
date_format_func = (function(x) lubridate::parse_date_time(x, date_format_reg)),
date_format_reg = "ymd-HMS",
force_date_format = FALSE,
model = analysr_env
)
|
input |
A data frame. |
stat_unit |
A string containing the stat_unit label. |
begin |
A string containing the begin date label. |
end |
A string containing the end date label. |
tag |
A string containing the tag label. |
optional_data |
A vector containing label to import in descriptions table. |
date_format_func |
A function to format date with (not required).
Default: |
date_format_reg |
A expression to format date with (not required).
Default: |
force_date_format |
Boolean to force date format func (not required).
Default: |
model |
An AnalysR env.
Default: |
A boolean (TRUE
if no errors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.