x3p_read_folder: Read all x3p files in a folder

View source: R/x3p_read_folder.R

x3p_read_folderR Documentation

Read all x3p files in a folder

Description

This function is provided with a path to a folder, it will search recursively for all x3p files within the folder, read the x3p files, and return the results as part of a tibble dataset.

Usage

x3p_read_folder(path)

Arguments

path

character string to a folder

Value

tibble with two variables: source contains the file path to the x3p file, and x3p is a list variable of x3p objects.

Examples

# example code
path <- dirname(system.file("csafe-logo.x3p", package="x3ptools"))
x3p_read_folder(path) # show all x3p files installed with x3ptools

heike/x3ptools documentation built on Oct. 12, 2024, 2:33 p.m.