Skip to contents

Generates a readable report of the metadata describing data sets contained in popler. The report contains citations, the links to the original URL of each data set, and example code to obtain the metadata and data of the projects represented in the html page.

Usage

pplr_report_metadata(input, md_file = "./browse.Rmd",
  html_file = "./browse.html")

Arguments

input

A popler object returned by pplr_browse() or pplr_get_data()

md_file

Specify the filename and location for the generated markdown file (optional)

html_file

Specify the filename and location for the generated html file (optional)

Value

An invisible copy of input.

Examples

if (FALSE) {
# Full dictionary
one_spp <- pplr_browse(community == "no" & duration_years > 15)
pplr_report_metadata(one_spp)

data <- pplr_get_data(one_spp)
pplr_report_metadata(data) # same as above
}