{
  "_id": "6a1c05441d7bb097a0a2aae1",
  "Package": "stata2r",
  "Type": "Package",
  "Title": "stata2r translation for data manipulation commands",
  "Version": "0.1.0",
  "Author": "Sebastian Kranz",
  "Maintainer": "Sebastian Kranz <sebastian.kranz@uni-ulm.de>",
  "Description": "Experiment: develop package using an ai agent via aicode",
  "License": "GPL >= 2.0",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://skranz.r-universe.dev",
  "Date/Publication": "2026-05-31 08:59:28 UTC",
  "RemoteUrl": "https://github.com/skranz/stata2r",
  "RemoteRef": "main",
  "RemoteSha": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 09:51:35 UTC",
    "User": "root"
  },
  "MD5sum": "bf5b4c8fe997c10ddcbb5581b045ea54",
  "_user": "skranz",
  "_type": "src",
  "_file": "stata2r_0.1.0.tar.gz",
  "_fileid": "764f1101df4cfc733f27b734eb6a621da5cbda49a7760c8074b0c75363eb4578",
  "_filesize": 546972,
  "_sha256": "764f1101df4cfc733f27b734eb6a621da5cbda49a7760c8074b0c75363eb4578",
  "_created": "2026-05-31T09:51:35.000Z",
  "_published": "2026-06-05T19:57:28.928Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78716619389,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7315750330"
    },
    {
      "job": 78716619383,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7315752034"
    },
    {
      "job": 78716619385,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7315749010"
    },
    {
      "job": 78716619391,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7315749362"
    },
    {
      "job": 78716465921,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315739670"
    },
    {
      "job": 78716619377,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315749072"
    },
    {
      "job": 78716619390,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7315748302"
    },
    {
      "job": 78716619382,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7315747361"
    },
    {
      "job": 78716619381,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7315747145"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/skranz/stata2r",
  "_commit": {
    "id": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
    "author": "skranz-auto <xsx50@uni-ulm.de>",
    "committer": "skranz-auto <xsx50@uni-ulm.de>",
    "message": "before weights change\n",
    "time": 1780217968
  },
  "_maintainer": {
    "name": "Sebastian Kranz",
    "email": "sebastian.kranz@uni-ulm.de",
    "login": "skranz",
    "bluesky": "@sebkranz.bsky.social",
    "description": "",
    "uuid": 1413022
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stringi",
      "role": "Depends"
    },
    {
      "package": "collapse",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "restorepoint",
      "role": "Depends"
    },
    {
      "package": "repboxUtils",
      "role": "Depends"
    }
  ],
  "_owner": "skranz",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-22",
      "n": 540
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-12",
      "n": 11
    },
    {
      "week": "2026-13",
      "n": 5
    },
    {
      "week": "2026-15",
      "n": 6
    },
    {
      "week": "2026-16",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 4
    },
    {
      "week": "2026-22",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "skranz",
      "count": 622,
      "uuid": 1413022
    },
    {
      "user": "skranz-auto",
      "count": 57,
      "uuid": 124874982
    }
  ],
  "_userbio": {
    "uuid": 1413022,
    "type": "user",
    "name": "Sebastian Kranz"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stata2r"
  },
  "_devurl": "https://github.com/skranz/stata2r",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stata2r.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "aic_changes_stata2r",
    "aic_make_prompt_stata2r",
    "aic_new_stata2r",
    "aic_stata2r_deploy_tests",
    "aic_stata2r_do_test",
    "aic_stata2r_do_test_inner",
    "aic_test_stata2r",
    "check_stata_paths_and_ado",
    "compare_df",
    "data_quick_hash",
    "do_cmd_to_r",
    "do_parse",
    "do_to_r",
    "example",
    "examples",
    "expand_stata_numlist",
    "expand_varlist",
    "fast_coalesce",
    "get_stata_bin",
    "get_stata_full_cmd_name",
    "get_stata_full_cmd_name_vec",
    "get_tempfile_macros",
    "get_xi_base_name",
    "get_xi_interaction_basename",
    "is_empty",
    "is_stata_fmt_allowing_2_digit_year",
    "is.true",
    "ln",
    "mark_data_manip_cmd",
    "out_and_err_txt",
    "parse_stata_command_line",
    "parse_stata_command_lines",
    "quote_for_r_literal",
    "resolve_abbrevs_in_expr",
    "resolve_stata_filename",
    "run_do_with_data_save",
    "run_stata_do",
    "s2r_check_mod",
    "s2r_check_mod_df",
    "s2r_chr_vec_to_r",
    "s2r_cmd_can_change_row_order",
    "s2r_cmd_resets_row_order_compare",
    "s2r_date_to_stata_numeric",
    "s2r_eval_cond",
    "s2r_eval_cond_by_group",
    "s2r_eval_if_in",
    "s2r_eval_range",
    "s2r_eval_reserved_words",
    "s2r_extract_xi_specs",
    "s2r_find_matching_paren",
    "s2r_has_top_level_logical_operator",
    "s2r_in_str_to_r_range_str",
    "s2r_line_uses_xi_prefixes",
    "s2r_make_local_helper_call",
    "s2r_model_term_to_vars",
    "s2r_p_append",
    "s2r_p_collapse",
    "s2r_p_compress",
    "s2r_p_decode",
    "s2r_p_destring",
    "s2r_p_drop",
    "s2r_p_duplicates",
    "s2r_p_egen",
    "s2r_p_encode",
    "s2r_p_estimation_cmd",
    "s2r_p_expand",
    "s2r_p_for",
    "s2r_p_format",
    "s2r_p_generate",
    "s2r_p_keep",
    "s2r_p_label",
    "s2r_p_merge",
    "s2r_p_order",
    "s2r_p_preserve_restore",
    "s2r_p_recode",
    "s2r_p_rename",
    "s2r_p_replace",
    "s2r_p_reshape",
    "s2r_p_save",
    "s2r_p_scalar",
    "s2r_p_sort",
    "s2r_p_summarize",
    "s2r_p_tabulate",
    "s2r_p_tempfile",
    "s2r_p_use",
    "s2r_p_xi",
    "s2r_parse_collapse_aggs",
    "s2r_parse_if_in",
    "s2r_parse_xtset",
    "s2r_prepare_runtime_cond",
    "s2r_replace_special_function_calls",
    "s2r_replace_ts_in_string",
    "s2r_resolve_ts_operators",
    "s2r_setup_eval_list",
    "s2r_split_top_level_commas",
    "s2r_stata_expr_returns_logical",
    "s2r_stata_logical",
    "s2r_store_e_results",
    "s2r_store_r_results",
    "s2r_strip_outer_parens",
    "s2r_tabulate_has_gen_option",
    "s2r_translate_inlist_call",
    "s2r_translate_inrange_call",
    "s2r_xi_included_levels",
    "s2r_xi_is_integerish",
    "s2r_xi_level_label",
    "s2r_xi_match_level",
    "s2r_xi_prepare_var",
    "s2r_xi_specs_to_prefixes",
    "scmd_append",
    "scmd_collapse",
    "scmd_compress",
    "scmd_decode",
    "scmd_destring",
    "scmd_drop",
    "scmd_duplicates",
    "scmd_egen",
    "scmd_encode",
    "scmd_estimation_effects",
    "scmd_expand",
    "scmd_for",
    "scmd_generate",
    "scmd_keep",
    "scmd_label",
    "scmd_merge",
    "scmd_order",
    "scmd_preserve",
    "scmd_recode",
    "scmd_regress",
    "scmd_rename",
    "scmd_replace",
    "scmd_reshape",
    "scmd_restore",
    "scmd_save",
    "scmd_scalar",
    "scmd_sort",
    "scmd_summarize",
    "scmd_tabulate",
    "scmd_use",
    "scmd_xi",
    "set_stata_paths",
    "sfun_compress_col_type",
    "sfun_day",
    "sfun_dow",
    "sfun_fdiff",
    "sfun_flag",
    "sfun_inlist",
    "sfun_inrange",
    "sfun_is_stata_expression_string_typed",
    "sfun_missing",
    "sfun_month",
    "sfun_normalize_string_nas",
    "sfun_qofd",
    "sfun_stata_add",
    "sfun_stata_cond",
    "sfun_stata_date",
    "sfun_stata_date_single",
    "sfun_stata_mdy",
    "sfun_stata_round",
    "sfun_string",
    "sfun_strip_stata_attributes",
    "sfun_stritrim",
    "sfun_strpos",
    "sfun_subinstr",
    "sfun_xi_create_dummies",
    "sfun_xi_create_interaction_dummies",
    "sfun_year",
    "stata_cmd_abbreviations",
    "stata_data_manip_cmds",
    "stata_estimation_cmds",
    "stata_non_data_manip_cmds",
    "stata_r_result_cmds",
    "stata2r_env",
    "t_append",
    "t_areg",
    "t_collapse",
    "t_compress",
    "t_decode",
    "t_destring",
    "t_drop",
    "t_duplicates",
    "t_egen",
    "t_encode",
    "t_estimation_cmd",
    "t_expand",
    "t_for",
    "t_format",
    "t_generate",
    "t_ivregress",
    "t_keep",
    "t_label",
    "t_logit",
    "t_merge",
    "t_order",
    "t_preserve_restore",
    "t_probit",
    "t_recode",
    "t_reghdfe",
    "t_regress",
    "t_rename",
    "t_replace",
    "t_reshape",
    "t_save",
    "t_scalar",
    "t_sort",
    "t_summarize",
    "t_tabulate",
    "t_tempfile",
    "t_use",
    "t_xi",
    "t_xtreg",
    "to_stata_na",
    "translate_recode_rule_template",
    "translate_stata_expression_to_r",
    "translate_stata_expression_with_r_values",
    "unquote_stata_string_literal"
  ],
  "_help": [],
  "_readme": "https://github.com/skranz/stata2r/raw/main/README.md",
  "_rundeps": [
    "cli",
    "collapse",
    "data.table",
    "digest",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "repboxUtils",
    "restorepoint",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.732393759822968,
  "_indexed": true,
  "_nocasepkg": "stata2r",
  "_universes": [
    "skranz"
  ],
  "_progress_url": "https://github.com/r-universe/skranz/actions/runs/27036986242",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T09:53:21.000Z",
      "distro": "noble",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "3effb6886fee47a1be5a991c9b89914f0aeb267f10a8ad13cff463499395853a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T09:53:37.000Z",
      "distro": "noble",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "1946cac79b08e632f2af895937d2b78806c6bf6c65add8d7b6b6414bc374709e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T09:53:13.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "b9a8e1eb304bde931c4851c3805b3496e3010abbc1845febfb16541f1868caf8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T09:53:14.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "49c88591038853eed7cde6e7d51c765f40fb6a34d7b27a32818d36b5a83933db",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-31T09:53:26.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "2e85628f2d98bd881ee3f8962e115ce8fb71126b91bf05b5af3edae3dc64cf27",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T09:52:52.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "435320d516b5380195573b977ba0bac0623b140392c14706ae65bcdc2da0cedf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T09:52:44.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "d7a06a9322c77d0e4bcc0e4ae4c3a812237ee572da8a7906d5b7dc6b3d898cc3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T09:52:41.000Z",
      "commit": "a90d73685c660b7619c187e1f0ae2b9c38c1c874",
      "fileid": "d98ce21fbe7ea822fa0a539c2aa87b6dc5bc52e9ec58d286c9e55661c807673a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26709319450"
    }
  ]
}