pplr_report_metadata: Open a report of the metadata of project(s) as an html page

Description Usage Arguments Value Examples

View source: R/report_metadata.R

Description

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

1
2
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

1
2
3
4
5
6
7
8
9
## Not run: 
# 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

## End(Not run)

AldoCompagnoni/poplerr documentation built on Nov. 15, 2019, 9:14 a.m.