ropensci/stats19

Python port

Robinlovelace opened this issue · 2 comments

Thinking it could be useful to have the functionality in this package in Python and possibly other languages. If I were to start again, I would look at building a more language agnostic foundation e.g. with duckdb for the input and in-memory processing via SQL statements. Shout out to anyone reading this: let us know if you'd like to get involved.

I have a feeling had we taken out the core of stats19 and added "API"s to allow cross language adoption, it would have actually meant more LOC. I could be wrong of course. I think people should port stats19 to their desired languages; should be easier now with copilot I hope.

I think doing the lookups via SQL joins using language agnostic frameworks like duckdb or arrow should make life easier. Simply converting the integers to values via the look-up tables would be a good start and should be fairly easy, hopefully!