Skip to contents

Collection of methods for preparing data conveniently named to make preparing easier

Usage

prep_methods()

Value

list of methods

Examples


prep_methods()
#> $data
#> function (x) 
#> {
#>     prep_object(x)
#> }
#> <bytecode: 0x55efd4c02550>
#> <environment: namespace:wddsWizard>
#> 
#> $creators
#> function (x) 
#> {
#>     x_aff <- purrr::map(x, prep_affiliation)
#>     x_nid <- purrr::map(x_aff, prep_nameIdentifiers)
#>     out <- prep_array_objects(x_nid)
#>     return(out)
#> }
#> <bytecode: 0x55efd7f337d0>
#> <environment: namespace:wddsWizard>
#> 
#> $descriptions
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efdadc8a48>
#> <environment: namespace:wddsWizard>
#> 
#> $fundingReferences
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd4c02da0>
#> <environment: namespace:wddsWizard>
#> 
#> $identifier
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd4bfc390>
#> <environment: namespace:wddsWizard>
#> 
#> $relatedIdentifiers
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd4bfd4a0>
#> <environment: namespace:wddsWizard>
#> 
#> $language
#> function (x) 
#> {
#>     prep_atomic(x)
#> }
#> <bytecode: 0x55efd4bfa048>
#> <environment: namespace:wddsWizard>
#> 
#> $methodology
#> function (x) 
#> {
#>     x <- dplyr::mutate(x, eventBased = as.logical(.data$eventBased), 
#>         archival = as.logical(.data$archival))
#>     prep_object(x, unbox = TRUE)
#> }
#> <bytecode: 0x55efd4bef858>
#> <environment: namespace:wddsWizard>
#> 
#> $publicationYear
#> function (x) 
#> {
#>     prep_atomic(x)
#> }
#> <bytecode: 0x55efd4bd0a20>
#> <environment: namespace:wddsWizard>
#> 
#> $rights
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd3c429b8>
#> <environment: namespace:wddsWizard>
#> 
#> $subjects
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd3c9f538>
#> <environment: namespace:wddsWizard>
#> 
#> $titles
#> function (x) 
#> {
#>     prep_array_objects(x)
#> }
#> <bytecode: 0x55efd3c9c530>
#> <environment: namespace:wddsWizard>
#>