{
  "_id": "6ac231d4d743750d376d6b8b",
  "Package": "GDPuc",
  "Title": "Easily Convert GDP Data",
  "Version": "1.6.3",
  "Date": "2026-09-04",
  "Authors@R": "person(\"Johannes\", \"Koch\", , \"jokoch@pik-potsdam.de\", role = c(\"aut\", \"cre\"))",
  "Description": "Convert GDP time series data from one unit to another. All\ncommon GDP units are included, i.e. current and constant local\ncurrency units, US$ via market exchange rates and international\ndollars via purchasing power parities.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/pik-piam/GDPuc,\nhttps://pik-piam.github.io/GDPuc/",
  "BugReports": "https://github.com/pik-piam/GDPuc/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pik-piam.r-universe.dev",
  "Date/Publication": "2026-09-04 11:41:36 UTC",
  "RemoteUrl": "https://github.com/pik-piam/GDPuc",
  "RemoteRef": "HEAD",
  "RemoteSha": "94f270850be707e0b5614a39dd9366ccbd9986b0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 10:55:18 UTC",
    "User": "root"
  },
  "Author": "Johannes Koch [aut, cre]",
  "Maintainer": "Johannes Koch <jokoch@pik-potsdam.de>",
  "_user": "pik-piam",
  "_type": "src",
  "_file": "GDPuc_1.6.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/5f502a9cf45352e2f698313b6bc1b158aae503cbdd0f00667f3cc7a7f3abefec",
  "_filesize": 1402555,
  "_sha256": "5f502a9cf45352e2f698313b6bc1b158aae503cbdd0f00667f3cc7a7f3abefec",
  "_expires": "2027-01-12T11:00:25.000Z",
  "_created": "2026-10-04T10:55:18.000Z",
  "_published": "2026-10-04T11:00:36.357Z",
  "_jobs": [
    {
      "job": 111420737920,
      "time": 238,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301298625"
    },
    {
      "job": 111420737848,
      "time": 248,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301328391"
    },
    {
      "job": 111420737823,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300974308"
    },
    {
      "job": 111420737824,
      "time": 256,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301527700"
    },
    {
      "job": 111420091984,
      "time": 236,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301038765"
    },
    {
      "job": 111420737874,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11300444347"
    },
    {
      "job": 111420737896,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301537675"
    },
    {
      "job": 111420737825,
      "time": 220,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300514306"
    },
    {
      "job": 111420737866,
      "time": 186,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300924662"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040",
  "_status": "success",
  "_upstream": "https://github.com/pik-piam/GDPuc",
  "_commit": {
    "id": "94f270850be707e0b5614a39dd9366ccbd9986b0",
    "author": "Patrick R <codeZeilen@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #53 from codeZeilen/main\n\nFix issue in convertGDP fast path for magclass, which did not respect all replace_NAs options",
    "time": 1788522096
  },
  "_maintainer": {
    "name": "Johannes Koch",
    "email": "jokoch@pik-potsdam.de",
    "login": "johanneskoch94",
    "description": "",
    "uuid": 43963181
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "countrycode",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magclass",
      "role": "Suggests"
    },
    {
      "package": "madrat",
      "version": ">= 3.6.4",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "WDI",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    }
  ],
  "_owner": "pik-piam",
  "_selfowned": true,
  "_usedby": 30,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.6.0",
      "date": "2025-11-19"
    },
    {
      "name": "v1.6.1",
      "date": "2025-12-10"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "johanneskoch94",
      "count": 187,
      "uuid": 43963181
    },
    {
      "user": "codezeilen",
      "count": 7,
      "uuid": 560608
    },
    {
      "user": "pfuehrlich-pik",
      "count": 6,
      "uuid": 82826417
    },
    {
      "user": "caviddhen",
      "count": 1,
      "uuid": 37618991
    }
  ],
  "_userbio": {
    "uuid": 29039634,
    "type": "organization",
    "name": "Potsdam Integrated Assessment Modelling (PIAM)",
    "followers": 61,
    "description": "Tools developed for use with data and models related to PIK's research."
  },
  "_downloads": {
    "count": 440,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GDPuc"
  },
  "_devurl": "https://github.com/pik-piam/gdpuc",
  "_pkgdown": "https://pik-piam.github.io/GDPuc/",
  "_searchresults": 30,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GDPuc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/pik-piam/gdpuc",
  "_realowner": "pik-piam",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.1",
      "date": "2021-10-26"
    },
    {
      "version": "0.7.0",
      "date": "2022-02-08"
    },
    {
      "version": "0.8.0",
      "date": "2022-02-15"
    },
    {
      "version": "0.9.0",
      "date": "2022-04-07"
    },
    {
      "version": "0.9.2",
      "date": "2022-09-19"
    },
    {
      "version": "0.10.0",
      "date": "2023-01-05"
    },
    {
      "version": "0.11.0",
      "date": "2023-06-19"
    },
    {
      "version": "0.11.1",
      "date": "2023-07-20"
    },
    {
      "version": "1.0.0",
      "date": "2024-06-05"
    },
    {
      "version": "1.0.4",
      "date": "2024-09-04"
    },
    {
      "version": "1.6.0",
      "date": "2025-11-19"
    },
    {
      "version": "1.6.1",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "convertCPI",
    "convertGDP",
    "convertSingle",
    "print_source_info",
    "toolConvertCPI",
    "toolConvertGDP",
    "toolConvertSingle"
  ],
  "_help": [
    {
      "page": "convertGDP",
      "title": "Convert GDP data",
      "topics": [
        "convertCPI",
        "convertGDP",
        "convertSingle",
        "toolConvertCPI",
        "toolConvertGDP",
        "toolConvertSingle"
      ]
    },
    {
      "page": "print_source_info",
      "title": "Print information on sources",
      "topics": [
        "print_source_info"
      ]
    }
  ],
  "_readme": "https://github.com/pik-piam/GDPuc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "source.Rmd",
      "filename": "source.html",
      "title": "Choosing conversion factors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The source argument",
        "Package internal 'sources'",
        "User-defined 'source' objects",
        "The use_USA_cf_for_all argument"
      ],
      "created": "2022-02-08 15:21:47",
      "modified": "2025-09-09 15:53:19",
      "commits": 2
    },
    {
      "source": "magpie.Rmd",
      "filename": "magpie.html",
      "title": "Converting magpie objects",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-02-08 15:21:47",
      "modified": "2023-07-21 13:29:27",
      "commits": 2
    },
    {
      "source": "with_regions.Rmd",
      "filename": "with_regions.html",
      "title": "Converting regional GDP data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The with_regions argument",
        "with_regions =  a data-frame with a country-to-region mapping",
        "with_regions =  a string with a madrat regionmapping"
      ],
      "created": "2022-02-08 15:21:47",
      "modified": "2025-11-19 17:03:52",
      "commits": 3
    },
    {
      "source": "verbose.Rmd",
      "filename": "verbose.html",
      "title": "Getting information on the conversion process",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The verbose argument",
        "The return_cfs argument",
        "Conversion method"
      ],
      "created": "2022-02-08 15:21:47",
      "modified": "2022-02-15 14:24:28",
      "commits": 2
    },
    {
      "source": "handle_NAs.Rmd",
      "filename": "handle_NAs.html",
      "title": "Handling missing conversion factors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The replace_NAs argument",
        "replace_NAs = NULL or NA",
        "replace_NAs = 0",
        "replace_NAs = \"no_conversion\"",
        "replace_NAs = \"linear\"",
        "replace_NAs = \"regional_average\"",
        "replace_NAs = c(\"linear\", \"...\")",
        "replace_NAs = \"with_USA\""
      ],
      "created": "2022-02-08 15:21:47",
      "modified": "2025-11-19 17:03:52",
      "commits": 7
    },
    {
      "source": "warn.Rmd",
      "filename": "warn.html",
      "title": "Silence warnings",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The GDPuc.warn option",
        "The replace_NAs argument"
      ],
      "created": "2022-04-07 12:02:19",
      "modified": "2022-04-07 14:01:42",
      "commits": 2
    }
  ],
  "_score": 7.987666264926275,
  "_indexed": true,
  "_nocasepkg": "gdpuc",
  "_universes": [
    "pik-piam",
    "johanneskoch94"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.3",
      "date": "2026-10-04T10:57:25.000Z",
      "distro": "resolute",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/899a8c0651aafe7909ddcb68df1b6546dabb4b5893578d9ca05da0bd453ea30d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.3",
      "date": "2026-10-04T10:58:00.000Z",
      "distro": "resolute",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/42565f1218b6fdd8dcba44f2860238e9634efbcda7b5c865a5f34b3b620895db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.3",
      "date": "2026-10-04T10:56:42.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/8cc1c1d4219b3fd65df3ec0ccb84b06b3b496b1086dbae5ab1bd08d055ec0f44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.6.3",
      "date": "2026-10-04T10:57:24.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/344e141a045ec2b2998ce14b7a5502310cf42e97b063e654fde8b2f1f49dbe73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.3",
      "date": "2026-10-04T10:57:22.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/a5b3fb15f7780e69f4f0ab11b599b634646e244a287feecf8641578379b6ef89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-10-04T10:56:30.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/6624f29c9d6cd01b1a1f92e03b54eec87b6f5cb2440acce2da7a8f182876cab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-10-04T10:56:36.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/0df7b78889c4b82aacc21e6ebe0c8115c9b8fa56dd3f502825fff6cf71ed2615",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-10-04T10:56:30.000Z",
      "commit": "94f270850be707e0b5614a39dd9366ccbd9986b0",
      "fileid": "https://r2.ropensci.org/a0780be761bd9a2673f6e38314df0a927f9964d42fe581a9d340ef61fc80def5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/37196713040"
    }
  ]
}