MortalityTables.jl icon indicating copy to clipboard operation
MortalityTables.jl copied to clipboard

Add reverse lookup of rates

Open alecloudenback opened this issue 5 years ago • 3 comments

Given a rate, list the table and ages for which the rate occurs.

alecloudenback avatar Aug 29 '20 13:08 alecloudenback

Would want to return all of the following in a parseable format:

  • table name
  • table number if available
  • select/ultimate
  • age
  • duration

Also, the function would only be as good as the set of tables loaded. With the relatively small subset of bundled tables, has limited utility.

alecloudenback avatar Aug 29 '20 13:08 alecloudenback

This now would have a lot more utility since all tables are bundled and parse-able. The return data could be an array of named tuples.

alecloudenback avatar Sep 25 '21 03:09 alecloudenback

Also, add a keyword argument for tolerance (abs and rel) - maybe just perform the comparison with isapprox

alecloudenback avatar Sep 25 '21 03:09 alecloudenback