Learn R Programming

statforbiology (version 0.9.9)

getAgroData: Get one of the available datasets

Description

This function loads and returns a dataset available in an external repository and stored as '.csv' or other type of text files. all the examples.

Usage

getAgroData(
  fileName,
  where = "https://www.casaonofri.it/_datasets/",
  type = "csv"
)

Value

returns a data.frame

Arguments

fileName

character: the name of the file (with no extension)

where

character: the name of the web repository

type

character: the extension of the web file

Author

Andrea Onofri

Examples

Run this code
getAgroData("rimsulfuron")

Run the code above in your browser using DataLab