Learn R Programming

jstor (version 0.3.11)

jst_example: Get path to jstor example

Description

jstor includes several sample files for demonstration purposes. This helper makes them easy to access.

Usage

jst_example(path = NULL)

Value

Either a character vector with the names of example files (if jst_example() is called without supplying an argument), or a character vector indicating the path to the example file.

Arguments

path

Name of the example file. If NULL, the example files will be listed.

Details

The code for this function was adapted from the package readr.

Examples

Run this code
jst_example()
jst_example("article_with_references.xml") 

Run the code above in your browser using DataLab