{
  "_id": "6b0061324c685b5adf82b46b",
  "Package": "statacompat",
  "Title": "Reproduce Selected 'Stata' Expression and Missing-Value\nSemantics",
  "Version": "1.0",
  "Date": "2026-10-30",
  "Authors@R": "person(\ngiven = \"Ari Purwanto Sarwo\", family = \"Prasojo\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ari.prasojo18@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4862-5523\")\n)",
  "Description": "A lightweight compatibility layer for researchers\ntranslating 'Stata' data-management code into R. Provides\nvectorised helpers that reproduce selected 'Stata' expression\nsemantics where they differ from base R, most importantly\n\"Stata's\" rule that numeric missing values are larger than\nevery number: relational comparisons, inlist(), inrange(),\ncond(), missing(), and the 'egen' row functions rowtotal(),\nrowmean(), rowmiss() and rownonmiss(). Only the ordinary\nmissing value is fully supported; \"Stata's\" extended missing\nvalues are detected and rejected wherever they would change a\nresult.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "NeedsCompilation": "no",
  "Config/roxygen2/version": "8.1.0",
  "URL": "https://github.com/aripurwantosp/statacompat",
  "BugReports": "https://github.com/aripurwantosp/statacompat/issues",
  "Repository": "https://aripurwantosp.r-universe.dev",
  "Date/Publication": "2026-11-20 13:44:29 UTC",
  "RemoteUrl": "https://github.com/aripurwantosp/statacompat",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b51947893ee8b873085a6128d7499479ed37b40",
  "Packaged": {
    "Date": "2026-11-20 15:00:17 UTC",
    "User": "root"
  },
  "Author": "Ari Purwanto Sarwo Prasojo [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4862-5523>)",
  "Maintainer": "Ari Purwanto Sarwo Prasojo <ari.prasojo18@gmail.com>",
  "_user": "aripurwantosp",
  "_type": "src",
  "_file": "statacompat_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/982ab8a06579c179ca0f413e64e1b9ea3813ed3cfbf59f5fcba2e591c8e765f4",
  "_filesize": 157152,
  "_sha256": "982ab8a06579c179ca0f413e64e1b9ea3813ed3cfbf59f5fcba2e591c8e765f4",
  "_expires": "2027-02-28T15:03:12.000Z",
  "_created": "2026-11-20T15:00:17.000Z",
  "_published": "2026-11-20T15:03:14.497Z",
  "_upstream": "https://github.com/aripurwantosp/statacompat",
  "_status": "success",
  "_maintainer": {
    "name": "Ari Purwanto Sarwo Prasojo",
    "email": "ari.prasojo18@gmail.com",
    "orcid": "0000-0002-4862-5523"
  },
  "_jobs": [
    {
      "job": 136366058295,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14639987415"
    },
    {
      "job": 136366058242,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14639213590"
    },
    {
      "job": 136366058194,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14641037324"
    },
    {
      "job": 136366058215,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14640066848"
    },
    {
      "job": 136364095615,
      "time": 208,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14641086432"
    },
    {
      "job": 136366058248,
      "time": 81,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14640906537"
    },
    {
      "job": 136366058240,
      "time": 85,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14639956766"
    },
    {
      "job": 136366058108,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14641111555"
    },
    {
      "job": 136366058282,
      "time": 79,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14639193590"
    }
  ],
  "_buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566",
  "_commit": {
    "id": "0b51947893ee8b873085a6128d7499479ed37b40",
    "author": "aripurwantosp <purwanto.sp@outlook.com>",
    "committer": "aripurwantosp <purwanto.sp@outlook.com>",
    "message": "Updating readme after CRAN release\n",
    "time": 1795182269
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "aripurwantosp",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 2
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "aripurwantosp",
      "count": 3,
      "uuid": 24398727
    }
  ],
  "_userbio": {
    "uuid": 24398727,
    "type": "user",
    "name": "Ari Purwanto Sarwo Prasojo",
    "followers": 9,
    "description": "Junior Researcher at Research Center for Population, National Research and Innovation Agency."
  },
  "_downloads": {
    "count": 27,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/statacompat"
  },
  "_devurl": "https://github.com/aripurwantosp/statacompat",
  "_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/statacompat.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/aripurwantosp/statacompat",
  "_realowner": "aripurwantosp",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-11-18"
    }
  ],
  "_authors": [
    {
      "name": "Ari Purwanto Sarwo Prasojo",
      "email": "ari.prasojo18@gmail.com",
      "orcid": "0000-0002-4862-5523",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "stata_cond",
    "stata_eq",
    "stata_ge",
    "stata_gt",
    "stata_inlist",
    "stata_inrange",
    "stata_le",
    "stata_lt",
    "stata_missing",
    "stata_ne",
    "stata_rowmean",
    "stata_rowmiss",
    "stata_rownonmiss",
    "stata_rowtotal"
  ],
  "_help": [
    {
      "page": "stata_comparison",
      "title": "Stata-style relational comparisons",
      "topics": [
        "stata_comparison",
        "stata_eq",
        "stata_ge",
        "stata_gt",
        "stata_le",
        "stata_lt",
        "stata_ne"
      ]
    },
    {
      "page": "stata_cond",
      "title": "Stata's 'cond()': vectorised if-else with Stata truth rules",
      "topics": [
        "stata_cond"
      ]
    },
    {
      "page": "stata_inlist",
      "title": "Stata's 'inlist()': is a value equal to any of the candidates?",
      "topics": [
        "stata_inlist"
      ]
    },
    {
      "page": "stata_inrange",
      "title": "Stata's 'inrange()': is a value known to lie in a closed interval?",
      "topics": [
        "stata_inrange"
      ]
    },
    {
      "page": "stata_missing",
      "title": "Stata's 'missing()': is any argument missing?",
      "topics": [
        "stata_missing"
      ]
    },
    {
      "page": "stata_row",
      "title": "Stata's 'egen' row functions",
      "topics": [
        "stata_row",
        "stata_rowmean",
        "stata_rowmiss",
        "stata_rownonmiss",
        "stata_rowtotal"
      ]
    }
  ],
  "_readme": "https://github.com/aripurwantosp/statacompat/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "stata-and-r-semantics.Rmd",
      "filename": "stata-and-r-semantics.html",
      "title": "When Stata and R Disagree: Expressions and Missing Values",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. In Stata, missing is a very large number",
        "The & x < . idiom",
        "2. inlist()",
        "3. inrange()",
        "4. cond()",
        "5. missing() and strings",
        "6. egen row functions",
        "Precision",
        "7. Extended missing values",
        "8. Migrating from \"missing-safe\" helpers",
        "9. What is not covered"
      ],
      "created": "2026-10-31 04:23:39",
      "modified": "2026-10-31 04:23:39",
      "commits": 1
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "statacompat",
  "_universes": [
    "aripurwantosp"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-20T15:02:30.000Z",
      "distro": "resolute",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/341f5f450473b6a8670246602e345a52297614a25c3ce313c2e73bb523c1da00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-20T15:02:26.000Z",
      "distro": "resolute",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/d92a2c45150c42f1d2e4d3bdd1159018824e2567c8b4210a9ecf0f0471f4807f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-11-20T15:02:40.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/71558a856aed3d8ae4be2f6c64bc676ce92b69fe498f7e4ae116d8eeac3a28a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0",
      "date": "2026-11-20T15:02:16.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/9ddddc2d162074f5487d2551ce3b49e9a74d3506fc501c8de4b2991bc5e443da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-11-20T15:01:57.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/52d5f21866a38a6d0a6e11df404645d43778b13e56ba0f6c7ac426563df5ef68",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-20T15:01:40.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/16587fde23d9ceb284c73463a23a206943078776bab1cab7f59183be0c175a5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-20T15:01:28.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/def76f005475dbf731f889ec05437c3b367eb12e6aeb4d76a3fc35f6e57596d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-20T15:01:34.000Z",
      "commit": "0b51947893ee8b873085a6128d7499479ed37b40",
      "fileid": "https://r2.ropensci.org/caf168d38f1cb384f1eac60c47f26c096e3e3eb2e6d45c9717c439034738b16e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aripurwantosp/actions/runs/44758349566"
    }
  ]
}