{
  "_id": "6afa97bf83da0cf25ab13e38",
  "Type": "Package",
  "Package": "rfm",
  "Title": "Recency, Frequency and Monetary Value Analysis",
  "Version": "0.5.1",
  "Authors@R": "person(\"Aravind\", \"Hebbali\", email = \"aravindhebbali@rsquaredacademy.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",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://rsquaredacademy.r-universe.dev",
  "Date/Publication": "2026-11-16 05:28:11 UTC",
  "RemoteUrl": "https://github.com/rsquaredacademy/rfm",
  "RemoteRef": "HEAD",
  "RemoteSha": "ae0d73becc650bf8df16f953a97107477f9adb04",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-16 05:39:03 UTC",
    "User": "root"
  },
  "Author": "Aravind Hebbali [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9220-9669>)",
  "Maintainer": "Aravind Hebbali <aravindhebbali@rsquaredacademy.com>",
  "_user": "rsquaredacademy",
  "_type": "src",
  "_file": "rfm_0.5.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3f7368c3c98ae5871212d028711007da81f8c6dbe9164bc0383aee9a14245ae0",
  "_filesize": 1384623,
  "_sha256": "3f7368c3c98ae5871212d028711007da81f8c6dbe9164bc0383aee9a14245ae0",
  "_expires": "2027-02-24T05:42:22.000Z",
  "_created": "2026-11-16T05:39:03.000Z",
  "_published": "2026-11-16T05:42:23.636Z",
  "_upstream": "https://github.com/rsquaredacademy/rfm",
  "_status": "success",
  "_maintainer": {
    "name": "Aravind Hebbali",
    "email": "aravindhebbali@rsquaredacademy.com",
    "orcid": "0000-0001-9220-9669"
  },
  "_jobs": [
    {
      "job": 133114448255,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14200931797"
    },
    {
      "job": 133114448152,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14200926573"
    },
    {
      "job": 133114448200,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14200198831"
    },
    {
      "job": 133114448088,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14200867038"
    },
    {
      "job": 133113237677,
      "time": 214,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14200024060"
    },
    {
      "job": 133114448141,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14199949320"
    },
    {
      "job": 133114448275,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14200737352"
    },
    {
      "job": 133114448194,
      "time": 123,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14201090881"
    },
    {
      "job": 133114448221,
      "time": 111,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14200921471"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621",
  "_commit": {
    "id": "ae0d73becc650bf8df16f953a97107477f9adb04",
    "author": "Aravind Hebbali <hebbali.aravind@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #120 from rsquaredacademy/task/rfm-site-c19\n\nsite: robots.txt, canonical links, sitemap clean-up and contributing link (C19)",
    "time": 1794806891
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "gganimate",
      "role": "Suggests"
    },
    {
      "package": "gifski",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rmdformats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "treemapify",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "xplorerr",
      "role": "Suggests"
    }
  ],
  "_owner": "rsquaredacademy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-04-30"
    },
    {
      "name": "v0.5.0",
      "date": "2026-10-15"
    },
    {
      "name": "v0.5.1",
      "date": "2026-11-16"
    }
  ],
  "_topics": [
    "customer-analytics",
    "customer-segmentation",
    "rfm-analysis",
    "segmentation"
  ],
  "_stars": 69,
  "_contributors": [
    {
      "user": "aravindhebbali",
      "count": 478,
      "uuid": 8706536
    },
    {
      "user": "framartin",
      "count": 2,
      "uuid": 1850174
    }
  ],
  "_userbio": {
    "uuid": 23705610,
    "type": "organization",
    "name": "Rsquared Academy",
    "followers": 25
  },
  "_downloads": {
    "count": 1283,
    "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": 119,
  "_rbuild": "4.6.2",
  "_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/readme.html",
    "extra/readme.md",
    "extra/rfm.html",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "0.5.0",
      "date": "2026-10-16"
    },
    {
      "version": "0.5.1",
      "date": "2026-11-15"
    }
  ],
  "_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": "Visualize 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": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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": "2026-11-16 02:19:09",
      "commits": 3
    }
  ],
  "_score": 7.198713967560396,
  "_indexed": true,
  "_nocasepkg": "rfm",
  "_universes": [
    "rsquaredacademy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-11-16T05:41:23.000Z",
      "distro": "resolute",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/1f8eb66aa0b492285893f360f6dda9f4b07fac3effb684f8b7814852c9b10bf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-11-16T05:41:14.000Z",
      "distro": "resolute",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/439480739cd55c53b090a58ee0d447e10ef442662b4bb473431433e41a7c13f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-11-16T05:41:10.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/377e7dbf3b8a43d87c78173bcb6fc33852f6c84478ddf9698620aeb1f972ebab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-11-16T05:41:11.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/658de814184315362084965750e5f47ee2fef87684c2d787d7364ec744b93578",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-11-16T05:41:16.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/10fb8ec016ec4cb7aa7e8c212b96c4b167859d9d4a6136f389bae0870a0f036d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-11-16T05:40:11.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/e53bff08f9ac235508690f6824e8a8b36a1d2277f29553a7903ba8ed23472370",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-11-16T05:40:26.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/2530bdb301fa2d9d570e7ff52173f41bacbfed6b8e7ec0288489808a2bb92b5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-11-16T05:40:24.000Z",
      "commit": "ae0d73becc650bf8df16f953a97107477f9adb04",
      "fileid": "https://r2.ropensci.org/6178f0fba23eebb7e59cb50719b8210ecbee728df292a839ba73c2269d134561",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsquaredacademy/actions/runs/43811233621"
    }
  ]
}