{
  "_id": "6acb8801fe5cc25786e914e1",
  "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@cuahsi.org\"))",
  "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-10-08 12:46:02 UTC",
  "RemoteUrl": "https://github.com/doi-usgs/sbtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 12:55:56 UTC",
    "User": "root"
  },
  "Author": "David Blodgett [cre],\nLuke Winslow [aut],\nScott Chamberlain [ctb],\nAlison Appling [ctb],\nJordan Read [ctb]",
  "_user": "doi-usgs",
  "_type": "src",
  "_file": "sbtools_1.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/f6931a5dde14196e67cac8f6f2b9478cc3c976a2a7c4123f71328c2d3167cd54",
  "_filesize": 408048,
  "_sha256": "f6931a5dde14196e67cac8f6f2b9478cc3c976a2a7c4123f71328c2d3167cd54",
  "_expires": "2027-01-19T12:58:39.000Z",
  "_created": "2026-10-11T12:55:56.000Z",
  "_published": "2026-10-11T12:58:41.481Z",
  "_buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114475194142,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11702971696"
    },
    {
      "job": 114475194082,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702797902"
    },
    {
      "job": 114475194177,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11703341283"
    },
    {
      "job": 114475194070,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702478493"
    },
    {
      "job": 114474677171,
      "time": 161,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702732686"
    },
    {
      "job": 114475194059,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11702631974"
    },
    {
      "job": 114475194124,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11702877681"
    },
    {
      "job": 114475194125,
      "time": 65,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11703252300"
    },
    {
      "job": 114475194134,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702902689"
    }
  ],
  "_upstream": "https://github.com/doi-usgs/sbtools",
  "_commit": {
    "id": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
    "author": "David Blodgett <dblodgett@usgs.gov>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #345 from jordansread/patch-1\n\nUpdate DESCRIPTION to include my current email",
    "time": 1791463562
  },
  "_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
  },
  "_distro": "resolute",
  "_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": "2026-02",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "sciencebase",
    "usgs"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "dblodgett-usgs",
      "count": 236,
      "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": "jordansread",
      "count": 1,
      "uuid": 2349007
    },
    {
      "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",
    "followers": 403,
    "description": "By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions."
  },
  "_downloads": {
    "count": 584,
    "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": 153,
  "_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/sbtools.html"
  ],
  "_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.422235168960473,
  "_indexed": true,
  "_nocasepkg": "sbtools",
  "_universes": [
    "doi-usgs",
    "dblodgett-usgs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:49.000Z",
      "distro": "resolute",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/f42c675642e7286fe13f11bb5f6d59dc35fbf3b4fb395d280349ac4b095c5df0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-10-11T12:58:04.000Z",
      "distro": "resolute",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/fe01d7fa39b2c7c51320b60ae99a8037eadbeb960b6d3fb3a6a2b77ace15a494",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:42.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/5f9ae3d5021aeeb8ee900ec6918c831e1b22a952f59453948e4c5ea83a0bd894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:44.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/b5012b0fcd1618efc49055e7cdbd2621125da02543c1b173d34f48a280b1b94f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:50.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/ddbe759121037d1d0d0e03566c930fc9343bcdad778b18c3cea3e09f7768116e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:04.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/642d7d6b96216938914945808c30ab8ddcbdfe807243300b4e036c26ca2d9d8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-10-11T12:56:59.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/69339ade889358af4b0f1901a4351a1b942a93f80a08b15af0ce6e605c70272c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-10-11T12:57:05.000Z",
      "commit": "e0ba39bc5a7beb6c1a7f0af87df65dbb4fad363a",
      "fileid": "https://r2.ropensci.org/d03e96373f67359f6d8763f6fea0b9a3054e6ab7ed2379ca7c461b2095e3b4eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/doi-usgs/actions/runs/38140979171"
    }
  ]
}