{
  "_id": "6a1ef21db401979e73413ded",
  "Package": "statar",
  "Title": "Tools Inspired by 'Stata' to Manipulate Tabular Data",
  "Version": "0.7.7",
  "Authors@R": "person(\"Matthieu\",\"Gomez\", email = \"mg3901@columbia.edu\", role =\nc(\"aut\", \"cre\"))",
  "Description": "A set of tools inspired by 'Stata' to explore data.frames\n('summarize', 'tabulate', 'xtile', 'pctile', 'binscatter',\nelapsed quarters/month, lead/lag).",
  "License": "GPL-2",
  "URL": "https://github.com/matthieugomez/statar",
  "BugReports": "https://github.com/matthieugomez/statar/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://matthieugomez.r-universe.dev",
  "Date/Publication": "2025-07-23 13:34:05 UTC",
  "RemoteUrl": "https://github.com/matthieugomez/statar",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e693b0bdeeb5c21d5c815676560fd3353535364",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 07:52:58 UTC",
    "User": "root"
  },
  "Author": "Matthieu Gomez [aut, cre]",
  "Maintainer": "Matthieu Gomez <mg3901@columbia.edu>",
  "MD5sum": "ba861298d95c0e20f758ad7cf91b7b36",
  "_user": "matthieugomez",
  "_type": "src",
  "_file": "statar_0.7.7.tar.gz",
  "_fileid": "eeba0bdf4bfe97e9f6fe9d71abff1ad2357a3c6cf84a257f8c369eba7dc6a5ea",
  "_filesize": 454277,
  "_sha256": "eeba0bdf4bfe97e9f6fe9d71abff1ad2357a3c6cf84a257f8c369eba7dc6a5ea",
  "_created": "2026-05-19T07:52:58.000Z",
  "_published": "2026-06-02T15:09:17.345Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79103724400,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7077864325"
    },
    {
      "job": 79103724887,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077863646"
    },
    {
      "job": 79103725420,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7077917643"
    },
    {
      "job": 79103724759,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077890038"
    },
    {
      "job": 79103724105,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077818345"
    },
    {
      "job": 79103722943,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361724038"
    },
    {
      "job": 79103724679,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7077846204"
    },
    {
      "job": 79103724184,
      "time": 108,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7077852953"
    },
    {
      "job": 79103724598,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077862323"
    }
  ],
  "_buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/matthieugomez/statar",
  "_commit": {
    "id": "8e693b0bdeeb5c21d5c815676560fd3353535364",
    "author": "Matthieu Gomez <gomez.matthieu@gmail.com>",
    "committer": "Matthieu Gomez <gomez.matthieu@gmail.com>",
    "message": "fix Rd\n",
    "time": 1753277645
  },
  "_maintainer": {
    "name": "Matthieu Gomez",
    "email": "mg3901@columbia.edu",
    "login": "matthieugomez",
    "description": "Economic researcher",
    "uuid": 6223837
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "lazyeval",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "matthieugomez",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 57,
  "_contributors": [
    {
      "user": "matthieugomez",
      "count": 141,
      "uuid": 6223837
    },
    {
      "user": "jjchern",
      "count": 3,
      "uuid": 11262574
    },
    {
      "user": "daniloimparato",
      "count": 2,
      "uuid": 13784115
    },
    {
      "user": "eloualiche",
      "count": 1,
      "uuid": 1526426
    }
  ],
  "_userbio": {
    "uuid": 6223837,
    "type": "user",
    "name": "Matthieu Gomez",
    "description": "Economic researcher"
  },
  "_downloads": {
    "count": 752,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/statar"
  },
  "_devurl": "https://github.com/matthieugomez/statar",
  "_searchresults": 218,
  "_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/statar.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/matthieugomez/statar",
  "_realowner": "matthieugomez",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2014-10-16"
    },
    {
      "version": "0.1.1",
      "date": "2014-10-26"
    },
    {
      "version": "0.1.2",
      "date": "2014-10-31"
    },
    {
      "version": "0.1.3",
      "date": "2015-01-08"
    },
    {
      "version": "0.2",
      "date": "2015-06-03"
    },
    {
      "version": "0.3.0",
      "date": "2015-06-07"
    },
    {
      "version": "0.4.0",
      "date": "2015-12-30"
    },
    {
      "version": "0.5.0",
      "date": "2016-01-01"
    },
    {
      "version": "0.6.0",
      "date": "2016-01-20"
    },
    {
      "version": "0.6.1",
      "date": "2016-05-20"
    },
    {
      "version": "0.6.2",
      "date": "2016-06-25"
    },
    {
      "version": "0.6.3",
      "date": "2017-04-04"
    },
    {
      "version": "0.6.4",
      "date": "2017-04-14"
    },
    {
      "version": "0.6.5",
      "date": "2017-07-06"
    },
    {
      "version": "0.7.0",
      "date": "2019-02-20"
    },
    {
      "version": "0.7.1",
      "date": "2019-07-05"
    },
    {
      "version": "0.7.2",
      "date": "2020-07-27"
    },
    {
      "version": "0.7.3",
      "date": "2020-11-19"
    },
    {
      "version": "0.7.4",
      "date": "2022-07-19"
    },
    {
      "version": "0.7.5",
      "date": "2023-05-23"
    },
    {
      "version": "0.7.6",
      "date": "2023-08-19"
    },
    {
      "version": "0.7.7",
      "date": "2025-07-23"
    }
  ],
  "_exports": [
    "as.monthly",
    "as.quarterly",
    "fill_gap",
    "is.monthly",
    "is.panel",
    "is.quarterly",
    "join",
    "n_narm",
    "pctile",
    "stat_binmean",
    "sum_up",
    "tab",
    "tempname",
    "tlag",
    "tlead",
    "winsorise",
    "winsorize",
    "xtile"
  ],
  "_help": [
    {
      "page": "elapsed",
      "title": "Elapsed dates (monthly, quarterly)",
      "topics": [
        "as.monthly",
        "as.quarterly",
        "elapsed",
        "is.monthly",
        "is.quarterly",
        "monthly",
        "quarterly,"
      ]
    },
    {
      "page": "fill_gap",
      "title": "Add rows corresponding to gaps in some variable",
      "topics": [
        "fill_gap"
      ]
    },
    {
      "page": "is.panel",
      "title": "Check whether a data.frame is a panel",
      "topics": [
        "is.panel"
      ]
    },
    {
      "page": "join",
      "title": "Join two data frames together",
      "topics": [
        "join"
      ]
    },
    {
      "page": "n_narm",
      "title": "Count number of non missing observations",
      "topics": [
        "n_narm"
      ]
    },
    {
      "page": "pctile",
      "title": "Weighted quantile of type 2 (similar to Stata _pctile)",
      "topics": [
        "pctile"
      ]
    },
    {
      "page": "stat_binmean",
      "title": "Plot the mean of y over the mean of x within bins of x.",
      "topics": [
        "stat_binmean"
      ]
    },
    {
      "page": "statar",
      "title": "A package for applied research",
      "topics": [
        "statar-package",
        "statar"
      ]
    },
    {
      "page": "sum_up",
      "title": "Gives summary statistics (corresponds to Stata command summarize)",
      "topics": [
        "sum_up"
      ]
    },
    {
      "page": "tab",
      "title": "Returns cross tabulation",
      "topics": [
        "tab"
      ]
    },
    {
      "page": "tempname",
      "title": "Create unique names within a list, a data.frame, or an environment",
      "topics": [
        "tempname"
      ]
    },
    {
      "page": "tlead-tlag",
      "title": "lead and lag with respect to a time variable",
      "topics": [
        "tlag",
        "tlead",
        "tlead-tlag"
      ]
    },
    {
      "page": "winsorize",
      "title": "Winsorize a numeric vector",
      "topics": [
        "winsorise",
        "winsorize"
      ]
    },
    {
      "page": "xtile",
      "title": "Bin variable in groups (similar to Stata xtile)",
      "topics": [
        "xtile"
      ]
    }
  ],
  "_readme": "https://github.com/matthieugomez/statar/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "data-frames.Rmd",
      "filename": "data-frames.html",
      "title": "statar",
      "author": "Matthieu Gomez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "sum_up = summarize",
        "tab = tabulate",
        "join = merge"
      ],
      "created": "2015-06-07 15:36:30",
      "modified": "2020-07-28 17:50:36",
      "commits": 8
    },
    {
      "source": "graph.Rmd",
      "filename": "graph.html",
      "title": "statar",
      "author": "Matthieu Gomez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "stat_binmean"
      ],
      "created": "2015-06-07 15:36:30",
      "modified": "2016-07-26 23:59:08",
      "commits": 3
    },
    {
      "source": "panel-data.Rmd",
      "filename": "panel-data.html",
      "title": "statar",
      "author": "Matthieu Gomez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Elapsed dates",
        "lag / lead",
        "is.panel",
        "fill_gap"
      ],
      "created": "2014-10-31 02:09:51",
      "modified": "2019-07-05 16:39:56",
      "commits": 23
    },
    {
      "source": "vector.Rmd",
      "filename": "vector.html",
      "title": "statar",
      "author": "Matthieu Gomez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Vector functions"
      ],
      "created": "2015-05-28 14:07:37",
      "modified": "2017-10-20 16:26:52",
      "commits": 5
    }
  ],
  "_score": 7.87248259966074,
  "_indexed": true,
  "_nocasepkg": "statar",
  "_universes": [
    "matthieugomez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-05-19T07:55:10.000Z",
      "distro": "noble",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "01a88f72f1c81c13ec92900c4bb1278c8f48c729482e62100e90bfa0fae77dc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-05-19T07:55:09.000Z",
      "distro": "noble",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "8cfc5d6097e875e627b85d00f844200274e67b8eace1e432914af370a868eaac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-05-19T07:58:14.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "91060a301560220af07f252ed2b52c38459b8f7e333efaa4d0e7d9402f9ad2c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-05-19T07:56:29.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "e2ba1b8ef3d88cc8a6470a27a0ed31387bb77da00b6a2fddbffea4f30fe36439",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-05-19T07:54:06.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "b2e7eb7232c5c80f274d65657415075a40210cfbc8fa3c8b01d9a0abba1dd0c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-05-19T07:54:25.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "17b0cf34d7a21895c761f1a4f08a7e255191bd71e2fa475bbabb498b6e37f878",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-05-19T07:55:03.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "fc6ac02d3aaf1bb2e10a0691355536ba044354fc45c91148c7e6c29ac1fa6852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.7",
      "date": "2026-06-02T15:08:54.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "8b2b282272ac0fbadafb6ede12313737afb63f78b33045f37dd8a3d15a1932c8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/26083806069"
    }
  ]
}