【问题标题】:Cant retrieve company record from EDGAR platform无法从 EDGAR 平台检索公司记录
【发布时间】:2020-04-06 22:58:55
【问题描述】:

我正在尝试使用以下代码从 EDGAR 平台检索公司信息:

library(edgar)
library(tidyverse)
library(kableExtra)


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

但是,我收到以下错误:

No filing information found for given CIK(s) and Form Type in the mentioned year(s)/quarter(s).

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

任何帮助将不胜感激。

【问题讨论】:

    标签: r finance edgar


    【解决方案1】:

    如果你读到help(getFillingsHTML)

    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,它声明抑制前导零。

    因此:

    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
    

    【讨论】:

    • 谢谢。我刚刚尝试了您的建议并得到了完全相同的信息。会不会是我这边的事情?
    • 您收到的信息与我在代码中收到的信息完全相同吗?如果是这样,您应该在工作目录getwd() 的文件夹中找到表格 10-K 的副本。 See?
    • 我没说对。我仍然收到错误消息No filing information found for given CIK(s) and Form Type in the mentioned year(s)/quarter(s).
    • 也许您可以尝试重新启动 R 并再次尝试代码?
    • 做到了。还删除了软件包并重新安装。也重新启动了电脑,仍然一无所获。像你一样,一个朋友刚刚做了,她得到了你的结果:(
    【解决方案2】:

    卡巴斯基在启用时会干扰 edgar 和 getFilingsHTML 函数

    从 SEC 服务器下载 2017 年的主索引 ... curl: (35) schannel:下一个 InitializeSecurityContext 失败:未知错误 (0x80092012) - 吊销功能无法检查吊销 为证书。卷曲:(35)频道:下一个 InitializeSecurityContext 失败:未知错误 (0x80092012) - 吊销功能无法检查吊销 证书。 curl: (35) schannel: 下一个 InitializeSecurityContext 失败:未知错误 (0x80092012) - 撤销功能是 无法检查证书的吊销。卷曲:(35)频道: 下一个 InitializeSecurityContext 失败:未知错误 (0x80092012) - 吊销功能无法检查吊销 证书。未找到给定 CIK 和表格的归档信息 输入提到的年份/季度。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-24
      • 1970-01-01
      • 1970-01-01
      • 2015-02-09
      • 1970-01-01
      • 1970-01-01
      • 2011-08-22
      • 1970-01-01
      相关资源
      最近更新 更多