首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法从EDGAR平台检索公司记录

无法从EDGAR平台检索公司记录
EN

Stack Overflow用户
提问于 2020-04-06 22:58:55
回答 2查看 355关注 0票数 0

我试图用以下代码从EDGAR平台检索公司信息:

代码语言:javascript
复制
library(edgar)
library(tidyverse)
library(kableExtra)


tesla <- getFilingsHTML(
  cik.no = 0001318605,
  form.type = '10-K',
  filing.year = 2017,
  quarter = c(1,2,3,4)
 )

但是,我得到以下错误:

代码语言:javascript
复制
No filing information found for given CIK(s) and Form Type in the mentioned year(s)/quarter(s).

我已经检查了CIK代码以及网站www.sec.gov,一切看起来都很好。

任何帮助都将不胜感激。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2020-04-08 21:42:12

卡巴斯基一旦启用,就会干扰埃德加和getFilingsHTML函数。

从SEC服务器下载2017年主索引.curl:(35) schannel: next InitializeSecurityContext失败:未知错误(0x80092012) --吊销函数无法检查证书的吊销。curl:(35) schannel: next InitializeSecurityContext失败:未知错误(0x80092012) --吊销函数无法检查证书的吊销。curl:(35) schannel: next InitializeSecurityContext失败:未知错误(0x80092012) --吊销函数无法检查证书的吊销。curl:(35) schannel: next InitializeSecurityContext失败:未知错误(0x80092012) --吊销函数无法检查证书的吊销。在上述年份(S)/quarter(S).

中没有为给定的CIK(s)和表单类型找到任何归档信息。

票数 0
EN

Stack Overflow用户

发布于 2020-04-06 23:10:45

如果你读了help(getFillingsHTML)

代码语言:javascript
复制
getFilingsHTML {edgar}
Get HTML view of EDGAR filings
Description
getFilingsHTML retrieves complete EDGAR filings and store them in HTML format for view.

Usage
getFilingsHTML(cik.no, form.type, filing.year, quarter)
Arguments
cik.no  vector of CIK number of firms in integer format. Suppress leading zeroes from CIKs. Keep cik.no = 'ALL' if needs to download for all CIKs.

form.type   character vector containing form type to be downloaded. form.type = 'ALL' if need to download all forms.

filing.year vector of four digit numeric year

quarter vector of one digit quarter integer number. By deault, it is kept as c(1 ,2, 3, 4).

对于cik.no,它的状态是抑制前导零。

因此:

代码语言:javascript
复制
getFilingsHTML(cik.no = "1318605",
   form.type = '10-K',
   filing.year = 2017)
#Downloading fillings. Please wait... 
#  #|========================================================================================================================| 100%
#Scrapping full EDGAR and converting to HTML...
#  #|========================================================================================================================| 100%
#HTML filings are stored in 'Edgar filings_HTML view' directory.      cik company.name form.type date.filed     accession.number
#1 1318605  Tesla  Inc       10-K 2017-03-01 0001564590-17-003118
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61070252

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档