license_text: Retrieve license text

Description Usage Arguments Value Examples

Description

license_text grabs the actual plaintext of a set of licenses within the provided metadata, wherever possible.

Usage

1
license_text(license_metadata, ...)

Arguments

license_metadata

metadata returned from license_by_id, license_by_keyword or license_list which covers the licenses you want the text of.

...

further arguments to pass to httr's GET.

Value

a data.frame of 3 columns; "license" containing the license IDs, "content" containing the actual text, and "retrieved_from" indicating the URL the content was returned from. In the event that the plaintext of a license is not available (because a URL for it was not in the metadata), content and retrieved_from will be NAs.

Examples

1
gpl_2_text <- license_text(license_by_id("GPL-2.0"))


Search within the osi package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.