{
  "_id": "6a1ad3551d7bb097a09e383d",
  "Type": "Package",
  "Package": "rfm",
  "Title": "Recency, Frequency and Monetary Value Analysis",
  "Version": "0.4.0",
  "Authors@R": "person(\"Aravind\", \"Hebbali\", email = \"hebbali.aravind@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9220-9669\"))",
  "Description": "Tools for RFM (recency, frequency and monetary value)\nanalysis. Generate RFM score from both transaction and customer\nlevel data. Visualize the relationship between recency,\nfrequency and monetary value using heatmap, histograms, bar\ncharts and scatter plots. Includes a 'shiny' app for\ninteractive segmentation. References: i. Blattberg R.C., Kim\nBD., Neslin S.A (2008) <doi:10.1007/978-0-387-72579-6_12>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/rsquaredacademy/rfm,\nhttps://rfm.rsquaredacademy.com/",
  "BugReports": "https://github.com/rsquaredacademy/rfm/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev libgdal-dev gdal-bin\nlibgeos-dev make libharfbuzz-dev libicu-dev libjpeg-dev\nlibpng-dev libuv1-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://rsquaredacademy.r-universe.dev",
  "Date/Publication": "2026-04-30 09:35:47 UTC",
  "RemoteUrl": "https://github.com/rsquaredacademy/rfm",
  "RemoteRef": "HEAD",
  "RemoteSha": "80dda40c6eb47c85f4960a50d03350e972db5205",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-30 08:46:19 UTC",
    "User": "root"
  },
  "Author": "Aravind Hebbali [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9220-9669>)",
  "Maintainer": "Aravind Hebbali <hebbali.aravind@gmail.com>",
  "MD5sum": "dee853680882f485aab10f89ad416524",
  "_user": "rsquaredacademy",
  "_type": "src",
  "_file": "rfm_0.4.0.tar.gz",
  "_fileid": "ceeaceef7fcafe95f7ebf50fe1f3576de5379143704db36bbe67755652635b8a",
  "_filesize": 1435321,
  "_sha256": "ceeaceef7fcafe95f7ebf50fe1f3576de5379143704db36bbe67755652635b8a",
  "_created": "2026-05-30T08:46:19.000Z",
  "_published": "2026-05-30T12:08:53.141Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78637501446,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7306947390"
    },
    {
      "job": 78637501438,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306949350"
    },
    {
      "job": 78637501452,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7308056467"
    },
    {
      "job": 78637501444,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7308057978"
    },
    {
      "job": 78637296705,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306931930"
    },
    {
      "job": 78637501436,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306945967"
    },
    {
      "job": 78637501471,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7306943681"
    },
    {
      "job": 78637501448,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7306944796"
    },
    {
      "job": 78637501466,
      "time": 130,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306944729"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rsquaredacademy/rfm",
  "_commit": {
    "id": "80dda40c6eb47c85f4960a50d03350e972db5205",
    "author": "Aravind Hebbali <rsquaredin@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #98 from rsquaredacademy/develop\n\nrfm 0.4.0",
    "time": 1777541747
  },
  "_maintainer": {
    "name": "Aravind Hebbali",
    "email": "hebbali.aravind@gmail.com",
    "login": "aravindhebbali",
    "twitter": "@rsquaredacademy",
    "description": "#rstats #economics",
    "uuid": 8706536,
    "orcid": "0000-0001-9220-9669"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "gganimate",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "treemapify",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "xplorerr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rmdformats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "rsquaredacademy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-04-30"
    }
  ],
  "_topics": [
    "customer-analytics",
    "customer-segmentation",
    "rfm-analysis",
    "segmentation"
  ],
  "_stars": 70,
  "_contributors": [
    {
      "user": "aravindhebbali",
      "count": 429,
      "uuid": 8706536
    },
    {
      "user": "framartin",
      "count": 2,
      "uuid": 1850174
    }
  ],
  "_userbio": {
    "uuid": 23705610,
    "type": "organization",
    "name": "Rsquared Academy"
  },
  "_downloads": {
    "count": 1292,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rfm"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/rsquaredacademy/rfm",
  "_pkgdown": "https://rfm.rsquaredacademy.com/",
  "_searchresults": 105,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rfm.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rsquaredacademy/rfm",
  "_realowner": "rsquaredacademy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-04-09"
    },
    {
      "version": "0.2.0",
      "date": "2019-01-14"
    },
    {
      "version": "0.2.1",
      "date": "2020-04-23"
    },
    {
      "version": "0.2.2",
      "date": "2020-07-21"
    },
    {
      "version": "0.3.0",
      "date": "2024-02-26"
    },
    {
      "version": "0.4.0",
      "date": "2026-04-30"
    }
  ],
  "_exports": [
    "rfm_bar_chart",
    "rfm_barchart_data",
    "rfm_create_report",
    "rfm_fm_plot",
    "rfm_heatmap",
    "rfm_heatmap_data",
    "rfm_histograms",
    "rfm_launch_app",
    "rfm_order_dist",
    "rfm_plot_bar_chart",
    "rfm_plot_heatmap",
    "rfm_plot_histogram",
    "rfm_plot_median_frequency",
    "rfm_plot_median_monetary",
    "rfm_plot_median_recency",
    "rfm_plot_order_dist",
    "rfm_plot_revenue_dist",
    "rfm_plot_segment",
    "rfm_plot_segment_scatter",
    "rfm_plot_segment_summary",
    "rfm_rf_plot",
    "rfm_rm_plot",
    "rfm_segment",
    "rfm_segment_summary",
    "rfm_table_customer",
    "rfm_table_customer_2",
    "rfm_table_order"
  ],
  "_datasets": [
    {
      "name": "rfm_data_customer",
      "title": "RFM customer data",
      "object": "rfm_data_customer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "customer_id",
        "revenue",
        "most_recent_visit",
        "number_of_orders",
        "recency_days",
        "first_name",
        "last_name",
        "email"
      ],
      "rows": 39999,
      "table": true,
      "tojson": true
    },
    {
      "name": "rfm_data_orders",
      "title": "RFM transaction data",
      "object": "rfm_data_orders",
      "class": [
        "data.frame"
      ],
      "fields": [
        "customer_id",
        "order_date",
        "revenue",
        "first_name",
        "last_name",
        "email"
      ],
      "rows": 4906,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rfm_barchart_data",
      "title": "Bar chart data",
      "topics": [
        "rfm_barchart_data"
      ]
    },
    {
      "page": "rfm_create_report",
      "title": "RFM report",
      "topics": [
        "rfm_create_report"
      ]
    },
    {
      "page": "rfm_data_customer",
      "title": "RFM customer data",
      "topics": [
        "rfm_data_customer"
      ]
    },
    {
      "page": "rfm_data_orders",
      "title": "RFM transaction data",
      "topics": [
        "rfm_data_orders"
      ]
    },
    {
      "page": "rfm_heatmap_data",
      "title": "Heatmap data",
      "topics": [
        "rfm_heatmap_data"
      ]
    },
    {
      "page": "rfm_launch_app",
      "title": "Launch shiny app",
      "topics": [
        "rfm_launch_app"
      ]
    },
    {
      "page": "rfm_plot_bar_chart",
      "title": "RFM bar chart",
      "topics": [
        "rfm_bar_chart",
        "rfm_plot_bar_chart"
      ]
    },
    {
      "page": "rfm_plot_heatmap",
      "title": "RFM heatmap",
      "topics": [
        "rfm_heatmap",
        "rfm_plot_heatmap"
      ]
    },
    {
      "page": "rfm_plot_histogram",
      "title": "RFM histograms",
      "topics": [
        "rfm_histograms",
        "rfm_plot_histogram"
      ]
    },
    {
      "page": "rfm_plot_median_recency",
      "title": "Median plots",
      "topics": [
        "rfm_plot_median_frequency",
        "rfm_plot_median_monetary",
        "rfm_plot_median_recency"
      ]
    },
    {
      "page": "rfm_plot_order_dist",
      "title": "Customers by orders",
      "topics": [
        "rfm_order_dist",
        "rfm_plot_order_dist"
      ]
    },
    {
      "page": "rfm_plot_revenue_dist",
      "title": "Revenue distribution",
      "topics": [
        "rfm_plot_revenue_dist"
      ]
    },
    {
      "page": "rfm_plot_segment",
      "title": "RFM Segmentation Plot",
      "topics": [
        "rfm_plot_segment"
      ]
    },
    {
      "page": "rfm_plot_segment_scatter",
      "title": "Segment Scatter Plots",
      "topics": [
        "rfm_plot_segment_scatter"
      ]
    },
    {
      "page": "rfm_plot_segment_summary",
      "title": "Visulaize segment summary",
      "topics": [
        "rfm_plot_segment_summary"
      ]
    },
    {
      "page": "rfm_rm_plot",
      "title": "RFM Scatter plot",
      "topics": [
        "rfm_fm_plot",
        "rfm_rf_plot",
        "rfm_rm_plot"
      ]
    },
    {
      "page": "rfm_segment",
      "title": "Segmentation",
      "topics": [
        "rfm_segment"
      ]
    },
    {
      "page": "rfm_segment_summary",
      "title": "Segment summary",
      "topics": [
        "rfm_segment_summary"
      ]
    },
    {
      "page": "rfm_table_customer",
      "title": "RFM table (customer data)",
      "topics": [
        "rfm_table_customer",
        "rfm_table_customer_2"
      ]
    },
    {
      "page": "rfm_table_order",
      "title": "RFM table (transaction data)",
      "topics": [
        "rfm_table_order"
      ]
    }
  ],
  "_readme": "https://github.com/rsquaredacademy/rfm/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "commonmark",
    "cpp11",
    "crayon",
    "crosstalk",
    "curl",
    "data.table",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "gganimate",
    "ggfittext",
    "ggplot2",
    "glue",
    "gridtext",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lazyeval",
    "lifecycle",
    "litedown",
    "lpSolve",
    "magrittr",
    "markdown",
    "MASS",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "png",
    "prettyunits",
    "progress",
    "promises",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "shades",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "svglite",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "transformr",
    "treemapify",
    "tweenr",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "xml2",
    "xplorerr",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "rfm-introduction.Rmd",
      "filename": "rfm-introduction.html",
      "title": "RFM - Introduction",
      "author": "Aravind Hebbali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data",
        "RFM Score",
        "Segments",
        "Segmented Customer Data",
        "Segment Summary",
        "Segmentation Plot",
        "Segment Summary Plot",
        "Revenue Distribution"
      ],
      "created": "2023-06-28 11:00:36",
      "modified": "2024-02-26 11:47:06",
      "commits": 2
    }
  ],
  "_score": 6.676519857079279,
  "_indexed": true,
  "_nocasepkg": "rfm",
  "_universes": [
    "rsquaredacademy",
    "aravindhebbali"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-30T08:48:45.000Z",
      "distro": "noble",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "6530f74c67e4485881d7ca5f9b6cf591920c458f13e90691fcc622c4fb29d978",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-30T08:48:57.000Z",
      "distro": "noble",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "6d3e647d5b0cff514e23dc15fdbb5fe445e2efb705335c1a7fc12d4d71c6ff7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-30T12:07:50.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "1c5b32016f4cadbdaedb89d34eb1d17624f20533080f7f4b6015d9253e7e5f35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-30T12:08:01.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "023c149851f01f52e6d1e9fdd6e9d4c982bae446be88f951da1f069f3a8aabd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-05-30T08:49:04.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "ffad71bdb87420b9f867cac95b84a4b0c2e61e282ce87b488ba14d9730222715",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-30T08:47:47.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "9619f925abaabbd86e393e901a107cc8f3cd595d74e06c0115ac88e9bfe5ea46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-30T08:47:56.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "72e093747123a337662fdb162b91124a15e6d8ddc3885220ede73376c52c5001",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-30T08:47:52.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "be59530cc6ad87c2ed7947348d05d9ea241674b1fc6f616cd71ec3eeb3f346ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/26679513860"
    }
  ]
}