FABLE project data

R package mrfable, version 1.7.2

CRAN status R build status codecov r-universe

Purpose and Functionality

Tool for easy downloading, cleaning, and sorting foodcrop Data downloaded from UPAg - Unified Portal for Agricultural Statistics by Department of Agriculture & Farmers Welfare.

Installation

For installation of the most recent package version an additional repository has to be added in R:

options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))

The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:

install.packages("mrfable")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

update.packages()

Tutorial

The package comes with a vignette describing the basic functionality of the package and how to use it. You can load it with the following command (the package needs to be installed):

vignette("mrfable") # India foodcrop data preparation with R

Questions / Problems

In case of questions / problems please contact Ankit Saha ankitsa@pik-potsdam.de.

Citation

To cite package mrfable in publications use:

Saha A, Giannousakis A (2025). "mrfable: FABLE project data." Version: 1.7.2.

A BibTeX entry for LaTeX users is

@Misc{,
 title = {mrfable: FABLE project data},
 author = {Ankit Saha and Anastasis Giannousakis},
 date = {2025-11-21},
 year = {2025},
 note = {Version: 1.7.2},
}