Changelog
mermaidrcovariates 1.0.0
- Added
attach_covariate_data()for accessing vector covariates - Added
covariate_helper()for understanding which ofattach_covariate_data()orget_zonal_statistics()to use - Added
list_datasets_for_covariate()for listing datasets and bands/columns within a covariate - Improved parallelization
Large rewrite of zonal statistics API:
- Deprecated
get_summary_zonal_statistics()in favour of usingget_zonal_statistics()and thensummarise_zonal_statistics() - Renamed
covariatescolumn inget_zonal_statistics()tozonal_statistics - Renamed
covariatescolumn fromsummarise_zonal_statistics()tosummary_zonal_statistics– originalzonal_statistics()column is retained - Removed columns
start_date,end_date, andn_datesfromget_zonal_statistics()output – only appear in output fromsummarise_zonal_statistics() - Added support for multiple bands, specifying dataset
mermaidrcovariates 0.1.2
- Add
search_covariates()to search by title or description - Add
date_coltoget_zonal_statistics()andget_summary_zonal_statistics(), which allows for using a column other than"sample_date".
mermaidrcovariates 0.1.1
- Fix bug with calculating
n_datesreturned fromget_summary_zonal_statistics(). - Fix bug where
get_zonal_statistics()andget_summary_zonal_statistics()were stripping columns fromsein returned data.
mermaidrcovariates 0.1.0
-
list_covariates()returns a data frame by default, and the print method when it is a list (withas_data_frame = FALSE) is improved. -
get_zonal_statistics()takes the covariate name or ID (previously just ID). The argument name iscovariateinstead ofcovariate_id. -
get_zonal_statistics()returnsn_datesincovariatescolumn, gets stats forn_days - 1prior to sample date and sample date. -
get_zonal_statistics()now returns zonal statistics for each of then_days, whileget_summary_zonal_statistics()summarises the zonal statistics over time. -
get_summary_zonal_statistics()requires bothspatial_stats– how to summarise spatially – andtemporal_stats– how to summarise over time. It returns both of these columns undercovariates, along withvalue. -
get_zonal_statistics()requires onlyspatial_stats. It returns this column undercovariates, along withvalue. - The argument
bufferhas been renamed toradius.