{
  "_id": "6a47db7ce06c18f0a6521f36",
  "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-07-03 15:51:46 UTC",
    "User": "root"
  },
  "Author": "Aravind Hebbali [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9220-9669>)",
  "Maintainer": "Aravind Hebbali <hebbali.aravind@gmail.com>",
  "_user": "rsquaredacademy",
  "_type": "src",
  "_file": "rfm_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a5cc54a8b0441e2dd7d0414886097dc505bf982c558e8d69bcf8d571bad44e76",
  "_filesize": 1439538,
  "_sha256": "a5cc54a8b0441e2dd7d0414886097dc505bf982c558e8d69bcf8d571bad44e76",
  "_expires": "2026-10-11T15:55:38.000Z",
  "_created": "2026-07-03T15:51:46.000Z",
  "_published": "2026-07-03T15:55:40.906Z",
  "_jobs": [
    {
      "job": 85034062780,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8070648905"
    },
    {
      "job": 85034062777,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8070651097"
    },
    {
      "job": 85034062809,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8070633965"
    },
    {
      "job": 85034062787,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8070633273"
    },
    {
      "job": 85033512421,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8070593954"
    },
    {
      "job": 85034062781,
      "time": 186,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8070650175"
    },
    {
      "job": 85034062834,
      "time": 124,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8070631641"
    },
    {
      "job": 85034062792,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8070630936"
    },
    {
      "job": 85034062807,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8070632708"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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": 69,
  "_contributors": [
    {
      "user": "aravindhebbali",
      "count": 429,
      "uuid": 8706536
    },
    {
      "user": "framartin",
      "count": 2,
      "uuid": 1850174
    }
  ],
  "_userbio": {
    "uuid": 23705610,
    "type": "organization",
    "name": "Rsquared Academy",
    "followers": 25
  },
  "_downloads": {
    "count": 1394,
    "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": 120,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.7612631148828894,
  "_indexed": true,
  "_nocasepkg": "rfm",
  "_universes": [
    "rsquaredacademy",
    "aravindhebbali"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-03T15:54:25.000Z",
      "distro": "resolute",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/746728fa3db09a27c447170c7c39f01bb1eb23597691963a3e26fe9160b134be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-03T15:54:32.000Z",
      "distro": "resolute",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/da372ec44f3e0800dc536cb92b257135b385c790f1d5ea31bd9a13c564f444a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-03T15:53:43.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/13a2b57a66a7eb2f3364bdcd8f468e118e7791c465c65b808a870648063053aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-03T15:53:37.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/14bbfeeeb3fcc6693f2a5e731c668b788d2da0a9514b8ece33139d530a74fb29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-07-03T15:55:08.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/76cb081e5d4768befe6a30c9461b1a98712e3e708a28fc82b3a9e456574ae3e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T15:53:15.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/11e295c352a29587b40c16206a484e3113ea272a3fad1ad3c1fb8be1c5202202",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T15:53:11.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/dbe24bc986e5ebe0b1d3394370a1690b5224529ddeb918f822c313435f7959f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T15:53:21.000Z",
      "commit": "80dda40c6eb47c85f4960a50d03350e972db5205",
      "fileid": "https://r2.ropensci.org/7aac468e6b4241c301e834f4c1cff6c0d3fb2753c203d2903aabb922d4964290",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/28670826972"
    }
  ]
}