{
  "_id": "6aae54be3d719c1f8407b5fa",
  "Package": "tubern",
  "Title": "R Client for the YouTube Analytics and Reporting API",
  "Version": "0.6.0",
  "Authors@R": "person(\"Gaurav\", \"Sood\", email = \"gsood07@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Author": "Gaurav Sood [aut, cre]",
  "Maintainer": "Gaurav Sood <gsood07@gmail.com>",
  "Description": "Provides access to YouTube Analytics API v2 for retrieving\nYouTube Analytics data including views, engagement metrics,\ndemographics, and revenue data. Supports OAuth 2.0\nauthentication and channel group management. See\n<https://developers.google.com/youtube/analytics/> for API\ndocumentation.",
  "URL": "https://github.com/gojiplus/tubern",
  "BugReports": "https://github.com/gojiplus/tubern/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://gojiplus.r-universe.dev",
  "Date/Publication": "2026-08-20 22:44:02 UTC",
  "RemoteUrl": "https://github.com/gojiplus/tubern",
  "RemoteRef": "HEAD",
  "RemoteSha": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-19 09:20:44 UTC",
    "User": "root"
  },
  "_user": "gojiplus",
  "_type": "src",
  "_file": "tubern_0.6.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/086f1110667dbb35d7827efefaa68c4b15e46416250845d88b64e0bb6c5f96d6",
  "_filesize": 223181,
  "_sha256": "086f1110667dbb35d7827efefaa68c4b15e46416250845d88b64e0bb6c5f96d6",
  "_expires": "2026-12-28T09:24:12.000Z",
  "_created": "2026-09-19T09:20:44.000Z",
  "_published": "2026-09-19T09:24:14.134Z",
  "_jobs": [
    {
      "job": 105874643390,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10581952774"
    },
    {
      "job": 105874643472,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10581272467"
    },
    {
      "job": 105874643405,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10581577160"
    },
    {
      "job": 105874643478,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10581472336"
    },
    {
      "job": 105874307525,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10581757814"
    },
    {
      "job": 105874643590,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10581797895"
    },
    {
      "job": 105874643456,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10581502261"
    },
    {
      "job": 105874643482,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10581747952"
    },
    {
      "job": 105874643474,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10581847829"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600",
  "_status": "success",
  "_upstream": "https://github.com/gojiplus/tubern",
  "_commit": {
    "id": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
    "author": "***** <721466+soodoku@users.noreply.github.com>",
    "committer": "***** <721466+soodoku@users.noreply.github.com>",
    "message": "Publish the site from Actions\n\nThis is the one repo in the fleet whose deploy actually worked -- Pages served\nthe gh-pages branch directly, so the live site is current. Moving it onto the\nartifact deploy costs one repo setting and keeps generated HTML out of git.\n\ndocs/ was already ignored, so only the shims and the .lintr registration move.\n\nCo-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01Mxj7dUM4m7Su2A7d3CLyci\n",
    "time": 1787265842
  },
  "_maintainer": {
    "name": "Gaurav Sood",
    "email": "gsood07@gmail.com",
    "login": "soodoku",
    "description": "",
    "uuid": 721466
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "httr2",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.11",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "gojiplus",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-34",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.5.0",
      "date": "2026-04-12"
    },
    {
      "name": "v0.5.1",
      "date": "2026-08-03"
    }
  ],
  "_topics": [
    "youtube",
    "youtube-analytics",
    "youtube-api"
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "soodoku",
      "count": 13,
      "uuid": 721466
    }
  ],
  "_userbio": {
    "uuid": 47703481,
    "type": "organization",
    "name": "goji+",
    "followers": 8,
    "description": "Useful tools for everyone"
  },
  "_downloads": {
    "count": 298,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tubern"
  },
  "_devurl": "https://github.com/gojiplus/tubern",
  "_searchresults": 22,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tubern.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/gojiplus/tubern",
  "_realowner": "gojiplus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-04-13"
    },
    {
      "version": "0.2.1",
      "date": "2025-03-24"
    },
    {
      "version": "0.5.0",
      "date": "2026-04-12"
    },
    {
      "version": "0.5.1",
      "date": "2026-08-03"
    }
  ],
  "_exports": [
    "add_group",
    "add_group_item",
    "add_groups",
    "check_api_quota",
    "delete_group",
    "delete_group_item",
    "diagnose_tubern",
    "get_audience_demographics",
    "get_available_dimensions",
    "get_available_metrics",
    "get_channel_overview",
    "get_common_date_ranges",
    "get_daily_performance",
    "get_geographic_performance",
    "get_report",
    "get_revenue_report",
    "get_top_videos",
    "list_group_items",
    "list_groups",
    "resolve_date_range",
    "update_group",
    "yt_as_data_frame",
    "yt_as_tibble",
    "yt_diagnose",
    "yt_export_csv",
    "yt_extract_summary",
    "yt_oauth",
    "yt_quick_plot",
    "yt_to_dataframe",
    "yt_to_tibble"
  ],
  "_help": [
    {
      "page": "add_group",
      "title": "Add Groups",
      "topics": [
        "add_group"
      ]
    },
    {
      "page": "add_group_item",
      "title": "Add Group Item",
      "topics": [
        "add_group_item"
      ]
    },
    {
      "page": "check_api_quota",
      "title": "Check API quota status and provide guidance",
      "topics": [
        "check_api_quota"
      ]
    },
    {
      "page": "data_transformation",
      "title": "Data Transformation Utilities",
      "topics": [
        "data_transformation"
      ]
    },
    {
      "page": "date_helpers",
      "title": "Date Helper Functions for tubern",
      "topics": [
        "date_helpers"
      ]
    },
    {
      "page": "delete_group",
      "title": "Delete Group",
      "topics": [
        "delete_group"
      ]
    },
    {
      "page": "delete_group_item",
      "title": "Delete Group Item",
      "topics": [
        "delete_group_item"
      ]
    },
    {
      "page": "error_handling",
      "title": "Enhanced Error Handling for tubern",
      "topics": [
        "error_handling"
      ]
    },
    {
      "page": "get_audience_demographics",
      "title": "Get audience demographics report",
      "topics": [
        "get_audience_demographics"
      ]
    },
    {
      "page": "get_available_dimensions",
      "title": "Get available dimensions with descriptions",
      "topics": [
        "get_available_dimensions"
      ]
    },
    {
      "page": "get_available_metrics",
      "title": "Get available metrics with descriptions",
      "topics": [
        "get_available_metrics"
      ]
    },
    {
      "page": "get_channel_overview",
      "title": "Get channel overview report",
      "topics": [
        "get_channel_overview"
      ]
    },
    {
      "page": "get_common_date_ranges",
      "title": "Get common date ranges",
      "topics": [
        "get_common_date_ranges"
      ]
    },
    {
      "page": "get_daily_performance",
      "title": "Get daily performance time series",
      "topics": [
        "get_daily_performance"
      ]
    },
    {
      "page": "get_geographic_performance",
      "title": "Get geographic performance report",
      "topics": [
        "get_geographic_performance"
      ]
    },
    {
      "page": "get_report",
      "title": "Get Reports",
      "topics": [
        "get_report"
      ]
    },
    {
      "page": "get_revenue_report",
      "title": "Get revenue report (requires monetary scope)",
      "topics": [
        "get_revenue_report"
      ]
    },
    {
      "page": "get_top_videos",
      "title": "Get top videos report",
      "topics": [
        "get_top_videos"
      ]
    },
    {
      "page": "list_group_items",
      "title": "List Group Items",
      "topics": [
        "list_group_items"
      ]
    },
    {
      "page": "list_groups",
      "title": "List Groups",
      "topics": [
        "list_groups"
      ]
    },
    {
      "page": "report_helpers",
      "title": "Common Report Helper Functions",
      "topics": [
        "report_helpers"
      ]
    },
    {
      "page": "resolve_date_range",
      "title": "Resolve date range with support for relative dates",
      "topics": [
        "resolve_date_range"
      ]
    },
    {
      "page": "tubern",
      "title": "'tubern' provides access to the YouTube Analytics and Reporting API",
      "topics": [
        "tubern-package",
        "tubern"
      ]
    },
    {
      "page": "tubern_DELETE",
      "title": "DELETE",
      "topics": [
        "tubern_DELETE"
      ]
    },
    {
      "page": "tubern_GET",
      "title": "Base POST AND GET functions. Not exported.",
      "topics": [
        "tubern_GET"
      ]
    },
    {
      "page": "tubern_POST",
      "title": "POST",
      "topics": [
        "tubern_POST"
      ]
    },
    {
      "page": "tubern_PUT",
      "title": "PUT",
      "topics": [
        "tubern_PUT"
      ]
    },
    {
      "page": "tubern-deprecated",
      "title": "Deprecated function names",
      "topics": [
        "add_groups",
        "diagnose_tubern",
        "tubern-deprecated",
        "yt_to_dataframe",
        "yt_to_tibble"
      ]
    },
    {
      "page": "update_group",
      "title": "Update Groups",
      "topics": [
        "update_group"
      ]
    },
    {
      "page": "validation_helpers",
      "title": "YouTube Analytics API Validation Helpers",
      "topics": [
        "validation_helpers"
      ]
    },
    {
      "page": "yt_as_data_frame",
      "title": "Convert API response to data frame",
      "topics": [
        "yt_as_data_frame"
      ]
    },
    {
      "page": "yt_as_tibble",
      "title": "Convert API response to tibble (if tibble is available)",
      "topics": [
        "yt_as_tibble"
      ]
    },
    {
      "page": "yt_check_token",
      "title": "Check if authentication token is in options",
      "topics": [
        "yt_check_token"
      ]
    },
    {
      "page": "yt_diagnose",
      "title": "Diagnose common tubern issues",
      "topics": [
        "yt_diagnose"
      ]
    },
    {
      "page": "yt_export_csv",
      "title": "Export data to CSV",
      "topics": [
        "yt_export_csv"
      ]
    },
    {
      "page": "yt_extract_summary",
      "title": "Extract summary statistics from API response",
      "topics": [
        "yt_extract_summary"
      ]
    },
    {
      "page": "yt_oauth",
      "title": "Set up Authorization",
      "topics": [
        "yt_oauth"
      ]
    },
    {
      "page": "yt_quick_plot",
      "title": "Create a quick visualization of the data (if ggplot2 is available)",
      "topics": [
        "yt_quick_plot"
      ]
    }
  ],
  "_readme": "https://github.com/gojiplus/tubern/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "checkmate",
    "cli",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "tubern_examples.Rmd",
      "filename": "tubern_examples.html",
      "title": "tubern: Comprehensive YouTube Analytics Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "tubern: Enhanced YouTube Analytics for R",
        "Quick Setup",
        "New Features Overview",
        "1. Relative Date Ranges",
        "2. Helper Functions for Common Reports",
        "Channel Overview",
        "Top Performing Videos",
        "Audience Demographics",
        "Geographic Performance",
        "Device and Platform Analysis",
        "Daily Time Series Data",
        "Revenue Reports (Requires Monetary Scope)",
        "3. Enhanced Parameter Validation",
        "4. Data Transformation and Analysis",
        "Convert to Data Frames",
        "Data Export",
        "Quick Visualization",
        "Data Summary",
        "5. Improved Error Handling and Diagnostics",
        "Diagnostic Tools",
        "Error Recovery",
        "Complete Workflow Examples",
        "Example 1: Channel Performance Dashboard",
        "Example 2: Audience Analysis",
        "Example 3: Content Performance Analysis",
        "Best Practices",
        "1. Authentication",
        "2. Data Retrieval",
        "3. Error Handling",
        "4. Data Analysis",
        "Troubleshooting",
        "Common Issues",
        "Run diagnostics",
        "Re-authenticate",
        "Check available options",
        "Use helper functions for validation"
      ],
      "created": "2026-04-12 05:46:57",
      "modified": "2026-08-20 03:51:53",
      "commits": 4
    },
    {
      "source": "basic_tubern.Rmd",
      "filename": "basic_tubern.html",
      "title": "Using tubern",
      "author": "Gaurav Sood",
      "engine": "knitr::rmarkdown",
      "headings": [
        "tubern: Access YouTube Analytics API via R",
        "Install, Load the package",
        "Using the package",
        "Get Statistics of a Video"
      ],
      "created": "2025-03-24 16:42:59",
      "modified": "2026-08-20 03:17:03",
      "commits": 4
    }
  ],
  "_score": 6.090610707828406,
  "_indexed": true,
  "_nocasepkg": "tubern",
  "_universes": [
    "gojiplus",
    "soodoku"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-09-19T09:22:58.000Z",
      "distro": "resolute",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/87e494e0232fd3d05d95cde37b3a75410eadab30f24194e9c5f604aa16a2e8c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-09-19T09:22:57.000Z",
      "distro": "resolute",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/4ed4bf907e3e0778addda1a17fefee7f5577f496fa9a2295123ed3b5e541ba97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-09-19T09:23:13.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/10bddde9e4cf0401020589e9cbb208aa3caac81b6b5fe90b7010c5c593ecbf33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-09-19T09:22:55.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/fd158e6243d974e79d5b56f34c1f00cc95e8aad147e9eb85c0bbf132f4c325b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-09-19T09:23:32.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/655cef9e0484d838c173d5da5edc8806cc769d38e5a1986ff881b8a84df15473",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-09-19T09:21:48.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/614749ce1cfe4feab2cbe3f46727380b2688f933b71da4778545dac2aae1182a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-09-19T09:22:00.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/e11295381f1802da0e315f169b62236a439f9f0b27256fac3260af8983ac8ad0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-09-19T09:21:52.000Z",
      "commit": "cdb67fe558733a0ec2cd83c00c13fb95edf3247f",
      "fileid": "https://r2.ropensci.org/7c3b76de4f440ca68c72499a1b1319d68fa8f66597ca79b176d03357ef826dae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gojiplus/actions/runs/35434283600"
    }
  ]
}