util_process_copyright {nhlapi}R Documentation

Move copyright information to attribute

Description

Removes the element named el from x if present and keeps the information as an equally named attribute.

Usage

util_process_copyright(x, el = "copyright")

Arguments

x

list(), to be processed.

el

character(1), name of the element to remove. Defaults to "copyright" as this is the intended use of the function.

Value

list, with the el element removed and added as attribute, if it is present in x. Unchanged x otherwise.


[Package nhlapi version 0.1.4 Index]