cynthiahqy / conformr-xmap-project

R Package for harmonising data of different classifications or aggregations into a single dataset
MIT License
7 stars 1 forks source link

Helper converting crosswalk tables into recode xmaps (with unit weights) #49

Closed cynthiahqy closed 1 year ago

cynthiahqy commented 1 year ago

Crosswalk to Crossmap

Crossmap to Crosswalk

DANGER of losing information, but fine to do if you only have "one-to-one" links

cynthiahqy commented 1 year ago

This could be implemented as a kind of default behaviour for as_xmap_df() if weights are not provided i.e.: as_xmap_df(crosswalk, from, to, weights = NULL).

Though I still prefer:

cynthiahqy commented 1 year ago

This is handled by #78