Learn R Programming

Introduction to fetch

Many R programs require multiple input datasets. The purpose of the fetch package is to make it easier to access multiple datasets from an R program. The package allows you to load a catalog of all the datasets in a directory, and then load each desired dataset as needed into your program. The method minimizes the memory used for the data.

Installation

The fetch package can be installed from the console. Simply run the following command:

install.packages("fetch")

Or if you want the latest development version, you can install it directly from github:

devtools::install_github("https://github.com/dbosak01/fetch")

Then put the following line at the top of your program or script:

library(fetch)

The fetch package will give you access to a number of functions to import data into your programs more easily and efficiently. For examples and usage information, visit the fetch documentation site here.

Getting Help

If you need help, the first place to turn to is the fetch web site. The web site has full documentation on all fetch functions.

If you want to look at the code for the fetch package, visit the github page here.

If you encounter a bug or have a feature request, please submit an issue here.

See Also

The sassy meta-package includes several packages that help make R easier for everyone. You can read more about the sassy package here.

Copy Link

Version

Install

install.packages('fetch')

Monthly Downloads

177

Version

0.1.5

License

CC0

Maintainer

David Bosak

Last Published

February 11th, 2024

Functions in fetch (0.1.5)

read.specs

Read import specs from the file system
print.dinfo

Print a data catalog item
catalog

Create a data source catalog
print.dcat

Print a data catalog
import_spec

Create an Import Specification
fetch

Fetch data from many data sources
write.specs

Write import specs to the file system
specs

Create an Import Spec Collection
print.specs

Print import specifications
engines

A list of engine types