Prepare methods
prep_methods.Rd
Collection of methods for preparing data conveniently named to make preparing easier
Examples
prep_methods()
#> $data
#> function (x)
#> {
#> prep_object(x)
#> }
#> <bytecode: 0x5628ca503ee8>
#> <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: 0x5628cca8fc80>
#> <environment: namespace:wddsWizard>
#>
#> $descriptions
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628cf722c50>
#> <environment: namespace:wddsWizard>
#>
#> $fundingReferences
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628ca5008d0>
#> <environment: namespace:wddsWizard>
#>
#> $identifiers
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628ca5012e0>
#> <environment: namespace:wddsWizard>
#>
#> $language
#> function (x)
#> {
#> prep_atomic(x)
#> }
#> <bytecode: 0x5628ca502118>
#> <environment: namespace:wddsWizard>
#>
#> $methodology
#> function (x)
#> {
#> x <- dplyr::mutate(x, eventBased = as.logical(eventBased),
#> archival = as.logical(archival))
#> prep_object(x, unbox = TRUE)
#> }
#> <bytecode: 0x5628ca4fd008>
#> <environment: namespace:wddsWizard>
#>
#> $publicationYear
#> function (x)
#> {
#> prep_atomic(x)
#> }
#> <bytecode: 0x5628ca4fe070>
#> <environment: namespace:wddsWizard>
#>
#> $rights
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628ca4fac50>
#> <environment: namespace:wddsWizard>
#>
#> $subjects
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628ca4fb430>
#> <environment: namespace:wddsWizard>
#>
#> $titles
#> function (x)
#> {
#> prep_array_objects(x)
#> }
#> <bytecode: 0x5628ca4fbc48>
#> <environment: namespace:wddsWizard>
#>