Adding standard plots used in the USFS Montoring site.
- added
dailyBarplot()
anddailyBarplotBase()
- added
timeseriesPlot()
andtimeseriesPlotBase()
- improvements to
clockPlot()
andclockPlotBase()
- now importing gridExtra
Moving all base plot related code from PWFSLSmokePlot to PWFSLSmoke so that all functionality in the former is purely ggplot2 based.
- removed
addPolygon()
,addWindBarb()
andaddWindBarbs()
- removed
aqiPalette()
- removed
monitor_getDailyMean()
- updated for latest devtools package
- added
monitor_getDailyMean()
function - added
clockPlot()
function - added
clockPlotBase()
function - added
aqiPalette()
function and unit test
- added unit test for
dailyHourlyBarplot()
- deprecated
createTarnayPlot()
in favor ofdailyHourlyBarplot()
- removed
~Tidy()
functions in favor of those in PWFSLSmoke - exporting "%>%" as part of the package
- updated
DESCRIPTION file
- wind barbs grow in length between zero and 5 knots
- added windBarbs function
This release tweaks the calculation of NowCast in the daily-hourly-barplot:
- add the option to subset data with
tlim
argument (allows for proper NowCast calculation)
This release also reverses the legend scale ordering for better visual consistency
This release focuses on refining the visual aesthetics of the daily-hourly-barplot:
- Refactored the plot theme into its own function
- tweaked the theme style
- made the x-axis labeling reactive to the date range of the data
- introduced the option to include a third column in the legend (Currently contains only dummy text and off by default.)
Addresses the following issues regarding the daily-hourly-barplot:
- Add control over hourly data calculation
- Fix bug where daily and hourly data were misaligned
- Make legend more verbose
- Make plot title reactive to the data being plotted
- Add an option to include a footnote caption linking to an AQI explainer
- Added
daily-hourly barplot
(). This is a timeseries barplot showing PM2.5 data for the given monitors. The overall plot is faceted by monitor, and each facet has two sets of columns: one for daily levels, and one for hourly levels.
- Removed
isWSMon()
, This functionality is now inPWFSLSmoke::monitor_isMonitor()
- Renamed
isTidy()
->monitor_isTidy()
- Renamed
wsMonToTidy()
->monitor_toTidy()
- Added
isWSMon()
function to test an object for thews_monitor
class. - Added
isTidy()
function to test if an object is in tidy format. - Added
wsMonToTidy()
function to convertws_monitor
objects to a tidy format.
- added
addPolygon()
function