NEWS.md
linear_model() as another option for trend estimationsen_slope() is now returned in a data frame with a column called “slope” instead of “sen_slope”. This is for consistency with the slope calculated using linear_model()
sum_with_criteria() to collection of aggregation functionsaggregate_with_criteria() that meant that the mean was calculated regardless of the function indicatedsearch_data_lake() has been deprecated in favour of search_datalake() to be consistent with namingsearch_datalake() now uses AND instead of OR when filtering keys.search_datalake() now returns a tibbleget_reference_rainfall() and rainfall_above_reference() in favour of get_reference_precipitation() and precipitation_above_reference() in order to adopt WMO names.aggragate_with_criteria()) to calculate aggregations using criteria for missing data.sen_slope() and mann_kendall() return their method regardless of wether the trend estimation is successful or not.sen_slope() and mann_kendall() return NA if there are NAs in the input data.order_season_levels()
order_season_levels() to automatically order season as a factor for pretty plotting and data standarisationround_preserve_sum()
simplifY_likelihood_levels() which collapses levels in likelihood category factorsround_preserve_sum() which rounds a set of number while maintaining the total. Used, for example, so that rounded percentages still add to 100.get_likelihood_category() which given a probabiliy p it returns the term used to describe the category this probability belongs to. It also ensures the levels of the output are ordered appropietly.order_likelihood_levels() which orders the levels of a likelihood category factoripcc_likelihood_scale and statsnz_likelihood_scale which contain the Intergovernmental Panel on Climate Change (IPCC) and the Stats NZ likelihood scales respectively