{
  "_id": "6ac6cfe4de46216d5edcd8d7",
  "Package": "crypto2",
  "Title": "Download Crypto Currency Data from 'CoinMarketCap' and\n'CoinGecko'",
  "Version": "3.0.0",
  "Date": "2026-10-07",
  "Authors@R": "c(person(\"Sebastian\", \"Stoeckl\", email = \"sebastian.stoeckl@uni.li\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0002-4196-6093\", \"Package commissioner and maintainer.\")),person(\"Jesse\", \"Vent\", email = \"cryptopackage@icloud.com\", role = c(\"ctb\"), comment = c(\"Creator of the crypto package that provided the idea and basis for this package.\")))",
  "Maintainer": "Sebastian Stoeckl <sebastian.stoeckl@uni.li>",
  "URL": "https://github.com/sstoeckl/crypto2,\nhttps://www.sebastianstoeckl.com/crypto2/",
  "Description": "Retrieves crypto currency information and historical\nprices as well as information on the exchanges they are listed\non. Historical data contains daily open, high, low and close\nvalues for all crypto currencies. The package draws on two\ncomplementary sources: 'CoinMarketCap'\n<https://coinmarketcap.com> (primary, via the 'crypto_*'\nfunctions) and 'CoinGecko' <https://www.coingecko.com>\n(secondary, via the 'cg_*' functions). Both sources are queried\nwithout an 'API' key; the two function families return tibbles\nwith identical column conventions so downstream pipelines work\non either source.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://sstoeckl.r-universe.dev",
  "Date/Publication": "2026-10-07 22:25:11 UTC",
  "RemoteUrl": "https://github.com/sstoeckl/crypto2",
  "RemoteRef": "HEAD",
  "RemoteSha": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 22:36:37 UTC",
    "User": "root"
  },
  "Author": "Sebastian Stoeckl [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4196-6093>, Package commissioner and\nmaintainer.),\nJesse Vent [ctb] (Creator of the crypto package that provided the idea\nand basis for this package.)",
  "_user": "sstoeckl",
  "_type": "src",
  "_file": "crypto2_3.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5b69022f1b83c07cc57d86759bb5038ca0c2addaf712571aeda50b368f83f209",
  "_filesize": 609468,
  "_sha256": "5b69022f1b83c07cc57d86759bb5038ca0c2addaf712571aeda50b368f83f209",
  "_expires": "2027-01-15T23:04:02.000Z",
  "_created": "2026-10-07T22:36:37.000Z",
  "_published": "2026-10-07T23:04:04.549Z",
  "_buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113052080111,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11515983071"
    },
    {
      "job": 113052080297,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11515648700"
    },
    {
      "job": 113052080216,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11516962215"
    },
    {
      "job": 113052080168,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11517316748"
    },
    {
      "job": 113050902694,
      "time": 200,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11516002558"
    },
    {
      "job": 113052080253,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11515274423"
    },
    {
      "job": 113052080136,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11515458854"
    },
    {
      "job": 113052080143,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11516230915"
    },
    {
      "job": 113052080269,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11515828250"
    }
  ],
  "_upstream": "https://github.com/sstoeckl/crypto2",
  "_commit": {
    "id": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
    "author": "Sebastian Stöckl <sebastian.stoeckl@uni.li>",
    "committer": "Sebastian Stöckl <sebastian.stoeckl@uni.li>",
    "message": "Add opt-in API fallback for CoinGecko history; complete NEWS for 3.0.0\n\nWith options(crypto2.cg_api_fallback = TRUE), cg_history() and\ncg_history_by_id() fetch coins the website cannot serve from\nCoinGecko's public API (no key): market_chart covers only the last 365\ndays, ohlc?days=30 gives the same 4-hour candles. Off by default; a\nfallback warns and records the coins in attr(result, \"cg_api_fallback\"),\nand failure messages point to the option.\n\nNEWS now also covers the weekly endpoint check, the incomplete CMC day,\nthe key-free package versus the optional Pro-key vignette, and the\nfallback.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1791411911
  },
  "_maintainer": {
    "name": "Sebastian Stoeckl",
    "email": "sebastian.stoeckl@uni.li",
    "login": "sstoeckl",
    "orcid": "0000-0002-4196-6093",
    "description": "",
    "uuid": 36445234
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "digest",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "sstoeckl",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 8
    },
    {
      "week": "2026-40",
      "n": 4
    },
    {
      "week": "2026-41",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v2.0.5",
      "date": "2026-02-25"
    },
    {
      "name": "v3.0.0",
      "date": "2026-10-07"
    }
  ],
  "_stars": 67,
  "_contributors": [
    {
      "user": "sstoeckl",
      "count": 199,
      "uuid": 36445234
    },
    {
      "user": "jessevent",
      "count": 24,
      "uuid": 16379819
    },
    {
      "user": "sneakers-the-rat",
      "count": 1,
      "uuid": 12961499
    },
    {
      "user": "amrrs",
      "count": 1,
      "uuid": 5347322
    }
  ],
  "_userbio": {
    "uuid": 36445234,
    "type": "user",
    "name": "Sebastian Stöckl",
    "followers": 38
  },
  "_downloads": {
    "count": 729,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/crypto2"
  },
  "_devurl": "https://github.com/sstoeckl/crypto2",
  "_pkgdown": "https://www.sebastianstoeckl.com/crypto2/",
  "_searchresults": 82,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/crypto2.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sstoeckl/crypto2",
  "_realowner": "sstoeckl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.3.0",
      "date": "2021-06-24"
    },
    {
      "version": "1.4.0",
      "date": "2022-01-10"
    },
    {
      "version": "1.4.2",
      "date": "2022-01-12"
    },
    {
      "version": "1.4.3",
      "date": "2022-01-25"
    },
    {
      "version": "1.4.4",
      "date": "2022-07-18"
    },
    {
      "version": "1.4.5",
      "date": "2022-10-19"
    },
    {
      "version": "1.4.6",
      "date": "2024-01-30"
    },
    {
      "version": "2.0.0",
      "date": "2024-06-14"
    },
    {
      "version": "2.0.1",
      "date": "2024-07-03"
    },
    {
      "version": "2.0.2",
      "date": "2024-09-02"
    },
    {
      "version": "2.0.3",
      "date": "2024-10-11"
    },
    {
      "version": "2.0.5",
      "date": "2025-09-11"
    }
  ],
  "_exports": [
    "cg_history",
    "cg_history_by_id",
    "cg_id_mapping",
    "cg_info",
    "cg_list",
    "cg_listings",
    "crypto_crosswalk",
    "crypto_global_quotes",
    "crypto_history",
    "crypto_info",
    "crypto_list",
    "crypto_listings",
    "exchange_info",
    "exchange_list",
    "fiat_list"
  ],
  "_help": [
    {
      "page": "cg_history",
      "title": "Get historic crypto currency market data from CoinGecko",
      "topics": [
        "cg_history"
      ]
    },
    {
      "page": "cg_history_by_id",
      "title": "Fetch CoinGecko history by numeric ID (incl. partial survivorship-bias correction)",
      "topics": [
        "cg_history_by_id"
      ]
    },
    {
      "page": "cg_id_mapping",
      "title": "Historic CoinGecko id/slug mapping (incl. delisted coins)",
      "topics": [
        "cg_id_mapping"
      ]
    },
    {
      "page": "cg_info",
      "title": "Retrieve per-coin metadata from CoinGecko (CMC-compatible columns)",
      "topics": [
        "cg_info"
      ]
    },
    {
      "page": "cg_list",
      "title": "Retrieves name, CG id, symbol, slug, rank, an activity flag as well as activity dates on CoinGecko for all coins",
      "topics": [
        "cg_list"
      ]
    },
    {
      "page": "cg_listings",
      "title": "Retrieves name, CG id, symbol, slug, rank, and quote data for current listings (CoinGecko)",
      "topics": [
        "cg_listings"
      ]
    },
    {
      "page": "crypto_crosswalk",
      "title": "Crosswalk between CoinMarketCap and CoinGecko coin ids",
      "topics": [
        "crypto_crosswalk"
      ]
    },
    {
      "page": "crypto_global_quotes",
      "title": "Retrieves historical quotes for the global aggregate market",
      "topics": [
        "crypto_global_quotes"
      ]
    },
    {
      "page": "crypto_history",
      "title": "Get historic crypto currency market data",
      "topics": [
        "crypto_history"
      ]
    },
    {
      "page": "crypto_info",
      "title": "Retrieves info (urls, logo, description, tags, platform, date_added, notice, status,...) on CMC for given id",
      "topics": [
        "crypto_info"
      ]
    },
    {
      "page": "crypto_list",
      "title": "Retrieves name, CMC id, symbol, slug, rank, an activity flag as well as activity dates on CMC for all coins",
      "topics": [
        "crypto_list"
      ]
    },
    {
      "page": "crypto_listings",
      "title": "Retrieves name, CMC id, symbol, slug, rank, an activity flag as well as activity dates on CMC for all coins",
      "topics": [
        "crypto_listings"
      ]
    },
    {
      "page": "exchange_info",
      "title": "Retrieves info (urls,logo,description,tags,platform,date_added,notice,status) on CMC for given exchange slug",
      "topics": [
        "exchange_info"
      ]
    },
    {
      "page": "exchange_list",
      "title": "Retrieves name, CMC id, symbol, slug, rank, an activity flag as well as activity dates on CMC for all coins",
      "topics": [
        "exchange_list"
      ]
    },
    {
      "page": "fiat_list",
      "title": "Retrieves list of all CMC supported fiat currencies available to convert cryptocurrencies",
      "topics": [
        "fiat_list"
      ]
    }
  ],
  "_readme": "https://github.com/sstoeckl/crypto2/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "httr",
    "janitor",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cg-vs-cmc.Rmd",
      "filename": "cg-vs-cmc.html",
      "title": "CMC vs CoinGecko: matching and reconciling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why compare?",
        "Which source for what",
        "Matching coins across sources: crypto_crosswalk()",
        "The date-convention pitfall",
        "A worked example: Bitcoin reconciliation",
        "A worked example at scale: the CMC top 20",
        "What's expected to differ -- and what isn't",
        "The built-in test",
        "When to override the default"
      ],
      "created": "2026-05-18 20:26:31",
      "modified": "2026-10-07 21:03:25",
      "commits": 4
    },
    {
      "source": "coingecko-integration.Rmd",
      "filename": "coingecko-integration.html",
      "title": "CoinGecko integration: a second source for crypto2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why a second source?",
        "Build a survivorship-bias-free price history (free, no key)",
        "Preconditions",
        "What you get back",
        "Function reference",
        "cg_list() -- the universe",
        "cg_listings() -- current cross-section",
        "cg_history() -- the workhorse",
        "cg_info() -- per-coin metadata",
        "What is NOT in the free tier",
        "Cross-checking against CMC"
      ],
      "created": "2026-05-18 20:26:31",
      "modified": "2026-10-07 22:25:11",
      "commits": 5
    },
    {
      "source": "coingecko-pro-backfill.Rmd",
      "filename": "coingecko-pro-backfill.html",
      "title": "CoinGecko Pro backfill: one-shot survivorship-bias archive",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope",
        "Setup",
        "A polite Pro client",
        "Recipe 1: full historic id/slug mapping",
        "Recipe 2: full historic OHLC per coin",
        "Recipe 3: persist as a parquet dataset",
        "Where to host the mapping for other users",
        "Rate-limit budgeting"
      ],
      "created": "2026-05-18 20:26:31",
      "modified": "2026-05-18 20:26:31",
      "commits": 1
    }
  ],
  "_score": 8.569192427915569,
  "_indexed": true,
  "_nocasepkg": "crypto2",
  "_universes": [
    "sstoeckl"
  ],
  "_previous": "2.1.0.9000",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-10-07T22:39:07.000Z",
      "distro": "resolute",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/0aa7838fd7dfe5a7a82484e1400d71dc3eef911d78e484c14017c6ac64257acf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-10-07T22:39:36.000Z",
      "distro": "resolute",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/6a49f4b498919d4ed62c1e4efcb1ec25c75542dcc13794fcbfe846193746b2cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-10-07T23:03:02.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/0988cc255ce9b5fd3ead0a991035e4b7d42a3041d850f011a80697ba6e9b3aae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-10-07T23:00:56.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/6c6f9f39642dcfab99eac289456b4fc75ea558fd80db9d31072afe6c186714e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-10-07T22:38:40.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/780d59a2e5505e398f33c2c7d6b4858b53424b990324a85472287c3b31b8a580",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-07T22:37:53.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/0136eeaa2adfa2a3be22cbb526c460ff3fdfbc5a641870c9d70db7fcfcdb5a89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-07T22:37:38.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/e6fb59a05a36813dba37c21878756b0fd2719de075b804d95490dc791bc417aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-07T22:37:49.000Z",
      "commit": "be500dbeba7837d47fa9b6020c822b100bb1a4c3",
      "fileid": "https://r2.ropensci.org/8d0e6542c46c248446b06be8fbea3184454158b3e6b8557a54d0ca120f866388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sstoeckl/actions/runs/37696908556"
    }
  ]
}