{
  "_id": "6a2523f34b233be198391ea7",
  "Package": "sbtools",
  "Title": "USGS ScienceBase Tools",
  "Maintainer": "David Blodgett <dblodgett@usgs.gov>",
  "Version": "1.4.1",
  "Authors@R": "c(person(\"David\", \"Blodgett\", role=c(\"cre\"),\nemail = \"dblodgett@usgs.gov\"),\nperson(\"Luke\", \"Winslow\", role = c(\"aut\"),\nemail = \"lawinslow@gmail.com\"),\nperson(\"Scott\", \"Chamberlain\", role = c(\"ctb\"),\nemail = \"scott@ropensci.org\"),\nperson(\"Alison\", \"Appling\", role = c(\"ctb\"),\nemail = \"aappling@usgs.gov\"),\nperson(\"Jordan\", \"Read\", role   = c(\"ctb\"),\nemail = \"jread@usgs.gov\"))",
  "Description": "Tools for interacting with U.S. Geological Survey\nScienceBase <https://www.sciencebase.gov> interfaces.\nScienceBase is a data cataloging and collaborative data\nmanagement platform. Functions included for querying\nScienceBase, and creating and fetching datasets.",
  "License": "CC0",
  "URL": "https://github.com/DOI-USGS/sbtools,\nhttps://doi-usgs.github.io/sbtools/",
  "BugReports": "https://github.com/DOI-USGS/sbtools/issues",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/parallel": "false",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libsecret-1-dev libssl-dev",
  "Repository": "https://doi-usgs.r-universe.dev",
  "Date/Publication": "2026-01-08 14:38:10 UTC",
  "RemoteUrl": "https://github.com/doi-usgs/sbtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "f8fdce1a543a15069e242b0d768d70ce7b995957",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 07:52:30 UTC",
    "User": "root"
  },
  "Author": "David Blodgett [cre],\nLuke Winslow [aut],\nScott Chamberlain [ctb],\nAlison Appling [ctb],\nJordan Read [ctb]",
  "MD5sum": "9922e6b97547b13d291a5d77c7e735f0",
  "_user": "doi-usgs",
  "_type": "src",
  "_file": "sbtools_1.4.1.tar.gz",
  "_fileid": "fc6145196097716f4ce90c8e4dd952a64f735e8b17ca3ed19b61fc9e243e3e28",
  "_filesize": 407979,
  "_sha256": "fc6145196097716f4ce90c8e4dd952a64f735e8b17ca3ed19b61fc9e243e3e28",
  "_created": "2026-06-07T07:52:30.000Z",
  "_published": "2026-06-07T07:55:31.809Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79942280468,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462097703"
    },
    {
      "job": 79942280480,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462097803"
    },
    {
      "job": 79942280497,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462095625"
    },
    {
      "job": 79942280472,
      "time": 68,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462090123"
    },
    {
      "job": 79942002584,
      "time": 288,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462081702"
    },
    {
      "job": 79942280501,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462095914"
    },
    {
      "job": 79942280484,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462091449"
    },
    {
      "job": 79942280489,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462090854"
    },
    {
      "job": 79942280479,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462092234"
    }
  ],
  "_buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/doi-usgs/sbtools",
  "_commit": {
    "id": "f8fdce1a543a15069e242b0d768d70ce7b995957",
    "author": "David Blodgett <dblodgett@usgs.gov>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #342 from DOI-USGS/cloud-facet\n\nCloud facet",
    "time": 1767883090
  },
  "_maintainer": {
    "name": "David Blodgett",
    "email": "dblodgett@usgs.gov",
    "login": "dblodgett-usgs",
    "description": "U.S. Geological Survey Research Civil Engineer with a horrible data habit",
    "uuid": 1492803
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "httr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mime",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "keyring",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "doi-usgs",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.4.0",
      "date": "2025-07-07"
    },
    {
      "name": "v1.4.1",
      "date": "2025-07-11"
    }
  ],
  "_topics": [
    "sciencebase",
    "usgs"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "dblodgett-usgs",
      "count": 235,
      "uuid": 1492803
    },
    {
      "user": "aappling-usgs",
      "count": 64,
      "uuid": 12039957
    },
    {
      "user": "sckott",
      "count": 33,
      "uuid": 577668
    },
    {
      "user": "ldecicco-usgs",
      "count": 11,
      "uuid": 1105215
    },
    {
      "user": "lawinslow",
      "count": 7,
      "uuid": 347600
    },
    {
      "user": "amart90",
      "count": 2,
      "uuid": 25806255
    },
    {
      "user": "hcorson-dosch-usgs",
      "count": 2,
      "uuid": 54007288
    },
    {
      "user": "wdwatkins",
      "count": 1,
      "uuid": 13987349
    },
    {
      "user": "jesse-ross",
      "count": 1,
      "uuid": 13890601
    },
    {
      "user": "jiwalker-usgs",
      "count": 1,
      "uuid": 1173041
    },
    {
      "user": "katrinleinweber",
      "count": 1,
      "uuid": 9948149
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 65027635,
    "type": "organization",
    "name": "U.S. Geological Survey",
    "description": "By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions."
  },
  "_downloads": {
    "count": 369,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sbtools"
  },
  "_devurl": "https://github.com/doi-usgs/sbtools",
  "_pkgdown": "https://doi-usgs.github.io/sbtools/",
  "_searchresults": 158,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sbtools.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/doi-usgs/sbtools",
  "_realowner": "doi-usgs",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2016-06-23"
    },
    {
      "version": "1.1.3",
      "date": "2016-08-19"
    },
    {
      "version": "1.1.6",
      "date": "2016-09-27"
    },
    {
      "version": "1.1.9",
      "date": "2020-01-08"
    },
    {
      "version": "1.1.10",
      "date": "2020-03-20"
    },
    {
      "version": "1.1.11",
      "date": "2020-04-20"
    },
    {
      "version": "1.1.12",
      "date": "2020-08-30"
    },
    {
      "version": "1.1.13",
      "date": "2021-01-22"
    },
    {
      "version": "1.1.14",
      "date": "2021-02-16"
    },
    {
      "version": "1.1.15",
      "date": "2021-06-04"
    },
    {
      "version": "1.1.16",
      "date": "2021-07-01"
    },
    {
      "version": "1.1.17",
      "date": "2021-07-20"
    },
    {
      "version": "1.1.18",
      "date": "2022-05-26"
    },
    {
      "version": "1.1.19",
      "date": "2022-07-14"
    },
    {
      "version": "1.1.20",
      "date": "2022-10-28"
    },
    {
      "version": "1.1.21",
      "date": "2022-11-03"
    },
    {
      "version": "1.2.0",
      "date": "2023-04-30"
    },
    {
      "version": "1.3.0",
      "date": "2023-12-20"
    },
    {
      "version": "1.3.1",
      "date": "2024-01-09"
    },
    {
      "version": "1.3.2",
      "date": "2024-03-21"
    },
    {
      "version": "1.4.0",
      "date": "2025-07-07"
    },
    {
      "version": "1.4.1",
      "date": "2025-07-14"
    }
  ],
  "_exports": [
    "as.sbitem",
    "authenticate_sb",
    "current_session",
    "folder_create",
    "get_cached_token",
    "get_username",
    "identifier_exists",
    "initialize_sciencebase_session",
    "is_logged_in",
    "is.sbitem",
    "item_append_files",
    "item_create",
    "item_exists",
    "item_file_download",
    "item_get",
    "item_get_fields",
    "item_get_parent",
    "item_list_children",
    "item_list_files",
    "item_move",
    "item_publish_cloud",
    "item_rename_files",
    "item_replace_files",
    "item_rm",
    "item_rm_files",
    "item_update",
    "item_update_identifier",
    "item_upload_cloud",
    "item_upload_create",
    "item_upsert",
    "query_item_identifier",
    "query_item_in_folder",
    "query_items",
    "query_sb",
    "query_sb_datatype",
    "query_sb_date",
    "query_sb_doi",
    "query_sb_spatial",
    "query_sb_text",
    "sb_datatypes",
    "sb_ping",
    "sbtools_GET",
    "sbtools_POST",
    "sbtools_PUT",
    "session_age",
    "session_details",
    "session_expired",
    "session_renew",
    "session_validate",
    "set_endpoint",
    "token_stache_path",
    "user_id"
  ],
  "_help": [
    {
      "page": "sbtools-package",
      "title": "R interface to ScienceBase",
      "topics": [
        "sbtools-package",
        "sbtools"
      ]
    },
    {
      "page": "authenticate_sb",
      "title": "Authenticate to SB for subsequent calls [DEPRECATED]",
      "topics": [
        "authenticate_sb"
      ]
    },
    {
      "page": "current_session",
      "title": "Return current cached session",
      "topics": [
        "current_session"
      ]
    },
    {
      "page": "folder_create",
      "title": "Create a folder",
      "topics": [
        "folder_create"
      ]
    },
    {
      "page": "get_cached_token",
      "title": "get cached sciencebase token",
      "topics": [
        "get_cached_token"
      ]
    },
    {
      "page": "get_username",
      "title": "Get or set ScienceBase username",
      "topics": [
        "get_username"
      ]
    },
    {
      "page": "identifier_exists",
      "title": "Check if identifier exists",
      "topics": [
        "identifier_exists"
      ]
    },
    {
      "page": "initialize_sciencebase_session",
      "title": "Initialize ScienceBase Session",
      "topics": [
        "initialize_sciencebase_session"
      ]
    },
    {
      "page": "is_logged_in",
      "title": "Check whether you're logged into a ScienceBase session",
      "topics": [
        "is_logged_in"
      ]
    },
    {
      "page": "item_append_files",
      "title": "Upload File to Item",
      "topics": [
        "item_append_files"
      ]
    },
    {
      "page": "item_create",
      "title": "Create a new SB item",
      "topics": [
        "item_create"
      ]
    },
    {
      "page": "item_exists",
      "title": "check if identifier touple already exists on SB",
      "topics": [
        "item_exists"
      ]
    },
    {
      "page": "item_file_download",
      "title": "Download files attached to item",
      "topics": [
        "item_file_download"
      ]
    },
    {
      "page": "item_get",
      "title": "Retrieve SB item",
      "topics": [
        "item_get"
      ]
    },
    {
      "page": "item_get_fields",
      "title": "Retrieve specific fields from an SB item",
      "topics": [
        "item_get_fields"
      ]
    },
    {
      "page": "item_get_parent",
      "title": "Get an item's parent ID",
      "topics": [
        "item_get_parent"
      ]
    },
    {
      "page": "item_list_children",
      "title": "Return IDs for all child items",
      "topics": [
        "item_list_children"
      ]
    },
    {
      "page": "item_list_files",
      "title": "Get list of files attached to SB item",
      "topics": [
        "item_list_files"
      ]
    },
    {
      "page": "item_move",
      "title": "Move item from one folder to another",
      "topics": [
        "item_move"
      ]
    },
    {
      "page": "item_publish_cloud",
      "title": "Publish file to public cloud S3 bucket",
      "topics": [
        "item_publish_cloud"
      ]
    },
    {
      "page": "item_rename_files",
      "title": "Rename item attached files",
      "topics": [
        "item_rename_files"
      ]
    },
    {
      "page": "item_replace_files",
      "title": "Replace files associated with an item",
      "topics": [
        "item_replace_files"
      ]
    },
    {
      "page": "item_rm",
      "title": "Remove item from SB",
      "topics": [
        "item_rm"
      ]
    },
    {
      "page": "item_rm_files",
      "title": "Remove files associated with an item",
      "topics": [
        "item_rm_files"
      ]
    },
    {
      "page": "item_update",
      "title": "Update a SB item with new metadata",
      "topics": [
        "item_update"
      ]
    },
    {
      "page": "item_update_identifier",
      "title": "Add custom identifier to an existing item",
      "topics": [
        "item_update_identifier"
      ]
    },
    {
      "page": "item_upload_cloud",
      "title": "Upload File to Item Cloud Storage",
      "topics": [
        "item_upload_cloud"
      ]
    },
    {
      "page": "item_upload_create",
      "title": "#' Upload file(s) and create a new item",
      "topics": [
        "item_upload_create"
      ]
    },
    {
      "page": "item_upsert",
      "title": "Upsert an SB item",
      "topics": [
        "item_upsert"
      ]
    },
    {
      "page": "query_item_identifier",
      "title": "Query SB for items based on custom identifier",
      "topics": [
        "query_item_identifier"
      ]
    },
    {
      "page": "query_item_in_folder",
      "title": "Search within an SB folder",
      "topics": [
        "query_item_in_folder"
      ]
    },
    {
      "page": "query_items",
      "title": "Query SB for items using generic query parameters",
      "topics": [
        "query_items"
      ]
    },
    {
      "page": "query_sb",
      "title": "Query SB for items using generic query parameters",
      "topics": [
        "query_sb"
      ]
    },
    {
      "page": "query_sb_datatype",
      "title": "Query SB for specific data type",
      "topics": [
        "query_sb_datatype"
      ]
    },
    {
      "page": "query_sb_date",
      "title": "Query SB for items within a date range",
      "topics": [
        "query_sb_date"
      ]
    },
    {
      "page": "query_sb_doi",
      "title": "Query SB for specific DOI (Digital Object Identifier)",
      "topics": [
        "query_sb_doi"
      ]
    },
    {
      "page": "query_sb_spatial",
      "title": "Query SB based on spatial extent",
      "topics": [
        "query_sb_spatial"
      ]
    },
    {
      "page": "query_sb_text",
      "title": "Query SB for items containing specific text",
      "topics": [
        "query_sb_text"
      ]
    },
    {
      "page": "sb_datatypes",
      "title": "Query SB for all available datatypes",
      "topics": [
        "sb_datatypes"
      ]
    },
    {
      "page": "sb_ping",
      "title": "Ping ScienceBase to see if it's available",
      "topics": [
        "sb_ping"
      ]
    },
    {
      "page": "sbitem",
      "title": "ScienceBase item class",
      "topics": [
        "as.sbitem",
        "as.sbitem.default",
        "is.sbitem",
        "sbitem"
      ]
    },
    {
      "page": "session_details",
      "title": "Get session info (deprecated)",
      "topics": [
        "session_details"
      ]
    },
    {
      "page": "session_renew",
      "title": "Checks current session and re-authenticates if necessary",
      "topics": [
        "session_renew"
      ]
    },
    {
      "page": "session_validate",
      "title": "Validate sbtools session state",
      "topics": [
        "session_validate"
      ]
    },
    {
      "page": "set_endpoint",
      "title": "Set SB endpoint",
      "topics": [
        "set_endpoint"
      ]
    },
    {
      "page": "token_stache_path",
      "title": "Get or set token stache data directory",
      "topics": [
        "token_stache_path"
      ]
    },
    {
      "page": "user_id",
      "title": "Get your parent ID",
      "topics": [
        "user_id"
      ]
    }
  ],
  "_readme": "https://github.com/doi-usgs/sbtools/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "filelock",
    "httr",
    "jsonlite",
    "keyring",
    "mime",
    "openssl",
    "R6",
    "sys",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "sbtools.Rmd",
      "filename": "sbtools.html",
      "title": "sbtools -- getting started",
      "author": "dblodgett@usgs.gov",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-19 20:05:57",
      "modified": "2025-04-16 16:35:16",
      "commits": 3
    }
  ],
  "_score": 8.592232290224011,
  "_indexed": true,
  "_nocasepkg": "sbtools",
  "_universes": [
    "doi-usgs",
    "dblodgett-usgs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:56.000Z",
      "distro": "noble",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "750284b730547193ce0b675d780bdc580485a581f6b194d866524142bafb14d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:56.000Z",
      "distro": "noble",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "407c14a2f991551f46cb7d546a29a703163c2afa1e5e21945bd92294d990c108",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:39.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "b479aed8729c4aa45bb90fc9fa362be6d6e2cc4afd66f964ea16f675a55153bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:00.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "effb52bd4a5018bb39b67bc9cc16f746db6540648a2f38453cfe5701cc178f7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:57.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "24cda9afd0d9669159628cc3fc0ed68b4be14f7f21e6f1bc410b1f9abdf2193c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-06-07T07:53:57.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "cbbb4a1dbd7b013937295118e9d2daaaa8452fe2230381e1c01bd9940b7009df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-06-07T07:53:55.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "6d3e5428a5715966e6e489bd8410328a8dbd6e847471bfc852d2c217d08b289f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-06-07T07:54:00.000Z",
      "commit": "f8fdce1a543a15069e242b0d768d70ce7b995957",
      "fileid": "dc8627a4144b5c451198349ec2ee7adde9f103a804c540713a905a0e6c2f0e19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/27086532975"
    }
  ]
}