{
  "_id": "6a5b25e59baadeef8ab4bf7d",
  "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-07-18 07:01:55 UTC",
    "User": "root"
  },
  "Author": "Matthieu Gomez [aut, cre]",
  "Maintainer": "Matthieu Gomez <mg3901@columbia.edu>",
  "_user": "matthieugomez",
  "_type": "src",
  "_file": "statar_0.7.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/101ea32f21d31b7e18997fc7095161ddd804d59db077c289946852b8bec36305",
  "_filesize": 455560,
  "_sha256": "101ea32f21d31b7e18997fc7095161ddd804d59db077c289946852b8bec36305",
  "_expires": "2026-10-26T07:06:12.000Z",
  "_created": "2026-07-18T07:01:55.000Z",
  "_published": "2026-07-18T07:06:13.769Z",
  "_jobs": [
    {
      "job": 88055794243,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8426827068"
    },
    {
      "job": 88055794241,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426827959"
    },
    {
      "job": 88055794267,
      "time": 216,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8426832104"
    },
    {
      "job": 88055794250,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426821352"
    },
    {
      "job": 88055530562,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426802888"
    },
    {
      "job": 88055794244,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8426822526"
    },
    {
      "job": 88055794261,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8426819061"
    },
    {
      "job": 88055794260,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8426818715"
    },
    {
      "job": 88055794268,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426818279"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 353,
    "description": "Economic researcher"
  },
  "_downloads": {
    "count": 537,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/statar"
  },
  "_devurl": "https://github.com/matthieugomez/statar",
  "_searchresults": 208,
  "_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/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.852089441018897,
  "_indexed": true,
  "_nocasepkg": "statar",
  "_universes": [
    "matthieugomez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-07-18T07:04:11.000Z",
      "distro": "resolute",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/c94c60872f7cfabdb7fb1e2985ddcc24b821a51afd34d0b3ab03c0e3d32ba6e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-07-18T07:04:16.000Z",
      "distro": "resolute",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/61f198a71f70ebc1439c8bebee64544372ad2f05bf7c366f387068ac7fbf903f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-07-18T07:04:41.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/004e3e1858c89e67afd22f5023b8be197c0f8fef7e98cfc432cf582a555adfc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-07-18T07:03:43.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/006b23677d497885a447918f43a4198f0d5f8bef90d7063c8b683ee7cb25f1be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.7",
      "date": "2026-07-18T07:04:10.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/52a3448496639270877c00e64d8aa20369216e64bea6fd7c90c6e3ddc7da9b28",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-07-18T07:03:15.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/e2ceffb6041110f9680af274fbd6c528b0d7c563951b03b6379168fca057e824",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-07-18T07:03:08.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/4c582cbdefb06da557ebaeee861babb3619be4b09ad117b7577f7d535a4a46c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-07-18T07:03:09.000Z",
      "commit": "8e693b0bdeeb5c21d5c815676560fd3353535364",
      "fileid": "https://r2.ropensci.org/85b85be307622882c61ebca7d12b42c5923105ca075cd0c847d9669ad06ac3a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthieugomez/actions/runs/29634935326"
    }
  ]
}