fires | R Documentation |
The fires
function creates a copy of the fire dataset and adjusts the dates
to align with the current date while maintaining the original date patterns.
fires()
The function performs the following operations:
Creates a copy of the fire dataset from the mintyr package
Calculates the number of days between the last recorded date and the previous day
Shifts all dates forward by the calculated number of days
Converts the updated dates back to character format
A data.table with updated dates, shifted to the current date
Requires the data.table
and mintyr
packages
Uses the current system date as a reference for date shifting
Maintains the original structure of the date column
head(fires())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.