{
  "_id": "6a5db7249baadeef8ab53a88",
  "Type": "Package",
  "Package": "nettskjemar",
  "Title": "Connect to the 'nettskjema.no' API of the University of Oslo",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Athanasia Mo\", \"Mowinckel\", , \"a.m.mowinckel@psykologi.uio.no\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5756-0223\")),\nperson(\"Trym Nohr\", \"Fjørtoft\", , \"t.n.fjortoft@arena.uio.no\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0002-7654-4587\"))\n)",
  "Description": "Enables users to retrieve data, meta-data, and codebooks\nfrom <https://nettskjema.no/>. The data from the API is richer\nthan from the online data portal. This package is not developed\nby the University of Oslo IT. Mowinckel (2021)\n<doi:10.5281/zenodo.4745481>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/CAPRO-UiO/nettskjemar,\nhttps://zenodo.org/badge/latestdoi/206264675,\nhttps://github.com/capro-uio/nettskjemar",
  "BugReports": "https://github.com/capro-uio/nettskjemar/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://drmowinckels.r-universe.dev",
  "Date/Publication": "2025-09-08 22:25:20 UTC",
  "RemoteUrl": "https://github.com/capro-uio/nettskjemar",
  "RemoteRef": "HEAD",
  "RemoteSha": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-20 05:47:15 UTC",
    "User": "root"
  },
  "Author": "Athanasia Mo Mowinckel [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5756-0223>),\nTrym Nohr Fjørtoft [ctb] (ORCID:\n<https://orcid.org/0000-0002-7654-4587>)",
  "Maintainer": "Athanasia Mo Mowinckel <a.m.mowinckel@psykologi.uio.no>",
  "_user": "drmowinckels",
  "_type": "src",
  "_file": "nettskjemar_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/0d9b3d3f9255551f1214669b2c1125001e3648f80f282af572662e86aa9f8ec3",
  "_filesize": 3541983,
  "_sha256": "0d9b3d3f9255551f1214669b2c1125001e3648f80f282af572662e86aa9f8ec3",
  "_expires": "2026-10-28T05:50:26.000Z",
  "_created": "2026-07-20T05:47:15.000Z",
  "_published": "2026-07-20T05:50:28.696Z",
  "_jobs": [
    {
      "job": 88280737135,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8452014214"
    },
    {
      "job": 88280737107,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452012602"
    },
    {
      "job": 88280737173,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452009649"
    },
    {
      "job": 88280737137,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452009877"
    },
    {
      "job": 88280302850,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451975238"
    },
    {
      "job": 88280737099,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8452006666"
    },
    {
      "job": 88280737146,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8451995246"
    },
    {
      "job": 88280737136,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8451999590"
    },
    {
      "job": 88280737100,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451996354"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097",
  "_status": "success",
  "_upstream": "https://github.com/capro-uio/nettskjemar",
  "_commit": {
    "id": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
    "author": "Athanasia Monika Mowinckel <a.m.mowinckel@psykologi.uio.no>",
    "committer": "Athanasia Monika Mowinckel <a.m.mowinckel@psykologi.uio.no>",
    "message": "remove unused variables\n",
    "time": 1757370320
  },
  "_maintainer": {
    "name": "Athanasia Mo Mowinckel",
    "email": "a.m.mowinckel@psykologi.uio.no",
    "login": "drmowinckels",
    "mastodon": "@Drmowinckels@fosstodon.org",
    "bluesky": "@drmowinckels.io",
    "orcid": "0000-0002-5756-0223",
    "description": "Staff researcher at @LCBC-UiO (www.oslobrains.no) and @Lifebrain (www.lifebrain.uio.no/). PhD in Cognitive Neuroscience. Chapter head for @rladies Oslo",
    "uuid": 14014329
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "labelled",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "version": ">= 0.6.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "capro-uio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-37",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v1.0.3",
      "date": "2025-09-04"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "drmowinckels",
      "count": 124,
      "uuid": 14014329
    },
    {
      "user": "trymnf",
      "count": 2,
      "uuid": 47108592
    },
    {
      "user": "wleoncio",
      "count": 1,
      "uuid": 8234768
    }
  ],
  "_userbio": {
    "uuid": 14014329,
    "type": "user",
    "name": "Athanasia Monika Mowinckel",
    "followers": 196,
    "description": "Staff researcher at @LCBC-UiO (www.oslobrains.no) and @Lifebrain (www.lifebrain.uio.no/). PhD in Cognitive Neuroscience. Chapter head for @rladies Oslo"
  },
  "_downloads": {
    "count": 347,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nettskjemar"
  },
  "_devurl": "https://github.com/capro-uio/nettskjemar",
  "_searchresults": 34,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nettskjemar.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/capro-uio/nettskjemar",
  "_realowner": "capro-uio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2021-05-20"
    },
    {
      "version": "1.0.0",
      "date": "2025-03-17"
    },
    {
      "version": "1.0.1",
      "date": "2025-03-22"
    },
    {
      "version": "1.0.2",
      "date": "2025-06-06"
    },
    {
      "version": "1.0.3",
      "date": "2025-09-04"
    },
    {
      "version": "1.0.4",
      "date": "2025-09-09"
    }
  ],
  "_exports": [
    "has_codebook",
    "ns_add_labels",
    "ns_alter_checkbox",
    "ns_api_docs",
    "ns_client",
    "ns_create_client",
    "ns_get_attachment",
    "ns_get_codebook",
    "ns_get_data",
    "ns_get_form_attachments",
    "ns_get_form_reports",
    "ns_get_forms",
    "ns_get_me",
    "ns_get_meta",
    "ns_get_submission",
    "ns_get_submission_attachments",
    "ns_get_submissions",
    "ns_get_token",
    "ns_has_auth",
    "ns_list_form_attachments",
    "ns_list_submission_attachments",
    "ns_req",
    "ns_sitrep",
    "ns_validate_client_id",
    "ns_validate_client_pattern",
    "ns_validate_client_secret",
    "ns_write_codebook",
    "ns_write_meta"
  ],
  "_help": [
    {
      "page": "has_codebook",
      "title": "Check if form has codebook",
      "topics": [
        "has_codebook"
      ]
    },
    {
      "page": "ns_add_labels",
      "title": "Add Labels to Dataset",
      "topics": [
        "ns_add_labels"
      ]
    },
    {
      "page": "ns_alter_checkbox",
      "title": "Alter checkbox matrix variables in a dataset",
      "topics": [
        "ns_alter_checkbox"
      ]
    },
    {
      "page": "ns_api_docs",
      "title": "Access Nettskjema API Documentation",
      "topics": [
        "ns_api_docs"
      ]
    },
    {
      "page": "ns_client",
      "title": "Create an OAuth2 Client for Nettskjema API",
      "topics": [
        "ns_client"
      ]
    },
    {
      "page": "ns_create_client",
      "title": "Create a Nettskjema Client",
      "topics": [
        "ns_create_client"
      ]
    },
    {
      "page": "ns_get_attachment",
      "title": "Save Nettskjema attachments to file",
      "topics": [
        "ns_get_attachment"
      ]
    },
    {
      "page": "ns_get_codebook",
      "title": "Get codebook for a form",
      "topics": [
        "ns_get_codebook"
      ]
    },
    {
      "page": "ns_get_data",
      "title": "Get data from a form",
      "topics": [
        "ns_get_data",
        "ns_get_submissions"
      ]
    },
    {
      "page": "ns_get_form_attachments",
      "title": "Retrieve all attachments associated with a Nettskjema",
      "topics": [
        "ns_get_form_attachments"
      ]
    },
    {
      "page": "ns_get_form_reports",
      "title": "Download files associated with a form",
      "topics": [
        "ns_get_form_reports"
      ]
    },
    {
      "page": "ns_get_forms",
      "title": "Get all forms you have access to",
      "topics": [
        "ns_get_forms"
      ]
    },
    {
      "page": "ns_get_me",
      "title": "Information about the current user",
      "topics": [
        "ns_get_me"
      ]
    },
    {
      "page": "ns_get_meta",
      "title": "Get metadata for a form",
      "topics": [
        "ns_get_meta"
      ]
    },
    {
      "page": "ns_get_submission",
      "title": "Get an individual submission answer",
      "topics": [
        "ns_get_submission"
      ]
    },
    {
      "page": "ns_get_submission_attachments",
      "title": "Get Nettskjema attachments for a submission",
      "topics": [
        "ns_get_submission_attachments"
      ]
    },
    {
      "page": "ns_get_token",
      "title": "Get Current Nettskjema Access Token",
      "topics": [
        "ns_get_token"
      ]
    },
    {
      "page": "ns_has_auth",
      "title": "Check Environment Variables for Nettskjema Authentication",
      "topics": [
        "ns_has_auth"
      ]
    },
    {
      "page": "ns_list_form_attachments",
      "title": "Retrieve all attachments associated with a Nettskjema",
      "topics": [
        "ns_list_form_attachments"
      ]
    },
    {
      "page": "ns_list_submission_attachments",
      "title": "List Nettskjema attachments for a submission",
      "topics": [
        "ns_list_submission_attachments"
      ]
    },
    {
      "page": "ns_req",
      "title": "Basic Nettskjema httr2 request",
      "topics": [
        "ns_req"
      ]
    },
    {
      "page": "ns_req_auth",
      "title": "Authenticate Nettskjema request",
      "topics": [
        "ns_req_auth"
      ]
    },
    {
      "page": "ns_sitrep",
      "title": "Nettskjema API Sitrep",
      "topics": [
        "ns_sitrep"
      ]
    },
    {
      "page": "ns_validate_client_pattern",
      "title": "Validate Nettskjema Client Pattern",
      "topics": [
        "ns_validate_client_id",
        "ns_validate_client_pattern",
        "ns_validate_client_secret"
      ]
    },
    {
      "page": "ns_write_codebook",
      "title": "Write codebook to file",
      "topics": [
        "ns_write_codebook",
        "ns_write_codebook.default",
        "ns_write_codebook.ns_codebook",
        "ns_write_codebook.ns_codebook_raw"
      ]
    },
    {
      "page": "ns_write_meta",
      "title": "Write meta-data to file",
      "topics": [
        "ns_write_meta",
        "ns_write_meta.default",
        "ns_write_meta.ns_meta"
      ]
    }
  ],
  "_pkglogo": "https://github.com/capro-uio/nettskjemar/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/capro-uio/nettskjemar/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "attachments.Rmd",
      "filename": "attachments.html",
      "title": "Attachments: Download and Save",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Listing Attachments",
        "Listing attachments for a specific submission",
        "Listing all attachments for a form",
        "Downloading Attachments",
        "Saving All Attachments",
        "For a Single Submission",
        "For an Entire Form",
        "Summary"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-08 17:52:14",
      "commits": 8
    },
    {
      "source": "authentication.Rmd",
      "filename": "authentication.html",
      "title": "Authentication Setup for Nettskjema API",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting Up Authentication",
        "Setting up a client",
        "Add Credentials to Your .Renviron File",
        "Check your Situation report",
        "Accessing forms",
        "Working with the client",
        "Renewing the client secret",
        "Adding colleagues",
        "Troubleshooting",
        "More information"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-08 19:26:17",
      "commits": 5
    },
    {
      "source": "custom_requests.Rmd",
      "filename": "custom_requests.html",
      "title": "Building custom requests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Understanding the basics of APIs",
        "Setting up a custom GET request",
        "Setting up a custom POST request"
      ],
      "created": "2025-06-15 17:37:20",
      "modified": "2025-09-08 19:26:17",
      "commits": 4
    },
    {
      "source": "labelled_data.Rmd",
      "filename": "labelled_data.html",
      "title": "Enhanced Workflow with Labelled Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to using Labelled data",
        "Getting labelled data from nettskjemar",
        "Exploring Labelled Data with",
        "Inspecting Labels",
        "Modifying Labels",
        "Benefits of Using Labelled Data"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-08 17:52:14",
      "commits": 8
    },
    {
      "source": "forms.Rmd",
      "filename": "forms.html",
      "title": "Fetching Information on Forms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Prerequisites",
        "Retrieving All Available Forms",
        "Example: Getting Forms",
        "Retrieving Raw Form Data",
        "Downloading Form Reports",
        "Example: Download a CSV Report",
        "Example: Download an Excel Report",
        "Example: Save SPSS Report to a Custom Path",
        "Custom Output Paths"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-04 14:23:27",
      "commits": 7
    },
    {
      "source": "submissions.Rmd",
      "filename": "submissions.html",
      "title": "Handling Submissions with the Nettskjema API",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Getting an Individual Submission Answer: ns_get_submission",
        "Example: Fetch an Individual Submission"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-04 14:23:27",
      "commits": 3
    },
    {
      "source": "nettskjemar.Rmd",
      "filename": "nettskjemar.html",
      "title": "Using nettskjemar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General recommendations",
        "Tidyverse compatible",
        "Download submissions",
        "Fetching Raw Data",
        "Controlling checkbox output"
      ],
      "created": "2020-10-15 08:38:07",
      "modified": "2025-09-04 14:23:27",
      "commits": 13
    },
    {
      "source": "metadata.Rmd",
      "filename": "metadata.html",
      "title": "Working with Nettskjema Form Metadata",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Prerequisites",
        "Retrieving Metadata for a Form: ns_get_meta",
        "Example: Retrieve Metadata",
        "Exploring the Metadata Object",
        "Example: Access Specific Metadata Fields",
        "Saving Metadata to a File: ns_write_meta",
        "Example: Save Metadata as a JSON File",
        "Example: Save Metadata to a Custom Path",
        "Example: Use Custom JSON Formatting Options"
      ],
      "created": "2025-03-17 15:22:36",
      "modified": "2025-09-04 14:23:27",
      "commits": 5
    }
  ],
  "_score": 6.212720154417842,
  "_indexed": false,
  "_nocasepkg": "nettskjemar",
  "_universes": [
    "drmowinckels"
  ],
  "_indexurl": "https://capro-uio.r-universe.dev/nettskjemar",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-20T05:49:42.000Z",
      "distro": "resolute",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/51c1999106a57ccdc9182de134112925467d140b4cad53194b4b74ca699eba02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-20T05:49:36.000Z",
      "distro": "resolute",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/48428bd2be6d2109cc0dcd36b57b3c7f601e8dd0d76cf287502c94986ddb4b69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-20T05:49:30.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/a1ba2bee59a1b48a8e9181c9b5df55aaab6b45b5b13b799f79dbef60bba8a44e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-20T05:49:25.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/467c1be0e243f20fee98d3e3640cf415a7eff1f7374d96dd02875240efa9fa41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-07-20T05:49:30.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/0206cfcd6bdf7d0c5c434eb5d132a7cf85dc5e979adabdcf5e222c5bb35280d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-20T05:48:24.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/2e96d6b93ea834ce75f147b8747c203e7ffec68d0bc9fb493cc718bcaeae1e7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-20T05:48:38.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/78726a9ba552122c22e86e9c3ce0a0cfb6aae2600adec35ed2725c9422527e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-20T05:48:26.000Z",
      "commit": "261260e2510f51d8dc0af5e4c9c386a7e459de4b",
      "fileid": "https://r2.ropensci.org/58851910eeb4d32f7bf1c23a6ce14fa978639e4d880e0402a9ba1f5098189299",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drmowinckels/actions/runs/29719802097"
    }
  ]
}