batch_get_fm: get front-matter for a bunch of projects

batch_get_fmR Documentation

get front-matter for a bunch of projects

Description

Just a map function for get_fm()

Usage

batch_get_fm(
  key = NULL,
  WD = "s",
  WD_git = NULL,
  output_tibble = TRUE,
  exclude_TEST = TRUE
)

Arguments

key

which entry (or entries) do you want to import? default=NULL will import everything; Supports "starts with", case-insensitive matching for a single key if prefixed with '~'

WD

working directory; if "?" or "s" supplied, will get key values for all projects in the GP-Studio drive. "??" or "l" will get data for "GP-LIVE"; default="s"

WD_git

default=NULL. If you already know the path to the gp-lessons folder, this is more efficient.

output_tibble

default=TRUE; try to force output into tibble

exclude_TEST

default=T; excludes test repositories

Value

a list of values for the requested keys for each project on the given drive


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.