get CV header
get_cv_header.Rd
get CV header as YAML or list with data from ORCID
Usage
get_cv_header(
orcid = Sys.getenv("ORCID_ID"),
json_path = NULL,
output_type = c("list", "yaml"),
template = "vitae::awesomecv",
template_args = NULL
)
Arguments
- orcid
string with the ORCID ID by default fetched fomr "ORCID_ID" system variable
- json_path
string to JSON file with additional/custom data
- output_type
string with output format ('list' or 'yaml'
- template
string with the name of the CV template. Currently only vitae templates are supported.
- template_args
list with additional arguments to be passed to the template
return list or YAML with header data