{
  "_id": "6a1ed8ebb401979e7340f22d",
  "Package": "MarketMatching",
  "Type": "Package",
  "Title": "Market Matching and Causal Impact Inference",
  "Version": "1.2.1",
  "Date": "2024-01-11",
  "Authors@R": "person(\"Larsen\", \"Kim\", email = \"kblarsen4@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "For a given test market find the best control markets\nusing time series matching and analyze the impact of an\nintervention. The intervention could be a marketing event or\nsome other local business tactic that is being tested. The\nworkflow implemented in the Market Matching package utilizes\ndynamic time warping (the 'dtw' package) to do the matching and\nthe 'CausalImpact' package to analyze the causal impact. In\nfact, this package can be considered a \"workflow wrapper\" for\nthose two packages. In addition, if you don't have a chosen set\nof test markets to match, the Market Matching package can\nprovide suggested test/control market pairs and pseudo\nprospective power analysis (measuring causal impact at fake\ninterventions).",
  "License": "GPL (>=3)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/klarsen1/MarketMatching",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://klarsen1.r-universe.dev",
  "Date/Publication": "2024-02-18 23:07:28 UTC",
  "RemoteUrl": "https://github.com/klarsen1/marketmatching",
  "RemoteRef": "HEAD",
  "RemoteSha": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 09:39:47 UTC",
    "User": "root"
  },
  "Author": "Larsen Kim [aut, cre]",
  "Maintainer": "Larsen Kim <kblarsen4@gmail.com>",
  "MD5sum": "f2a4c05ac6f71b6b7d9d773d851ee187",
  "_user": "klarsen1",
  "_type": "src",
  "_file": "MarketMatching_1.2.1.tar.gz",
  "_fileid": "34f0967653448d7133cb7e1398aa902d51be16a67dbcd4fdf0982c6e8d7d759b",
  "_filesize": 1591101,
  "_sha256": "34f0967653448d7133cb7e1398aa902d51be16a67dbcd4fdf0982c6e8d7d759b",
  "_created": "2026-05-20T09:39:47.000Z",
  "_published": "2026-06-02T13:21:47.734Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79080171928,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106563996"
    },
    {
      "job": 79080172169,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106582242"
    },
    {
      "job": 79080172575,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106564576"
    },
    {
      "job": 79080171995,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106565034"
    },
    {
      "job": 79080170957,
      "time": 304,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106511613"
    },
    {
      "job": 79080171169,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358857214"
    },
    {
      "job": 79080172193,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106547328"
    },
    {
      "job": 79080172657,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106550029"
    },
    {
      "job": 79080172140,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106546050"
    }
  ],
  "_buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/klarsen1/marketmatching",
  "_commit": {
    "id": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
    "author": "Kim Larsen <kblarsen4@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #32 from olivroy/patch-1\n\nAdd link to DESCRIPTION",
    "time": 1708297648
  },
  "_maintainer": {
    "name": "Larsen Kim",
    "email": "kblarsen4@gmail.com",
    "login": "klarsen1",
    "description": "",
    "uuid": 10136180
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "CausalImpact",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "bsts",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "Boom",
      "role": "Imports"
    },
    {
      "package": "utf8",
      "role": "Imports"
    },
    {
      "package": "dtw",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "klarsen1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 137,
  "_contributors": [
    {
      "user": "klarsen1",
      "count": 6,
      "uuid": 10136180
    },
    {
      "user": "tarekrached",
      "count": 3,
      "uuid": 167218
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    },
    {
      "user": "thisismath",
      "count": 1,
      "uuid": 45130271
    }
  ],
  "_userbio": {
    "uuid": 10136180,
    "type": "user",
    "name": "Kim Larsen"
  },
  "_downloads": {
    "count": 841,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MarketMatching"
  },
  "_devurl": "https://github.com/klarsen1/marketmatching",
  "_searchresults": 41,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MarketMatching.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/klarsen1/marketmatching",
  "_realowner": "klarsen1",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2018-11-14"
    },
    {
      "version": "1.1.2",
      "date": "2019-07-03"
    },
    {
      "version": "1.2.0",
      "date": "2021-01-08"
    },
    {
      "version": "1.2.1",
      "date": "2024-01-31"
    }
  ],
  "_exports": [
    "best_matches",
    "inference",
    "roll_up_optimal_pairs",
    "test_fake_lift"
  ],
  "_datasets": [
    {
      "name": "weather",
      "title": "Weather dataset",
      "object": "weather",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Area",
        "Date",
        "Mean_TemperatureF"
      ],
      "rows": 6935,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "best_matches",
      "title": "For each market, find the best matching control market",
      "topics": [
        "best_matches"
      ]
    },
    {
      "page": "inference",
      "title": "Given a test market, analyze the impact of an intervention",
      "topics": [
        "inference"
      ]
    },
    {
      "page": "MarketMatching",
      "title": "Market Matching and Causal Impact Inference",
      "topics": [
        "MarketMatching-package",
        "MarketMatching"
      ]
    },
    {
      "page": "roll_up_optimal_pairs",
      "title": "Roll up the suggested test/control optimal pairs for pseudo power analysis (testing fake lift)",
      "topics": [
        "roll_up_optimal_pairs"
      ]
    },
    {
      "page": "test_fake_lift",
      "title": "Given a test market, analyze the impact of fake interventions (prospective power analysis)",
      "topics": [
        "test_fake_lift"
      ]
    },
    {
      "page": "weather",
      "title": "Weather dataset",
      "topics": [
        "weather"
      ]
    }
  ],
  "_readme": "https://github.com/klarsen1/marketmatching/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "Boom",
    "BoomSpikeSlab",
    "bsts",
    "CausalImpact",
    "cli",
    "codetools",
    "cpp11",
    "doParallel",
    "dplyr",
    "dtw",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "plyr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "MarketMatching-Vignette.Rmd",
      "filename": "MarketMatching-Vignette.html",
      "title": "MarketMatching Package Vignette",
      "author": "Kim Larsen",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "A Traditional Approach",
        "A More Flexible and Robust Approach",
        "Notes on the Workflow",
        "About MarketMatching Package",
        "Summary of features:",
        "Example",
        "Prospective Pseudo Power Curves",
        "Getting optimized market pairs (test/control) recommendations",
        "How Does Dynamic Time Warping Work?",
        "Dynamic Time Warping Example",
        "How Does Intervention Inference Work?",
        "Some Technical Details",
        "About Spike-and-Slab Priors",
        "How to Select the Local Level Standard Error",
        "Note on Structural Time Series Models",
        "References"
      ],
      "created": "2015-12-26 18:35:47",
      "modified": "2021-01-08 17:25:16",
      "commits": 52
    }
  ],
  "_score": 6.9255956829318235,
  "_indexed": true,
  "_nocasepkg": "marketmatching",
  "_universes": [
    "klarsen1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-20T09:42:01.000Z",
      "distro": "noble",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "641a82c05fa55848e37f2df6ee73aae65b794c02029cec88690023063a6621de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-20T09:42:49.000Z",
      "distro": "noble",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "9164cd16863955cb8e0d2b3a160f38f67c88ccfff9b8c399611d342d4bc01f08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-20T09:42:06.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "ed2bb1d510373b6d424c1e3f3f51a8273ed8aafc18f2685b7321f678afe54f1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-20T09:42:05.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "348582b26be9a9bbd1db78dee62ea5c3fbcc6b659882518ff6336d21f4045b53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-20T09:41:09.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "584c5127cbc156f4f799e892ef7ba14a16c5dfbcf175b66c409d3ec1d529b7f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-20T09:41:14.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "11ad5ebc05e65960be5fbe578e9c712024e51cb158a52a4f4b92560d71abe912",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-20T09:41:05.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "796c0680425b0390ceb853a0e22793fc4fab5b88fb2bbba9e2097d4c5515dd27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-06-02T13:21:23.000Z",
      "commit": "85cdb5bbd2c21062fdf5247d321cf1493b841e69",
      "fileid": "10fe019a6b072c3c2a1e85dea50020964c81c66aede56dc102289a06544ace8e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/klarsen1/actions/runs/26154130472"
    }
  ]
}