getAgroData: Get one of the available datasets

View source: R/getAgroData.R

getAgroDataR Documentation

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",
  fileEncoding = "UTF-8-BOM"
)

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

fileEncoding

character: declares the encoding used on a file, deafults to "UTF-8-BOM"

Value

returns a data.frame

Author(s)

Andrea Onofri

Examples

getAgroData("rimsulfuron")


statforbiology documentation built on Sept. 9, 2025, 5:42 p.m.