Skip to content

v0.4.19 — richer sample selector (category/range/period filters, persistence, cross-section)

Latest

Choose a tag to compare

@cmg777 cmg777 released this 26 Jun 04:12
b626afc

Apps — a richer, more robust sample selector

  • Filter by category, value range, and period. Pick factor variables and the categories to keep, continuous variables and a min–max range, and a dedicated Period slider over the time id. All filters combine (AND), with an always-visible Active sample summary (dataset · period · filters · "rows kept = n / N") and a Reset filters button on every page.
  • Single-year → cross-section. Collapse the Period slider to one year and the app switches to cross-sectional mode — the panel / over-time views hide with a notice; the cross-sectional views keep working.
  • Fixed the disappearing-selection bug. Filter options are computed from the pre-subset frame, so choosing a category no longer collapses the factor and resets your selection — selections persist across pages and every analysis updates as you filter.
  • Missing-values view no longer looks blank. When a sample has no missing values (e.g. the unbalanced firms panel) it now says so and points to Panel structure for the structural gaps.
  • Export reproduces the filters as code. The exported notebook ships the unfiltered working frame plus a runnable subset cell, so it rebuilds the exact analysis sample from the full data.

Full changelog: https://cmg777.github.io/expdpy/changelog.html