From 61b8abf779c0bc6a2df3f16f3c729b74f71153ab Mon Sep 17 00:00:00 2001
From: Bart Huntley A couple of things to note here.Firstly the Secondly, the Whilst the fire history data is huge, as it is subset using the AOI
prior to reading into memory, this process is reasonably fast (about
10-20 seconds for the wandoo data set). Saving it to an object (here
@@ -257,7 +267,7 @@ Site built with pkgdown 2.0.6. Site built with pkgdown 2.0.7. Huntley B (2023).
FireHistory: Tools to aid querying DBCA fire history data.
-R package version 0.1.0.0.
+R package version 0.2.0.0.
This is a major release adding new features and fixing a number of bugsPage not found (404)
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html
index faa7070..c1e7e59 100644
--- a/docs/LICENSE-text.html
+++ b/docs/LICENSE-text.html
@@ -17,7 +17,7 @@
@@ -81,7 +81,7 @@ License
diff --git a/docs/articles/index.html b/docs/articles/index.html
index c06d996..28554da 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -17,7 +17,7 @@
@@ -59,7 +59,7 @@ Helpful guide
diff --git a/docs/articles/one.html b/docs/articles/one.html
index 3a10bca..c6de3f9 100644
--- a/docs/articles/one.html
+++ b/docs/articles/one.html
@@ -33,7 +33,7 @@
@@ -203,10 +203,20 @@ DBCA tenure or forest block AOI# file path to the fire history data - note includes the file extension
path <- "C:/somewhere/DBCA_Fire_History_DBCA_060.shp"
# here we want to temporally restrict it to the period 1988-2022
-wandoo_data <- assemble_data(fire_path = path, from = 1988, to = 2022, aoi = aoi)
+wandoo_data <- assemble_data(fire_path = path, FYfrom = 1988, FYto = 2022,
+ aoi = aoi, accessed_on = "01/01/2023")
# works the same for a forest block
-jasper_data <- assemble_data(fire_path = path, from = 1988, to = 2022, aoi = aoi)
+jasper_data <- assemble_data(fire_path = path, FYfrom = 1988, FYto = 2022,
+ aoi = aoi, accessed_on = "01/01/2023")
+
FYfrom
and
+FYto
parameters. The years are financial years (July-June)
+not calendar years (January to December). This is because, in the south
+west, the fire season occurs predominantly during the summer months.
+Bear this in mind if your aoi is in the north.accessed_on
parameter is for the user to
+record the date of when they accessed the DBCA_Fire_History_DBCA_060
+shapefile. This date stamp will appear as a caption on plots etc.Fire Metrics
-
Citation
@Manual{,
title = {FireHistory: Tools to aid querying DBCA fire history data},
author = {Bart Huntley},
year = {2023},
- note = {R package version 0.1.0.0},
+ note = {R package version 0.2.0.0},
}
@@ -84,7 +84,7 @@ Citation
diff --git a/docs/index.html b/docs/index.html
index 2af65e2..fcacc46 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -34,7 +34,7 @@
@@ -135,7 +135,7 @@ Dev status
diff --git a/docs/news/index.html b/docs/news/index.html
index 56b359c..e7633ff 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -17,7 +17,7 @@
@@ -44,6 +44,22 @@ Changelog
+ FireHistory 0.2.0.0
+Major changes
+FireHistory 0.1.0.0
FireHistor
Arguments
as determined by previously running find_tenure()
or
find_block()
.
logical. Is the choice a forest block? Enables search of correct +shape file of extents.
assemble_data(fire_path, from, to, aoi)
assemble_data(fire_path, FYfrom, FYto, aoi, accessed_on = NULL)
numeric representing the starting year for the analysis and -generation of metrics.
numeric representing the current year for the analysis and -generation of metrics.
the aoi object previously created by using either user_aoi()
or DBCA_aoi()
date that the DBCA Fire History DBCA 060 shape file was +downloaded and accessed. Defaults to NULL. Intention is to be able to track +of when the data was accessed as over time the base data will be updated.
if (FALSE) {
fire_data <- assemble_data(fire_path = "C:/path/to/data/DBCA_Fire_History_DBCA_060.shp",
-from = 1988, to = 2022, aoi = aoi)
+FYfrom = 1988, FYto = 2022, aoi = aoi, accessed_on = "01/01/1901")
}
fin_yr.Rd
fin_yr
takes a date object and a statring month and calculates a financial
+year and quarter.
fin_yr(x, fs = 7)
a year object
start month in numerical representation. Defaults to 7 for a standard +Australian finacial year.
a character string in the format YYYY_Q, where YYYY is the finacial +year and Q is the numerical quarter of that finacial year.
+if (FALSE) {
+f_q <- fin_yr(x = 2023-02-23, fs = 7)
+}
+
+