{
  "_id": "6ac3a31b4ba63dfb3181eaec",
  "Package": "ratingtables",
  "Title": "Table-Driven Insurance Rating",
  "Version": "0.2.2",
  "Authors@R": "person(\"Greg\", \"Sollenberger\", email = \"yagreg7@yahoo.com\", role = c(\"aut\", \"cre\",\"cph\"))",
  "Description": "Provides a lightweight, table-driven engine for executing\ninsurance rating plans, including coverage-specific rating\nspecifications, entity aggregation, and trace output for\nauditing. Given policy data, an ordered rating specification,\nand rating factor tables, it returns rated policies and,\noptionally, a step-by-step trace of the calculation.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/gs-actuary/ratingtables",
  "BugReports": "https://github.com/gs-actuary/ratingtables/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://gs-actuary.r-universe.dev",
  "Date/Publication": "2026-09-05 22:55:55 UTC",
  "RemoteUrl": "https://github.com/gs-actuary/ratingtables",
  "RemoteRef": "HEAD",
  "RemoteSha": "a2f9e434926411fb7139b769c74e467f6e46ffde",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-05 13:09:44 UTC",
    "User": "root"
  },
  "Author": "Greg Sollenberger [aut, cre, cph]",
  "Maintainer": "Greg Sollenberger <yagreg7@yahoo.com>",
  "_user": "gs-actuary",
  "_type": "src",
  "_file": "ratingtables_0.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/d3f401b2ca70f7daf938baa9a2c8e3fdb8b98cc25a4712ece1f6d95b7da94784",
  "_filesize": 237368,
  "_sha256": "d3f401b2ca70f7daf938baa9a2c8e3fdb8b98cc25a4712ece1f6d95b7da94784",
  "_expires": "2027-01-13T13:16:09.000Z",
  "_created": "2026-10-05T13:09:44.000Z",
  "_published": "2026-10-05T13:16:11.118Z",
  "_jobs": [
    {
      "job": 111778458638,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11347401813"
    },
    {
      "job": 111778458445,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11347337379"
    },
    {
      "job": 111778458571,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11347676664"
    },
    {
      "job": 111778458506,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11347022293"
    },
    {
      "job": 111777363004,
      "time": 156,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11347841004"
    },
    {
      "job": 111778458980,
      "time": 79,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11348085891"
    },
    {
      "job": 111778458590,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11347052089"
    },
    {
      "job": 111778458532,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11347906242"
    },
    {
      "job": 111778458505,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11347261856"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536",
  "_status": "success",
  "_upstream": "https://github.com/gs-actuary/ratingtables",
  "_commit": {
    "id": "a2f9e434926411fb7139b769c74e467f6e46ffde",
    "author": "Greg Sollenberger <yagreg7@yahoo.com>",
    "committer": "Greg Sollenberger <yagreg7@yahoo.com>",
    "message": "Update version in CRAN notes.\n",
    "time": 1788648955
  },
  "_maintainer": {
    "name": "Greg Sollenberger",
    "email": "yagreg7@yahoo.com",
    "login": "gs-actuary",
    "description": "",
    "uuid": 299315495
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "gs-actuary",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-29",
      "n": 7
    },
    {
      "week": "2026-30",
      "n": 7
    },
    {
      "week": "2026-31",
      "n": 9
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-36",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "gs-actuary",
      "count": 37,
      "uuid": 299315495
    }
  ],
  "_userbio": {
    "uuid": 299315495,
    "type": "user",
    "name": "gs-actuary",
    "followers": 1
  },
  "_downloads": {
    "count": 268,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ratingtables"
  },
  "_devurl": "https://github.com/gs-actuary/ratingtables",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ratingtables.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/gs-actuary/ratingtables",
  "_realowner": "gs-actuary",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-08-09"
    },
    {
      "version": "0.2.2",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "aggregate_entity_values",
    "append_rating_factors",
    "apply_caps",
    "apply_rounding",
    "average_entity_factors",
    "ensure_slot_columns",
    "example_rating_plan",
    "explain_rating",
    "find_duplicate_factors",
    "join_entity_factors",
    "join_entity_values",
    "lookup_exact_value",
    "lookup_factor_value",
    "lookup_interpolated_value",
    "lookup_term_value",
    "make_empty_slots",
    "new_rating_plan",
    "populate_slots",
    "rate_entities",
    "rate_one_row_one_coverage",
    "rate_policies",
    "rate_policies_with_trace",
    "rate_set_to_tables",
    "required_policy_fields",
    "score_entity_rows",
    "trace_to_excel_style",
    "trace_to_wide_factors",
    "validate_factor_table",
    "validate_policy_data",
    "validate_rate_sets",
    "validate_rating_plan",
    "validate_rating_spec"
  ],
  "_help": [
    {
      "page": "aggregate_entity_values",
      "title": "Aggregate rated entity values to parent records",
      "topics": [
        "aggregate_entity_values"
      ]
    },
    {
      "page": "append_rating_factors",
      "title": "Append wide rating-step values to rated data",
      "topics": [
        "append_rating_factors"
      ]
    },
    {
      "page": "apply_caps",
      "title": "Apply rate-change caps to indicated premiums",
      "topics": [
        "apply_caps"
      ]
    },
    {
      "page": "apply_rounding",
      "title": "Apply a rounding rule",
      "topics": [
        "apply_rounding"
      ]
    },
    {
      "page": "average_entity_factors",
      "title": "Average entity rating factors",
      "topics": [
        "average_entity_factors"
      ]
    },
    {
      "page": "custom_rating_functions",
      "title": "Custom rating functions",
      "topics": [
        "custom_rating_functions"
      ]
    },
    {
      "page": "ensure_slot_columns",
      "title": "Ensure variable/level slot columns exist",
      "topics": [
        "ensure_slot_columns"
      ]
    },
    {
      "page": "example_rating_plan",
      "title": "Build a small example rating plan",
      "topics": [
        "example_rating_plan"
      ]
    },
    {
      "page": "explain_rating",
      "title": "Explain a rating calculation",
      "topics": [
        "explain_rating"
      ]
    },
    {
      "page": "find_duplicate_factors",
      "title": "Find duplicate factor-table rows",
      "topics": [
        "find_duplicate_factors"
      ]
    },
    {
      "page": "join_entity_factors",
      "title": "Join entity factors to rating data",
      "topics": [
        "join_entity_factors"
      ]
    },
    {
      "page": "join_entity_values",
      "title": "Join aggregated entity values to parent records",
      "topics": [
        "join_entity_values"
      ]
    },
    {
      "page": "lookup_exact_value",
      "title": "Look up an exact rating-table value",
      "topics": [
        "lookup_exact_value"
      ]
    },
    {
      "page": "lookup_factor_value",
      "title": "Look up a factor value by source",
      "topics": [
        "lookup_factor_value"
      ]
    },
    {
      "page": "lookup_interpolated_value",
      "title": "Look up an interpolated rating-table value",
      "topics": [
        "lookup_interpolated_value"
      ]
    },
    {
      "page": "lookup_term_value",
      "title": "Look up an exact rating term value",
      "topics": [
        "lookup_term_value"
      ]
    },
    {
      "page": "make_empty_slots",
      "title": "Add empty variable/level slot columns",
      "topics": [
        "make_empty_slots"
      ]
    },
    {
      "page": "new_rating_plan",
      "title": "Create a rating plan",
      "topics": [
        "new_rating_plan"
      ]
    },
    {
      "page": "populate_slots",
      "title": "Populate variable/level slots from named values",
      "topics": [
        "populate_slots"
      ]
    },
    {
      "page": "rate_entities",
      "title": "Rate child or entity records",
      "topics": [
        "rate_entities"
      ]
    },
    {
      "page": "rate_one_row_one_coverage",
      "title": "Rate one record for one coverage",
      "topics": [
        "rate_one_row_one_coverage"
      ]
    },
    {
      "page": "rate_policies",
      "title": "Rate policy records",
      "topics": [
        "rate_policies"
      ]
    },
    {
      "page": "rate_policies_with_trace",
      "title": "Rate policy records with trace output",
      "topics": [
        "rate_policies_with_trace"
      ]
    },
    {
      "page": "rate_set_to_tables",
      "title": "Split a rate set into review-friendly tables",
      "topics": [
        "rate_set_to_tables"
      ]
    },
    {
      "page": "required_policy_fields",
      "title": "Identify required rating-data fields",
      "topics": [
        "required_policy_fields"
      ]
    },
    {
      "page": "score_entity_rows",
      "title": "Score child or entity records",
      "topics": [
        "score_entity_rows"
      ]
    },
    {
      "page": "trace_to_excel_style",
      "title": "Reshape rating trace to an Excel-style step table",
      "topics": [
        "trace_to_excel_style"
      ]
    },
    {
      "page": "trace_to_wide_factors",
      "title": "Reshape rating trace to wide step-value columns",
      "topics": [
        "trace_to_wide_factors"
      ]
    },
    {
      "page": "validate_factor_table",
      "title": "Check minimum factor-table structure",
      "topics": [
        "validate_factor_table"
      ]
    },
    {
      "page": "validate_policy_data",
      "title": "Check required rating-data columns",
      "topics": [
        "validate_policy_data"
      ]
    },
    {
      "page": "validate_rate_sets",
      "title": "Check rate-set identifiers and date ranges",
      "topics": [
        "validate_rate_sets"
      ]
    },
    {
      "page": "validate_rating_plan",
      "title": "Check a rating plan",
      "topics": [
        "validate_rating_plan"
      ]
    },
    {
      "page": "validate_rating_spec",
      "title": "Check rating-specification fields",
      "topics": [
        "validate_rating_spec"
      ]
    }
  ],
  "_readme": "https://github.com/gs-actuary/ratingtables/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "rating-plan-walkthrough.Rmd",
      "filename": "rating-plan-walkthrough.html",
      "title": "A Worked Auto Driver Averaging Rating Plan with ratingtables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "A helper for building factor-table rows",
        "Driver-level rating",
        "Driver factor table",
        "Driver rating specification",
        "Driver data",
        "Rate the drivers",
        "Average driver factors by household",
        "Vehicle-level rating",
        "Vehicle factor table",
        "Vehicle data",
        "Custom rating functions",
        "Custom function 1: high-score surcharge",
        "Custom function 2: legacy composite-risk adjustment",
        "Vehicle rating specification",
        "Rate the vehicles",
        "Inspect interpolation and custom-function trace rows",
        "Apply rate-change caps",
        "What this example demonstrates"
      ],
      "created": "2026-08-29 23:51:57",
      "modified": "2026-08-31 00:34:18",
      "commits": 2
    }
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "ratingtables",
  "_universes": [
    "gs-actuary"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-05T13:12:00.000Z",
      "distro": "resolute",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/d631e38e4a5b2345ef30a3e6a6387f0b1c1347bd23192f6347ddb0a07dcfdd1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-05T13:11:42.000Z",
      "distro": "resolute",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/0fea82a28743d95763b6bad5e5859ac5f3b9c2d55b16430d69d8dfc4c3536b29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-05T13:12:11.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/33cc64bb9815f7cc85003e40ac7de5840f45e1c258fc4fe2a64c3a4005b891ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-05T13:11:52.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/2991a2f0249855a7c80031f124037ed4275d1a773ba0a3f274bc68e8e0eadd01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-10-05T13:11:22.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/cf175cea442bdf9836b1d108565790bb16a715cdac6bb7e09719c6cb7f1add89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T13:10:53.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/0e31b72be4dc891770d7776d20e123fafd54aeecbff01bdd5f3c1e6f2d3bf2c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T13:11:15.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/89cc9b75d254bca72bb6497016f18e525edacf3de5ee6959c5a2d12fc15ca498",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T13:10:56.000Z",
      "commit": "a2f9e434926411fb7139b769c74e467f6e46ffde",
      "fileid": "https://r2.ropensci.org/2d0305e81c9c8fc4cb5ca901ae416fbd43622e2a8ba451af1a415c9fa9d8f67f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gs-actuary/actions/runs/37314358536"
    }
  ]
}