Skip to contents

Check that the provided value is a character string and can resonably be assumed to be a first and last name. This is a simple, non-comprehensive check and is in no way meant to be the final say of whether or not your name meets the regex check. However, in order for submissions to be attributed to the correct people it is imperative the users double check the name supplied.

Usage

check_submitter_name(submitter_name)

Arguments

submitter_name

First and last name of person submitting data to EPHT.

Value

list containing exit status code and success/failure message

Examples

check_submitter_name("Firstname Lastname")
#> $code
#> [1] 0
#> 
#> $message
#> Success: submitter_name
#>