{
  "_id": "6a104475acfb0bcc41c9e438",
  "Package": "mongo",
  "Type": "Package",
  "Title": "Higher level interface to Mongo database",
  "Version": "0.9-5",
  "Date": "2024/05/25",
  "Authors@R": "person(given = \"Russell\",\nfamily = \"Almond\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ralmond@fsu.edu\",\ncomment = c(ORCID = \"0000-0002-8876-9337\"))",
  "Author": "Russell Almond",
  "Maintainer": "Russell Almond <ralmond@fsu.edu>",
  "Description": "This is a wrapper for the jsonlite and mongolite packages\nwhich offers both an R6 object for managing the connection as\nwell as some mechanisms for saving and restoring S4 objects to\na Mongo database.",
  "Collate": "as.json.R MongoDB.R jqmongo.R FakeMongo.R",
  "License": "Artistic-2.0",
  "URL": "https://github.com/ralmond/mongo",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "Config/testthat/edition": "3",
  "Support": "c( 'Bill & Melinda Gates Foundation grant \"Games as\nLearning/Assessment: Stealth Assessment\" (#0PP1035331, Val\nShute, PI)', 'National Science Foundation grant \"DIP:\nGame-based Assessment and Support of STEM-related Competencies\"\n(#1628937, Val Shute, PI)', 'National Scient Foundation grant\n\"Mathematical Learning via Architectual Design and Modeling\nUsing E-Rebuild.\" (\\#1720533, Fengfeng Ke, PI)', 'Institute of\nEducational Statistics Grant: \"Exploring adaptive cognitive and\naffective learning support for next-generation STEM learning\ngames.\" (#R305A170376-20, Val Shute and Russell Almond, PIs')",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libssl-dev libsasl2-dev",
  "Repository": "https://ralmond.r-universe.dev",
  "Date/Publication": "2024-05-26 22:38:40 UTC",
  "RemoteUrl": "https://github.com/ralmond/mongo",
  "RemoteRef": "HEAD",
  "RemoteSha": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 06:35:19 UTC",
    "User": "root"
  },
  "MD5sum": "dcdf06c0db9ee795bc31915157e925ef",
  "_user": "ralmond",
  "_type": "src",
  "_file": "mongo_0.9-5.tar.gz",
  "_fileid": "027e6871382166851c0a426cf425de337a935a7e2a95d52c2c691793313f3ab8",
  "_filesize": 377488,
  "_sha256": "027e6871382166851c0a426cf425de337a935a7e2a95d52c2c691793313f3ab8",
  "_created": "2026-05-11T06:35:19.000Z",
  "_published": "2026-05-22T11:56:37.840Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374513744,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6911811784"
    },
    {
      "job": 77374513599,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6911811395"
    },
    {
      "job": 77374513689,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6911801075"
    },
    {
      "job": 77374513550,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6911795062"
    },
    {
      "job": 77374513300,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911775969"
    },
    {
      "job": 77374513086,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159889734"
    },
    {
      "job": 77374513355,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6911800050"
    },
    {
      "job": 77374513536,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6911796816"
    },
    {
      "job": 77374513570,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6911797181"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ralmond/mongo",
  "_commit": {
    "id": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
    "author": "Russell G Almond <russell.g.almond@gmail.com>",
    "committer": "Russell G Almond <russell.g.almond@gmail.com>",
    "message": "Ununboxer was adding names to lists.  Fixed that.\n",
    "time": 1716763120
  },
  "_maintainer": {
    "name": "Russell Almond",
    "email": "ralmond@fsu.edu",
    "login": "ralmond",
    "orcid": "0000-0002-8876-9337",
    "uuid": 1767426
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "futile.logger",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "mongolite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "CPTtools",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ralmond",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ralmond",
      "count": 27,
      "uuid": 1767426
    }
  ],
  "_userbio": {
    "uuid": 1767426,
    "type": "user",
    "name": "Russell Almond",
    "description": "Assoc. Prof. of Measurement & Statistics @FSU"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mongo"
  },
  "_devurl": "https://github.com/ralmond/mongo",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mongo.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "as.jlist",
    "as.json",
    "buildJQterm",
    "buildJQuery",
    "buildObject",
    "codeClass",
    "decodeClass",
    "fake_mongo",
    "getManyRecs",
    "getOneRec",
    "iterator",
    "load_example",
    "m_id",
    "m_id<-",
    "makeDBuri",
    "mdbAggregate",
    "mdbAvailable",
    "mdbCount",
    "mdbDisconnect",
    "mdbDistinct",
    "mdbDrop",
    "mdbExport",
    "mdbFind",
    "mdbFindL",
    "mdbImport",
    "mdbIndex",
    "mdbInfo",
    "mdbInsert",
    "mdbIterate",
    "mdbMapreduce",
    "mdbRemove",
    "mdbRename",
    "mdbReplace",
    "mdbRun",
    "mdbUpdate",
    "mdbUpsert",
    "MongoDB",
    "MongoRec",
    "parse.jlist",
    "parse.json",
    "parseData",
    "parsePOSIX",
    "parseSimpleData",
    "saveRec",
    "showCollections",
    "showDatabases",
    "unboxer",
    "unparseData",
    "ununboxer"
  ],
  "_help": [
    {
      "page": "mongo-package",
      "title": "Higher level interface to Mongo database",
      "topics": [
        "mongo-package",
        "mongo"
      ]
    },
    {
      "page": "as.json",
      "title": "Converts S4 objects to JSON representation.",
      "topics": [
        "as.jlist",
        "as.jlist,ANY,list-method",
        "as.jlist,MongoRec,list-method",
        "as.json",
        "as.json,ANY-method",
        "as.json,MongoRec-method"
      ]
    },
    {
      "page": "buildJQterm",
      "title": "Build a single query function.",
      "topics": [
        "buildJQterm"
      ]
    },
    {
      "page": "buildJQuery",
      "title": "Transforms a query into JQuery JSON.",
      "topics": [
        "buildJQuery"
      ]
    },
    {
      "page": "codeClass",
      "title": "Adds/removes package information to class descriptions",
      "topics": [
        "codeClass",
        "decodeClass"
      ]
    },
    {
      "page": "fake_mongo-class",
      "title": "A simulated 'MongoDB' object for testing",
      "topics": [
        "fake_mongo",
        "fake_mongo-class",
        "mdbAggregate,fake_mongo-method",
        "mdbAvailable,fake_mongo-method",
        "mdbCount,fake_mongo-method",
        "mdbDisconnect,fake_mongo-method",
        "mdbDistinct,fake_mongo-method",
        "mdbDrop,fake_mongo-method",
        "mdbExport,fake_mongo-method",
        "mdbFind,fake_mongo-method",
        "mdbImport,fake_mongo-method",
        "mdbIndex,fake_mongo-method",
        "mdbInfo,fake_mongo-method",
        "mdbInsert,fake_mongo-method",
        "mdbIterate,fake_mongo-method",
        "mdbMapreduce,fake_mongo-method",
        "mdbRemove,fake_mongo-method",
        "mdbRename,fake_mongo-method",
        "mdbReplace,fake_mongo-method",
        "mdbRun,fake_mongo-method",
        "mdbUpdate,fake_mongo-method",
        "mdbUpsert,fake_mongo-method",
        "showCollections,fake_mongo-method",
        "showDatabases,fake_mongo-method"
      ]
    },
    {
      "page": "getOneRec",
      "title": "Fetches Messages from a Mongo databas",
      "topics": [
        "getManyRecs",
        "getOneRec"
      ]
    },
    {
      "page": "iterator-class",
      "title": "An object which iterates over a collection",
      "topics": [
        "iterator",
        "iterator-class"
      ]
    },
    {
      "page": "jlist",
      "title": "List representation of a document.",
      "topics": [
        "jlist"
      ]
    },
    {
      "page": "JSONDB-class",
      "title": "Class which supports the mdbCRUD methods.",
      "topics": [
        "CRUD",
        "JSONDB-class",
        "mdbCRUD"
      ]
    },
    {
      "page": "load_example",
      "title": "Load example Event class",
      "topics": [
        "load_example"
      ]
    },
    {
      "page": "m_id",
      "title": "Accessor for the Mongo id element of a record.",
      "topics": [
        "m_id",
        "m_id,MongoRec-method",
        "m_id<-",
        "m_id<-,MongoRec-method"
      ]
    },
    {
      "page": "makeDBuri",
      "title": "Creates the URI needed to connect to a mongo database.",
      "topics": [
        "makeDBuri"
      ]
    },
    {
      "page": "mdbAggregate",
      "title": "Execute Aggregration Pipeline",
      "topics": [
        "mdbAggregate",
        "mdbAggregate,mongo-method",
        "mdbAggregate,MongoDB-method"
      ]
    },
    {
      "page": "mdbAvailable",
      "title": "Is the collection available for writing.",
      "topics": [
        "mdbAvailable",
        "mdbAvailable,mongo-method",
        "mdbAvailable,MongoDB-method"
      ]
    },
    {
      "page": "mdbCount",
      "title": "Counts the number of records matching Query.",
      "topics": [
        "mdbCount",
        "mdbCount,mongo-method",
        "mdbCount,MongoDB-method"
      ]
    },
    {
      "page": "mdbDisconnect",
      "title": "Disconnects connection to database.",
      "topics": [
        "mdbDisconnect",
        "mdbDisconnect,mongo-method",
        "mdbDisconnect,MongoDB-method"
      ]
    },
    {
      "page": "mdbDistinct",
      "title": "Find the distinct values of a particular field",
      "topics": [
        "mdbDistinct",
        "mdbDistinct,mongo-method",
        "mdbDistinct,MongoDB-method"
      ]
    },
    {
      "page": "mdbDrop",
      "title": "Drops the database collection",
      "topics": [
        "mdbDrop",
        "mdbDrop,mongo-method",
        "mdbDrop,MongoDB-method"
      ]
    },
    {
      "page": "mdbExport",
      "title": "Exports/imports data from external JSON or BSON file",
      "topics": [
        "mdbExport",
        "mdbExport,mongo-method",
        "mdbExport,MongoDB-method",
        "mdbImport",
        "mdbImport,mongo-method",
        "mdbImport,MongoDB-method"
      ]
    },
    {
      "page": "mdbFind",
      "title": "Finds records which match the query and returns as data frame",
      "topics": [
        "mdbFind",
        "mdbFind,mongo-method",
        "mdbFind,MongoDB-method"
      ]
    },
    {
      "page": "mdbIndex",
      "title": "Build/remove an index for the collection.",
      "topics": [
        "mdbIndex",
        "mdbIndex,mongo-method",
        "mdbIndex,MongoDB-method"
      ]
    },
    {
      "page": "mdbInfo",
      "title": "Get Information about the collection",
      "topics": [
        "mdbInfo",
        "mdbInfo,mongo-method",
        "mdbInfo,MongoDB-method"
      ]
    },
    {
      "page": "mdbInsert",
      "title": "Insert a new record into a collection",
      "topics": [
        "mdbInsert",
        "mdbInsert,mongo-method",
        "mdbInsert,MongoDB-method"
      ]
    },
    {
      "page": "mdbIterate",
      "title": "Returns documents as lists (jlists) from the database.",
      "topics": [
        "mdbFindL",
        "mdbFindL,JSONDB-method",
        "mdbIterate",
        "mdbIterate,mongo-method",
        "mdbIterate,MongoDB-method"
      ]
    },
    {
      "page": "mdbMapreduce",
      "title": "Applies a summary operation to a collection",
      "topics": [
        "mdbMapreduce",
        "mdbMapreduce,mongo-method",
        "mdbMapreduce,MongoDB-method"
      ]
    },
    {
      "page": "mdbRemove",
      "title": "Remove selected objects from collection",
      "topics": [
        "mdbRemove",
        "mdbRemove,mongo-method",
        "mdbRemove,MongoDB-method"
      ]
    },
    {
      "page": "mdbRename",
      "title": "Renames collection or moves it to a new database",
      "topics": [
        "mdbRename",
        "mdbRename,mongo-method",
        "mdbRename,MongoDB-method"
      ]
    },
    {
      "page": "mdbReplace",
      "title": "Replace a document with a new document",
      "topics": [
        "mdbReplace",
        "mdbReplace,mongo-method",
        "mdbReplace,MongoDB-method",
        "mdbUpsert",
        "mdbUpsert,JSONDB-method"
      ]
    },
    {
      "page": "mdbRun",
      "title": "Runs a Mongo command on the collection",
      "topics": [
        "mdbRun",
        "mdbRun,mongo-method",
        "mdbRun,MongoDB-method"
      ]
    },
    {
      "page": "mdbUpdate",
      "title": "Modify document(s) in a collection",
      "topics": [
        "mdbUpdate",
        "mdbUpdate,mongo-method",
        "mdbUpdate,MongoDB-method"
      ]
    },
    {
      "page": "MongoDB-class",
      "title": "MongoDB - Reference class wrapping a connection to a Mongo database collection.",
      "topics": [
        "MongoDB",
        "MongoDB-class"
      ]
    },
    {
      "page": "MongoRec-class",
      "title": "Class \"MongoRec\".",
      "topics": [
        "MongoRec",
        "MongoRec-class"
      ]
    },
    {
      "page": "parse.json",
      "title": "Construct an S4 object from a list of its slot values.",
      "topics": [
        "buildObject",
        "parse.jlist",
        "parse.jlist,ANY,list-method",
        "parse.jlist,MongoRec,list-method",
        "parse.json"
      ]
    },
    {
      "page": "parseData",
      "title": "Prepare R data for storage or restore R data from jlist #' The 'parseData' function is a helper function for 'parse.jlist()' methods, and 'unparseData' for 'as.jlist()', which represents complex objects as JSON.",
      "topics": [
        "parseData",
        "unparseData"
      ]
    },
    {
      "page": "parsePOSIX",
      "title": "Convert Mongo dates to POSIX",
      "topics": [
        "parsePOSIX"
      ]
    },
    {
      "page": "parseSimpleData",
      "title": "parseSimpleData",
      "topics": [
        "parseSimpleData"
      ]
    },
    {
      "page": "saveRec",
      "title": "Saves a MongoRec object to a Mongo database",
      "topics": [
        "saveRec"
      ]
    },
    {
      "page": "showCollections",
      "title": "Shows collections in the current database.",
      "topics": [
        "showCollections",
        "showCollections,mongo-method",
        "showCollections,MongoDB-method",
        "showCollections,NULL-method"
      ]
    },
    {
      "page": "showDatabases",
      "title": "Lists Databases",
      "topics": [
        "showDatabases",
        "showDatabases,MongoDB-method",
        "showDatabases,NULL-method"
      ]
    },
    {
      "page": "unboxer",
      "title": "Marks scalar objects to be preserved when converting to JSON",
      "topics": [
        "unboxer",
        "ununboxer"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ralmond/mongo/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/ralmond/mongo/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "formatR",
    "futile.logger",
    "futile.options",
    "jsonlite",
    "lambda.r",
    "mime",
    "mongolite",
    "openssl",
    "sys"
  ],
  "_vignettes": [
    {
      "source": "SavingS4Objects.Rmd",
      "filename": "SavingS4Objects.html",
      "title": "JSON for S4 Objects",
      "author": "Russell Almond",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example Class",
        "Using toJSON to serialize an S4 class",
        "The as.json and as.jlist functions.",
        "The unparseData function",
        "Building S4 objects from JSON",
        "A better test",
        "Saving and Restoring S4 objects to a mongo database."
      ],
      "created": "2023-05-19 01:35:21",
      "modified": "2023-05-19 01:35:21",
      "commits": 1
    }
  ],
  "_score": 3.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "mongo",
  "_universes": [
    "ralmond"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9-5",
      "date": "2026-05-11T06:37:50.000Z",
      "distro": "noble",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "30453f0239b369c20d15c5b31a29df869b5b66e706b122233f1fca59a682d8da",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9-5",
      "date": "2026-05-11T06:37:48.000Z",
      "distro": "noble",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "f6f1afdb35dc788b8c30a9d82339d7090dd09c9ad94036b90bde9d32b6d45514",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9-5",
      "date": "2026-05-11T06:37:05.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "a1746bbbb191aabcc3faebff82491888a9b6c59adf3d7927e157dbd63c2ff997",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9-5",
      "date": "2026-05-11T06:36:45.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "90e6a8d2e67efa694886c3bee0a5682d85a2f6840f1c312f60df0c1468dafaa1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9-5",
      "date": "2026-05-11T06:36:48.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "dd640105f1af9c64117a14deb45ee2c8ab0835cb8f2e1cb6bd1d7d9c06ff2f0f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9-5",
      "date": "2026-05-11T06:36:39.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "4b896d42229af02d20d8c73468d64f82e7e508a5d12c7ef4d5b9aa26ebde837f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9-5",
      "date": "2026-05-11T06:36:39.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "786f8c637a0a3330b947b150bfac0c7c2afc7ec18bdadf948ae0a3b3a7232432",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9-5",
      "date": "2026-05-22T11:56:23.000Z",
      "commit": "12736deb3b9d5d4ec90d58a77e7fd5915173a7e4",
      "fileid": "445caf2e80ca3161daba1812a5030f736219e37553e5d8a6b1989a6630bda04c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/25654192127"
    }
  ]
}