我从R中查询植物列表网站(http://www.theplantlist.org),但是如果植物名称中有一个透气( does ),这是不起作用的。通常,搜索一个植物的名称,例如。“越桔”,正确地引导到单个物种页面(在R和火狐中)的网址"http://www.theplantlist.org/tpl1.1/search?q=vaccinium+acosta“。
如何使用URL中的物种名称(而不是http://www.theplantlist.org/tpl1.1/record/tro-50262461中的-未知记录ID )查询物种页面中的“越盛”?这对这个网站来说可能吗?
除其他外,我尝试了以下几种方法,但它们都导致了越橘属(包含许多不同物种)的概述页面:
http://www.theplantlist.org/tpl1.1/search?q=vaccinium+borneënse
http://www.theplantlist.org/tpl1.1/search?q=Vaccinium+borneense
http://www.theplantlist.org/tpl1.1/search?q=Vaccinium+borne%C3%ABnse
http://www.theplantlist.org/tpl1.1/search?q=Vaccinium+borneënse最后,我想使用read.csv阅读R中物种列表的特定物种页面:
read.csv("http://www.theplantlist.org/tpl1.1/search?q=vaccinium+acosta&csv=true")发布于 2019-10-07 09:34:47
您可以使用:http://www.theplantlist.org/tpl1.1/search?q=Vaccinium+borne?nse,就像http://www.theplantlist.org/tpl1.1/search中的文本一样。你应该把它转码给每一个有呼吸困难的声音。
这是植物列表中的一个错误。除氧是无效的字符(植物术语),但只是用来帮助发音,所以数据库应该允许第二个查询。
https://stackoverflow.com/questions/58266625
复制相似问题