Package 'mrfable'

Title: FABLE project data
Description: Tool for easy downloading, cleaning, and sorting foodcrop data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm .
Authors: Anastasis Giannousakis [aut, cre]
Maintainer: Anastasis Giannousakis <[email protected]>
License: LGPL-3 | file LICENSE
Version: 1.6.3
Built: 2024-11-09 04:07:59 UTC
Source: https://github.com/pik-piam/mrfable

Help Index


The mrfable R package (runs with madrat)

Description

Provides functions to read in FABLE project data for India from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Author(s)

Anastasis Giannousakis


calcIndiaFoodcrop Calculates foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Description

calcIndiaFoodcrop Calculates foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Usage

calcIndiaFoodcrop(subtype = "Area")

Arguments

subtype

Area, Yield, or Production

Value

magpie object containing Area, Yield, and Production data.

Author(s)

Anastasis Giannousakis

Examples

## Not run: 
a <- madrat::calcOutput("IndiaFoodcrop", subtype = "Area")

## End(Not run)

correctIndiaAPY

Description

Correct IndiaAPY data

Usage

correctIndiaAPY(x)

Arguments

x

magpie object provided by the read function

Value

magpie objects with corrected IndiaAPY data

Author(s)

Anastasis Giannousakis

Examples

## Not run: 
readSource("IndiaAPY", convert = "onlycorrect")

## End(Not run)

downloadIndiaAPY

Description

Function to download data from https://eands.dacnet.nic.in/APY_96_To_07.htm. Best used in combination with the madrat package.

Usage

downloadIndiaAPY()

Author(s)

Anastasis Giannousakis

Examples

## Not run:  madrat::downloadSource(type="IndiaAPY")

fullDATAINDIA Calculates foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Description

fullDATAINDIA Calculates foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Usage

fullDATAINDIA()

Value

Foodcrop India data

Author(s)

Anastasis Giannousakis

Examples

## Not run: 
a <- retrieveData("DATAINDIA")

## End(Not run)

readIndiaAPY This function reads foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Description

readIndiaAPY This function reads foodcrops data for India taken from here: https://eands.dacnet.nic.in/APY_96_To_07.htm

Usage

readIndiaAPY(subtype = NA)

Arguments

subtype

Area, Yield, or Production

Value

magpie object containing Area, Yield, and Production data.

Author(s)

Anastasis Giannousakis

Examples

## Not run:  a <- madrat::readSource(type="IndiaAPY",subtype="Rice",convert="onlycorrect")