R/replace_md_keys_with_endnote_db_vals_in_pub_index_md.R
replace_publishdates_in_pub_index_md.Rdreplace_publishdates_in_pub_index_md
replace_publishdates_in_pub_index_md( md_paths, endnote_db_refs, md_key = "publishDate", endnote_db_col = "publishDate", file_encoding = "UTF-8", escape_with_double_quote = FALSE, dbg = TRUE )
| md_paths | paths to "publication" markdown files |
|---|---|
| endnote_db_refs | table "refs" in Endnote DB (as retrieved by [add_columns_to_endnote_db]) |
| md_key | markdown key pattern to search for (default: "publishDate") |
| endnote_db_col | column with values to be used for replacement (default: "date_cleaned") |
| file_encoding | default: "UTF-8 |
| escape_with_double_quote | should be double quotes added "<endnote-value>" (default: FALSE) |
| dbg | default: TRUE |
replaces "publishDate" in markdown files based on values in column defined with parameter "endnote_db_col"