This file adds view active bindings and methods to the evoland_db class using R6's $set()
method. These provide computed views on the database without storing additional data.
Active Bindings Added
lulc_meta_long_v- Unrolled LULC metadata with one row per source classpred_sources_v- Distinct predictor URLs and their MD5 checksumstrans_v- Land use transitions derived from lulc_data_textent- Spatial extent of coords_t as terra::SpatExtentcoords_minimal- Minimal coordinate representation (id_coord, lon, lat)
Methods Added
trans_pred_data_v(id_trans)- Returns wide table of transition results and predictor data for a specific transition. Used as input to covariance filtering.trans_rates_dinamica_v(id_period)- Returns transition rates formatted for Dinamica export for a specific period.adjusted_trans_pot_v(id_period_post)- Returns allocation-ready transition potentials: column-scaled to match target transition rates, then row-closed so per-cell change probabilities sum to at most 1.alloc_params_clumpy_v()- Returns allocation parameters in CLUMPY format (area_mean, area_var, elongation per transition).