/AFCD

AFCD R package for data access and species nutrient match

Primary LanguageR

Aquatic Foods Composition Database

Overview

This R package contains a cleaned version of the Aquatic Foods Composition Database (AFCD) developed by Golden et al. (2021):

  • Golden CD**, Koehn JZ**, Shepon A**, Passarelli S**, Free CM**, Viana DF**, Matthey H, Eurich JG, Gephart JA, Fluet-Chouinnard E, Nyboer EA, Lynch AJ, Kjellevold M, Bromage S, Charlebois P, Barange M, Vannuccini S, Cao L, Kleisner KM, Rimm EB, Danaei G, DeSisto C, Kelahan H, Fiorella KJ, Little DC, Allison EH, Fanzo J, Thilsted SH (2021) Aquatic foods to nourish nations. Nature 598: 315-320. ** denotes shared first authorship

Installation

The "AFCD" R package can be installed from GitHub with:

# Run if you don't already have devtools installed
install.packages("devtools")

# Run once devtools is successfully installed
devtools::install_github("Aquatic-Food-Composition-Database/AFCD", force=T)
library(AFCD)

Functions

  1. Match nutritional content to nearest taxa: ?species_nutrients

Datasets

The package contains the following datasets:

  1. AFCD foods ID'ed by any taxonomic information: ?afcd
  2. AFCD foods ID'ed by scientific names): ?afcd_sci
  3. AFCD foods ID'ed by general food names only): ?afcd_common
  4. AFCD nutrient key: ?afcd_nutrients
  5. AFCD food part key: ?afcd_parts
  6. AFCD preparation type key: ?afcd_prep
  7. AFCD reference key: ?afcd_refs

Citation

Please reference the original paper when using this data:

  • Golden CD, Koehn JZ, Shepon A, Passarelli S, Free CM, Viana DF, Matthey H, Eurich JG, Gephart JA, Fluet-Chouinnard E, Nyboer EA, Lynch AJ, Kjellevold M, Bromage S, Charlebois P, Barange M, Vannuccini S, Cao L, Kleisner KM, Rimm EB, Danaei G, DeSisto C, Kelahan H, Fiorella KJ, Little DC, Allison EH, Fanzo J, Thilsted SH (2021) Aquatic foods to nourish nations. Nature 598: 315-320.