{
  "_id": "6a1eb81ab25058d4daade918",
  "Package": "HARplus",
  "Title": "Enhanced R Package for 'GEMPACK' .har and .sl4 Files",
  "Version": "1.2.0",
  "Authors@R": "person(\"Pattawee\", \"Puangchit\", email = \"ppuangch@purdue.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides tools for processing and analyzing .har and .sl4\nfiles, making it easier for 'GEMPACK' users and 'GTAP'\nresearchers to handle large economic datasets. It simplifies\nthe management of multiple experiment results, enabling faster\nand more efficient comparisons without complexity. Users can\nextract, restructure, and merge data seamlessly, ensuring\ncompatibility across different tools. The processed data can be\nexported and used in 'R', 'Stata', 'Python', 'Julia', or any\nsoftware that supports Text, CSV, or 'Excel' formats.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "BugReports": "https://github.com/bodysbobb/HARplus/issues/",
  "URL": "https://github.com/bodysbobb/HARplus/,\nhttps://www.pattawee-pp.com/HARplus/",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://bodysbobb.r-universe.dev",
  "Date/Publication": "2026-05-03 02:24:50 UTC",
  "RemoteUrl": "https://github.com/bodysbobb/harplus",
  "RemoteRef": "HEAD",
  "RemoteSha": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:51:19 UTC",
    "User": "root"
  },
  "Author": "Pattawee Puangchit [aut, cre]",
  "Maintainer": "Pattawee Puangchit <ppuangch@purdue.edu>",
  "MD5sum": "ffa6f8a97fed8ba47cecbf5f0a5c72fe",
  "_user": "bodysbobb",
  "_type": "src",
  "_file": "HARplus_1.2.0.tar.gz",
  "_fileid": "a4a0d0b356018747033384b935882f5cef0c2610f4e065caed3d5294e260db76",
  "_filesize": 2975804,
  "_sha256": "a4a0d0b356018747033384b935882f5cef0c2610f4e065caed3d5294e260db76",
  "_created": "2026-06-02T10:51:19.000Z",
  "_published": "2026-06-02T11:01:46.074Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79054444259,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7355735876"
    },
    {
      "job": 79054444289,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7355736653"
    },
    {
      "job": 79054444282,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7355808963"
    },
    {
      "job": 79054444309,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7355866781"
    },
    {
      "job": 79053943962,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355685032"
    },
    {
      "job": 79054444254,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355723885"
    },
    {
      "job": 79054444273,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7355720274"
    },
    {
      "job": 79054444281,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7355720638"
    },
    {
      "job": 79054444274,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7355716731"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bodysbobb/harplus",
  "_commit": {
    "id": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
    "author": "Pattawee Puangchit <ppuangch@purdue.edu>",
    "committer": "Pattawee Puangchit <ppuangch@purdue.edu>",
    "message": "Update README.md\n",
    "time": 1777775090
  },
  "_maintainer": {
    "name": "Pattawee Puangchit",
    "email": "ppuangch@purdue.edu",
    "login": "bodysbobb",
    "uuid": 97965877
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bodysbobb",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-42",
      "n": 20
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 9
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "V1.1.0",
      "date": "2025-10-19"
    },
    {
      "name": "V1.1.2",
      "date": "2025-10-19"
    },
    {
      "name": "V1.1.3",
      "date": "2025-10-30"
    },
    {
      "name": "V1.2.0",
      "date": "2026-05-03"
    }
  ],
  "_topics": [
    "gempack",
    "gtap",
    "har-files",
    "sl4-file"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "bodysbobb",
      "count": 136,
      "uuid": 97965877
    }
  ],
  "_userbio": {
    "uuid": 97965877,
    "type": "user",
    "name": "Pattawee.P",
    "description": "Ph.D. Candidate in Agricultural Economics Purdue University & Research Assistant at GTAP  "
  },
  "_downloads": {
    "count": 505,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HARplus"
  },
  "_devurl": "https://github.com/bodysbobb/harplus",
  "_pkgdown": "https://www.pattawee-pp.com/HARplus/",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HARplus.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bodysbobb/harplus",
  "_realowner": "bodysbobb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-03-13"
    },
    {
      "version": "1.1.0",
      "date": "2025-10-19"
    },
    {
      "version": "1.1.2",
      "date": "2025-10-20"
    },
    {
      "version": "1.2.0",
      "date": "2026-05-03"
    }
  ],
  "_exports": [
    "compare_var_structure",
    "create_calc_config",
    "create_initial_config",
    "create_target_config",
    "export_data",
    "get_data_by_dims",
    "get_data_by_var",
    "get_dim_elements",
    "get_dim_patterns",
    "get_var_structure",
    "group_data_by_dims",
    "load_harx",
    "load_sl4x",
    "pivot_data",
    "pivot_data_hierarchy",
    "rename_dims",
    "save_har",
    "shock_calculate",
    "shock_calculate_uniform"
  ],
  "_help": [
    {
      "page": "compare_var_structure",
      "title": "Compare Variable Structures Across SL4 and HAR Objects",
      "topics": [
        "compare_var_structure"
      ]
    },
    {
      "page": "create_calc_config",
      "title": "Create Calculation Configuration",
      "topics": [
        "create_calc_config"
      ]
    },
    {
      "page": "create_initial_config",
      "title": "Create Initial Value Configuration",
      "topics": [
        "create_initial_config"
      ]
    },
    {
      "page": "create_target_config",
      "title": "Create Target Value Configuration",
      "topics": [
        "create_target_config"
      ]
    },
    {
      "page": "export_data",
      "title": "Export Data to Various Formats (CSV/STATA/TEXT/RDS/XLSX)",
      "topics": [
        "export_data"
      ]
    },
    {
      "page": "get_data_by_dims",
      "title": "Extract Data by Dimension Patterns from SL4 or HAR Objects",
      "topics": [
        "get_data_by_dims"
      ]
    },
    {
      "page": "get_data_by_var",
      "title": "Extract Variable Data from SL4 or HAR Objects",
      "topics": [
        "get_data_by_var"
      ]
    },
    {
      "page": "get_dim_elements",
      "title": "Get Dimension Elements from SL4 and HAR Objects",
      "topics": [
        "get_dim_elements"
      ]
    },
    {
      "page": "get_dim_patterns",
      "title": "Get Dimension Patterns from SL4 and HAR Objects",
      "topics": [
        "get_dim_patterns"
      ]
    },
    {
      "page": "get_var_structure",
      "title": "Get Variable Structure Summary from SL4 and HAR Objects",
      "topics": [
        "get_var_structure"
      ]
    },
    {
      "page": "group_data_by_dims",
      "title": "Group Data by Dimension Patterns in SL4 or HAR Objects",
      "topics": [
        "group_data_by_dims"
      ]
    },
    {
      "page": "load_harx",
      "title": "Load and Process HAR Files with Header Selection",
      "topics": [
        "load_harx"
      ]
    },
    {
      "page": "load_sl4x",
      "title": "Load and Process SL4 Files with Enhanced Options",
      "topics": [
        "load_sl4x"
      ]
    },
    {
      "page": "pivot_data",
      "title": "Pivot Data from SL4 or HAR Objects",
      "topics": [
        "pivot_data"
      ]
    },
    {
      "page": "pivot_data_hierarchy",
      "title": "Create Hierarchical Pivot Table from SL4 or HAR Objects",
      "topics": [
        "pivot_data_hierarchy"
      ]
    },
    {
      "page": "rename_dims",
      "title": "Rename Dimensions in SL4 or HAR Objects",
      "topics": [
        "rename_dims"
      ]
    },
    {
      "page": "save_har",
      "title": "Save Data to GEMPACK HAR Format",
      "topics": [
        "save_har"
      ]
    },
    {
      "page": "shock_calculate",
      "title": "Calculate Shocks from Initial and Target Values",
      "topics": [
        "shock_calculate"
      ]
    },
    {
      "page": "shock_calculate_uniform",
      "title": "Calculate Shocks with Uniform Adjustment",
      "topics": [
        "shock_calculate_uniform"
      ]
    }
  ],
  "_readme": "https://github.com/bodysbobb/harplus/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "lifecycle",
    "magrittr",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Enhanced R Package for GEMPACK .HAR and .SL4 File Processing",
      "author": "Pattawee Puangchit",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview of HARplus",
        "Introduction",
        "Acknowledgement",
        "GTAPViz: An Extension of HARplus for Visualization",
        "Installation and Loading Example Data",
        "Loading Data .HAR and .SL4",
        "Extracting Data",
        "Grouping Data By Dimension",
        "Understanding Priority List in group_data_by_dims",
        "1. Single Priority Example (REG only)",
        "2. Multiple Priorities Example (COMM before REG)",
        "Understanding auto_rename in group_data_by_dims",
        "Example: Grouping Without auto_rename",
        "Reshaping and Renaming Data",
        "Pivoting Data",
        "Pivot Data Hierarchy",
        "Rename Dimensions",
        "Saving Data to GEMPACK .HAR Format",
        "Key Features",
        "Exporting Data to CSV/STATA/TEXT/RDS/XLSX",
        "Exploring Data Structure",
        "Variable Structure",
        "Dimension Structure",
        "Patterns vs. Elements"
      ],
      "created": "2025-02-15 11:20:08",
      "modified": "2025-10-19 05:13:29",
      "commits": 21
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "harplus",
  "_universes": [
    "bodysbobb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-02T10:53:37.000Z",
      "distro": "noble",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "be7f9bd9bf1bbe8b5b526c47ccb10c5cabc86ebe56c707cffe65bea774d498f3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-02T10:53:39.000Z",
      "distro": "noble",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "5b82145dad07e06c3739356278eb204c7dd7a49e785fc8c7fae3140b7fa953f5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-02T10:57:26.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "a8f2992817acaf0b98056c2a5d41e2df15ae3d9782bd42ccda6d174653634609",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-02T11:00:23.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "687777a6549aba96fa3f15abc1ba7b8df7598bbc4bce634e0acaf3107f69f5df",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-02T10:53:34.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "3a548140e8d2aa2020f0dc1cc19c9a790668db17956c04c119ac6be12fb54e95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-02T10:52:42.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "8b1dc7799f99a18f60b2530d030a3dff116d6482f44f5b2c452bfc96b148ce9e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-02T10:52:41.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "0d09d5b4766dcc48dfc5f13908a90aa83d089baafee5a26aec2bb358a91a31ae",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-02T10:52:34.000Z",
      "commit": "19e6b1169ecd3c08a79073e12167a91d30c9c106",
      "fileid": "523939472edc07cdee40167d352374305c835f0a64b23e7849fb7fb491b6a18e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bodysbobb/actions/runs/26814845858"
    }
  ]
}