This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
readFAOData <- function(area_codes, element_codes, item_codes, year_codes, | |
area_format = "M49", | |
item_format = "CPC", | |
dataset = "FBS", | |
metadata_cols = c("codes", "units", "flags", "notes"), | |
include_na = FALSE, | |
return_n_records_only = FALSE, | |
base_url = "https://fenixservices.fao.org/faostat/api/v1/en/data/"){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package: pkg | |
Version: 0.5-1 | |
Date: 2004-01-01 | |
Title: My First Collection of Functions | |
Authors@R: c(person("Joe", "Developer", role = c("aut", "cre"), | |
email = "[email protected]"), | |
person("Pat", "Developer", role = "aut"), | |
person("A.", "User", role = "ctb", | |
email = "[email protected]")) | |
Author: Joe Developer and Pat Developer, with contributions from A. User |