articlelength(rplos)
articlelength()所属R语言包:rplos
Get article length of single paper by DOI, or of many papers as histogram.
文章长度的单张纸DOI,或直方图的多篇论文。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get article length of single paper by DOI, or of many papers as histogram.
文章长度的单张纸DOI,或直方图的多篇论文。
用法----------Usage----------
articlelength(id = NA, fields = NA, limit = NA,
searchin = NA, url = "http://api.plos.org/search",
key = getOption("PlosApiKey", stop("need an API key for PLoS Journals")),
..., curl = getCurlHandle())
参数----------Arguments----------
参数:id
article identifier DOI = id, or subject area, e.g.: 'ecology'
文章标识符DOI = ID,或主题领域,例如:生态
参数:fields
fields to return from search (character) [e.g., 'id,title'], any combination of search fields [see plosfields$field]
字段返回搜索(字符),例如,ID,标题],任意组合的搜索字段[看到plosfields $字段]
参数:limit
number of results to return (integer)
返回的结果数(整数)
参数:searchin
search field to search in (character)
搜索栏来搜索(字符)
参数:url
the PLoS API url for the function (should be left to default)
公共科学图书馆应留API功能(网址为默认值)
参数:key
your PLoS API key, either enter, or loads from .Rprofile
公共科学图书馆·API键,直接输入或负载。Rprofile
参数:...
optional additional curl options (debugging tools mostly)
可选的附加卷曲选项(调试工具大多)
参数:curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)
如果使用在一个循环中,调用getCurlHandle(),并通过在这里的返回值(避免不必要的足迹)
值----------Value----------
Length of articles (no. words) as text (single paper) or histogram (>1 paper).
文章的长度(号字),文字(单张纸),或直方图(1纸)。
实例----------Examples----------
## Not run: [#不运行:]
articlelength("10.1371/journal.pone.0004045", "body")
articlelength("10.1371/journal.pone.0004045", "everything")
articlelength("10.1371/journal.pone.0004045", "title")
articlelength("ecology", "materials_and_methods", 500, "subject")
articlelength("ecology", "results_and_discussion", 500, "subject")
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|