NCEAS / arcticdatautils

Utility functions in R for processing data for the Arctic Data Center
https://nceas.github.io/arcticdatautils/
Apache License 2.0
10 stars 20 forks source link

Accounted for two word last names in eml_nsf_to_project #189

Closed eeerika closed 3 years ago

eeerika commented 3 years ago

resolves #188

laijasmine commented 3 years ago

@eeerika can you add a test to the test_eml.R file that checks that eml_nsf_to_project parses the names properly? You can use something like:

proj <- eml_nsf_to_project("1822406", eml_version = "2.2")

expect_equal(proj$personnel$individualName$givenName, "name")