开发者

R: How to extract the search results from web database to R data.frame? [closed]

开发者 https://www.devze.com 2023-02-23 12:49 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

(1) I have a list of protein' names.

(2) I want to search a web database for the biological function of these proteins.

(3) I know if the protein's name is in the database, the information such as "location" and "bioactivity" can be found.

(4) Can I do it auotomatically to extract those information to R's data.frame?

(5) If I cannot do it with R, what is the best way to do this automatically?

Many 开发者_开发技巧thanks,

Catherine


RCurl is the package you want, as it can be used to scrape the web. Download it, install it, require() it and read the manual and you should be able to do what you want.

Disclaimer: I have not used the package myself, but its the answer to many webscraping questions on R-help.

0

精彩评论

暂无评论...
验证码 换一张
取 消