Convert a path or URL to a location object.

as.location(x, type = "style")

Arguments

x

Input

type

(character) One of style (default) or locale

Examples

if (length(csl_cache$list()) > 0) { # Style files as.location("apa") as.location("teaching-and-learning-in-nursing") as.location("regenerative-medicine-research") # A URL url <- 'http://zotero.org/styles/american-journal-of-political-science' as.location(url) }