View source: R/supporting_functions.R
extract_date_range | R Documentation |
Return a data frame with the start and end date of the query data by default. There are options to return a descriptive string, which is used in the caption of plots in this package.
extract_date_range(data, return = "table")
data |
Data frame containing a query to pass through.
The data frame must contain a |
return |
String specifying what output to return. Returns a table by default ("table"), but allows returning a descriptive string ("text"). |
A different output is returned depending on the value passed to the return
argument:
"table"
: data frame. A summary table containing the start and end date
for the dataset.
"text"
: string. Contains a descriptive string on the start and end date
for the dataset.
Other Support:
any_idate()
,
camel_clean()
,
check_inputs()
,
cut_hour()
,
extract_hr()
,
heat_colours()
,
is_date_format()
,
maxmin()
,
pairwise_count()
,
read_preamble()
,
rgb2hex()
,
totals_bind()
,
totals_col()
,
tstamp()
,
us_to_space()
,
wrap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.