rubenarslan / codebook

Cook rmarkdown codebooks from metadata on R data frames
https://rubenarslan.github.io/codebook/
Other
142 stars 16 forks source link

Blank space after meta data attribute '@type' of affiliation #60

Open elinalutz opened 3 years ago

elinalutz commented 3 years ago

When adding the meta data field 'affiliation' for a creator, the codebook contains a blank space after the affiliation type (e.g., 'Organization' as in https://rubenarslan.github.io/codebook/articles/codebook.html) and before the comma that separates the affiliation type from the affiliation name. Can this blank space be removed somehow?

This is the relevant bit of code from the codebook example with formr.org data:

metadata(bfi)$creator <- list(
      "@type" = "Person",
      givenName = "Ruben", familyName = "Arslan",
      email = "ruben.arslan@gmail.com", 
      affiliation = list("@type" = "Organization",
        name = "MPI Human Development, Berlin"))

Thank you!