asjadnaqvi / stata-alluvial

A Stata package for alluvial plots
MIT License
5 stars 3 forks source link

from() variable wrongly gets the to() labels when originally numeric #21

Closed ianrwhite closed 6 months ago

ianrwhite commented 6 months ago

See e.g. the result of this:

use "https://www.stata-press.com/data/r18/nhanes2l.dta", clear egen tcgrp = cut(tcresult), group(3) label gen n=1 sankey n, from(agegrp) to(tcgrp) by(sex)

asjadnaqvi commented 6 months ago

Fixed in v1.71. Installation:

net install sankey, from("https://raw.githubusercontent.com/asjadnaqvi/stata-sankey/main/installation/") replace

More info on https://github.com/asjadnaqvi/stata-sankey. This is the repository of the alluvial package.

bugfix