Skip to contents

All users have access to specific forms, and this function uses the token provided to check what the current user has access to.

Usage

ns_get_forms(asis = FALSE)

Arguments

asis

logical. Whether to return the raw content from nettskjema. Default is FALSE.

Value

data.frame, if asis = TRUE returns a list

Examples

ns_get_forms()
#>   formId         title            openFrom              openTo
#> 1 123823 API test form 2023-06-01T20:55:49 2024-06-02T02:00:02
#>    lastSubmissionDate        modifiedDate personalDataErasedDate
#> 1 2023-06-01T20:59:50 2025-08-19T21:41:06                     NA
#>   deliveryDestination anonymous numberOfDeliveredSubmissions owners
#> 1            DATABASE     FALSE                            3      3
#>   isDictaphone myFormsFormListingGroup  open
#> 1        FALSE                     OLD FALSE