yaml4post: Combine Two Sources of yaml Together

Description Usage Arguments

View source: R/md_yaml.R

Description

This function is used to combine a 'static' yaml, saved locally in content/author_info/, and a 'dynamic' yaml, retrieved and computed from responses collected by Google Form.

Usage

1
yaml4post(author_id, gs_yaml, author_yml_dir = "content/author_info/")

Arguments

author_id

String. The id of the author as specified in

  1. content/author_info/id.yml

  2. The filenames of the files stored in content/author_info/ (except id.yml).

Note that the id is calculated from the response of the Google Form. It normalizes the respondent-provided id by 1) conversion to lower case and 2) replace spaces with _.


collabin/collabin-dev documentation built on April 27, 2020, 5:02 a.m.