request_foodb_compound_info_crawler: Request all the compound information in FooDB based on web...

View source: R/14_FOODB.R

request_foodb_compound_info_crawlerR Documentation

Request all the compound information in FooDB based on web crawler

Description

Request all the compound information in FooDB based on web crawler

Usage

request_foodb_compound_info_crawler(
  url = "https://foodb.ca/compounds",
  sleep = 1,
  pages = c(1:2838)
)

Arguments

url

Default is "https://foodb.ca/compounds".

sleep

Default is 1 second.

pages

default is from 1:2838

Value

A data frame.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

x = request_foodb_compound_info_crawler(pages = 1)
head(x)

tidymass/massdatabase documentation built on Sept. 10, 2023, 10:35 p.m.