{
  "_id": "6a104229acfb0bcc41c9dabd",
  "Package": "priceR",
  "Type": "Package",
  "Title": "Economics and Pricing Tools",
  "Version": "1.0.4",
  "Authors@R": "c(person(given=\"Steve\", family=\"Condylios\",\nrole=c(\"aut\", \"cre\"), email=\"steve.condylios@gmail.com\",\n),\nperson(given=\"Bruno\", family=\"Mioto\", role=\"ctb\", email=\"brunomioto97@gmail.com\"),\nperson(given = \"Bryan\", family = \"Shalloway\", role = \"ctb\", email = \"brshallodev@gmail.com\"))",
  "Maintainer": "Steve Condylios <steve.condylios@gmail.com>",
  "BugReports": "https://github.com/stevecondylios/priceR/issues",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/stevecondylios/priceR",
  "Description": "Functions to aid in micro and macro economic analysis and\nhandling of price and currency data. Includes extraction of\nrelevant inflation and exchange rate data from World Bank API,\ndata cleaning/parsing, and standardisation. Inflation\nadjustment calculations as found in Principles of\nMacroeconomics by Gregory Mankiw et al (2014). Current and\nhistorical end of day exchange rates for 171 currencies from\nthe European Central Bank Statistical Data Warehouse (2020).",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://stevecondylios.r-universe.dev",
  "Date/Publication": "2026-05-11 03:51:07 UTC",
  "RemoteUrl": "https://github.com/stevecondylios/pricer",
  "RemoteRef": "HEAD",
  "RemoteSha": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:25:40 UTC",
    "User": "root"
  },
  "Author": "Steve Condylios [aut, cre],\nBruno Mioto [ctb],\nBryan Shalloway [ctb]",
  "MD5sum": "c243a5566c60582187d501243688606f",
  "_user": "stevecondylios",
  "_type": "src",
  "_file": "priceR_1.0.4.tar.gz",
  "_fileid": "9e6cec8875000e120e8716a765e782a031961918e684c924a036d601ae0536dd",
  "_filesize": 229306,
  "_sha256": "9e6cec8875000e120e8716a765e782a031961918e684c924a036d601ae0536dd",
  "_created": "2026-05-11T07:25:40.000Z",
  "_published": "2026-05-22T11:46:49.092Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77373218245,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912592553"
    },
    {
      "job": 77373217885,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912602108"
    },
    {
      "job": 77373217927,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912603636"
    },
    {
      "job": 77373217929,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912588689"
    },
    {
      "job": 77373217848,
      "time": 174,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912552593"
    },
    {
      "job": 77373217538,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159720354"
    },
    {
      "job": 77373218102,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912576794"
    },
    {
      "job": 77373218231,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912575972"
    },
    {
      "job": 77373217939,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912575993"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stevecondylios/pricer",
  "_commit": {
    "id": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
    "author": "Steve Condylios <steve.condylios@gmail.com>",
    "committer": "Steve Condylios <steve.condylios@gmail.com>",
    "message": "Update authors@R field to remove bad formatting for ORCID\n",
    "time": 1778471467
  },
  "_maintainer": {
    "name": "Steve Condylios",
    "email": "steve.condylios@gmail.com",
    "login": "stevecondylios",
    "uuid": 16319829
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "gsubfn",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "stevecondylios",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 4
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "data-science",
    "econometrics",
    "economics",
    "finance",
    "modeling",
    "r-programming",
    "statistics"
  ],
  "_stars": 63,
  "_contributors": [
    {
      "user": "stevecondylios",
      "count": 161,
      "uuid": 16319829
    },
    {
      "user": "michaelgrund",
      "count": 2,
      "uuid": 23025878
    },
    {
      "user": "brshallo",
      "count": 2,
      "uuid": 30487784
    },
    {
      "user": "seredef",
      "count": 1,
      "uuid": 49408962
    }
  ],
  "_userbio": {
    "uuid": 16319829,
    "type": "user",
    "name": "Steve Condylios"
  },
  "_downloads": {
    "count": 597,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/priceR"
  },
  "_devurl": "https://github.com/stevecondylios/pricer",
  "_searchresults": 144,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/priceR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stevecondylios/pricer",
  "_realowner": "stevecondylios",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-03-31"
    },
    {
      "version": "0.1.1",
      "date": "2020-03-23"
    },
    {
      "version": "0.1.2",
      "date": "2020-06-12"
    },
    {
      "version": "0.1.3",
      "date": "2020-06-21"
    },
    {
      "version": "0.1.4",
      "date": "2020-07-29"
    },
    {
      "version": "0.1.5",
      "date": "2020-10-03"
    },
    {
      "version": "0.1.6",
      "date": "2021-05-25"
    },
    {
      "version": "0.1.62",
      "date": "2022-06-30"
    },
    {
      "version": "0.1.64",
      "date": "2022-09-01"
    },
    {
      "version": "0.1.66",
      "date": "2022-09-14"
    },
    {
      "version": "0.1.67",
      "date": "2022-09-15"
    },
    {
      "version": "1.0.0",
      "date": "2023-10-03"
    },
    {
      "version": "1.0.1",
      "date": "2023-10-22"
    },
    {
      "version": "1.0.2",
      "date": "2024-08-17"
    },
    {
      "version": "1.0.3",
      "date": "2025-10-28"
    },
    {
      "version": "1.0.4",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "adjust_for_inflation",
    "afi",
    "append_exchangeratehost_access_key",
    "convert_currencies",
    "convert_to_iso2Code",
    "country_input_type",
    "currencies",
    "currency_characters",
    "currency_to_numeric",
    "exchange_rate_latest",
    "extract_salary",
    "format_currency",
    "format_dollars",
    "from_to_dates_rates",
    "historical_exchange_rates",
    "pminmax",
    "retrieve_inflation_data",
    "round_down_to_nearest",
    "round_to_nearest",
    "round_up_to_nearest",
    "show_countries",
    "url_all_results"
  ],
  "_datasets": [
    {
      "name": "currency_info",
      "title": "Information for each of 191 currencies",
      "object": "currency_info",
      "class": [
        "data.frame"
      ],
      "fields": [
        "priority",
        "iso_code",
        "name",
        "symbol",
        "alternate_symbols",
        "subunit",
        "subunit_to_unit",
        "symbol_first",
        "format",
        "html_entity",
        "decimal_mark",
        "thousands_separator",
        "iso_numeric",
        "smallest_denomination",
        "disambiguate_symbol"
      ],
      "rows": 191,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjust_for_inflation",
      "title": "Convert nominal prices into real prices",
      "topics": [
        "adjust_for_inflation",
        "afi"
      ]
    },
    {
      "page": "append_exchangeratehost_access_key",
      "title": "Retrieves exchangerate.host (forex) API key from R environment variables and appends to API call",
      "topics": [
        "append_exchangeratehost_access_key"
      ]
    },
    {
      "page": "convert_currencies",
      "title": "Convert Currencies",
      "topics": [
        "convert_currencies"
      ]
    },
    {
      "page": "convert_to_iso2Code",
      "title": "Convert any country input into its iso2Code",
      "topics": [
        "convert_to_iso2Code"
      ]
    },
    {
      "page": "country_input_type",
      "title": "Determines whether country input is a country name or iso2Code",
      "topics": [
        "country_input_type"
      ]
    },
    {
      "page": "currencies",
      "title": "Retrieve available currencies and their respective symbols/codes",
      "topics": [
        "currencies"
      ]
    },
    {
      "page": "currency_characters",
      "title": "Provide currency characters",
      "topics": [
        "currency_characters"
      ]
    },
    {
      "page": "currency_info",
      "title": "Information for each of 191 currencies",
      "topics": [
        "currency_info"
      ]
    },
    {
      "page": "currency_to_numeric",
      "title": "Convert human readable currencies into numeric data",
      "topics": [
        "currency_to_numeric"
      ]
    },
    {
      "page": "display_api_info",
      "title": "Display link to further information",
      "topics": [
        "display_api_info"
      ]
    },
    {
      "page": "exchange_rate_latest",
      "title": "Retrieve the latest exchange rates between the provided currency code",
      "topics": [
        "exchange_rate_latest"
      ]
    },
    {
      "page": "extract_salary",
      "title": "Extract numeric salary from text data",
      "topics": [
        "extract_salary"
      ]
    },
    {
      "page": "format_currency",
      "title": "Make numeric currency values human readable",
      "topics": [
        "format_currency"
      ]
    },
    {
      "page": "format_dollars",
      "title": "Make numeric currency values human readable",
      "topics": [
        "format_dollars"
      ]
    },
    {
      "page": "from_to_dates_rates",
      "title": "Wrapper around `priceR::historical_exchange_rates()` with slight modifications to structure of inputs and output",
      "topics": [
        "from_to_dates_rates"
      ]
    },
    {
      "page": "historical_exchange_rates",
      "title": "Retrieve historical exchange rates",
      "topics": [
        "historical_exchange_rates"
      ]
    },
    {
      "page": "make_dates",
      "title": "Creates date ranges so as to batch up large API calls into many smaller ones",
      "topics": [
        "make_dates"
      ]
    },
    {
      "page": "pminmax",
      "title": "Removes redundant API calls of currency pairs. That is, revmoes the need to for separate calls for both `from = EUR, to = USD` and `from = USD, to = EUR`",
      "topics": [
        "pminmax"
      ]
    },
    {
      "page": "retrieve_historical_rates",
      "title": "Retrieve historical exchange rates",
      "topics": [
        "retrieve_historical_rates"
      ]
    },
    {
      "page": "retrieve_inflation_data",
      "title": "Retrieve historical inflation data",
      "topics": [
        "retrieve_inflation_data"
      ]
    },
    {
      "page": "round_down_to_nearest",
      "title": "Round prices down to the nearest specified increment",
      "topics": [
        "round_down_to_nearest"
      ]
    },
    {
      "page": "round_to_nearest",
      "title": "Round prices to the nearest specified increment",
      "topics": [
        "round_to_nearest"
      ]
    },
    {
      "page": "round_up_to_nearest",
      "title": "Round prices up to the nearest specified increment",
      "topics": [
        "round_up_to_nearest"
      ]
    },
    {
      "page": "show_countries",
      "title": "Show available country codes",
      "topics": [
        "show_countries"
      ]
    },
    {
      "page": "url_all_results",
      "title": "Generate a World Bank API URL that will return all results for a given indicator in JSON format",
      "topics": [
        "url_all_results"
      ]
    }
  ],
  "_readme": "https://github.com/stevecondylios/pricer/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "gsubfn",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "proto",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 6.434824296268494,
  "_indexed": true,
  "_nocasepkg": "pricer",
  "_universes": [
    "stevecondylios"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-11T07:27:43.000Z",
      "distro": "noble",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "8ff4e24cf12192167b5cd881bd3b5fb5e732602ecddaa475359ab2a7bc59fd4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-11T07:28:14.000Z",
      "distro": "noble",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "9df76ce4d3e84b6476d91d224d8a4c882cddb4dfd1bd48ca6ae1486bade24da7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-11T07:28:20.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "330a5396d4d7ad1ff9e0f6d29c0b9120d216f5f0f29ff8e95919db1a7b3f1cfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-11T07:27:36.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "e7beb24accedb20bfeed97fe77e52926c7a6a037ea68b3bcae534ea7c89c6240",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-11T07:26:47.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "cc38c8bed41fded2d5b490d421b00598e4d2b96dcb7e97749749eeffb8a637b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-11T07:26:43.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "6e499e222dd3711dbe0364e063cb543934af9a10b267ccf4fa365b5360f1685a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-11T07:26:44.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "2e0814b1c4b418fafea88e677dc419dacecd21e5143932beefc98318597e133f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-22T11:46:34.000Z",
      "commit": "87abc0f30cbc90dcb2fba5fab5dfc73e50b628f7",
      "fileid": "18099ac9e723bb67895a5aae29d98074e83119c895d7e41a81d5f631d2cf42da",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stevecondylios/actions/runs/25656167012"
    }
  ]
}