replace_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
)

Arguments

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

Value

replaces "publishDate" in markdown files based on values in column defined with parameter "endnote_db_col"