Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in filter_impl(.data, quo) : Result must have length 1381, not 0 #15

Open
joeymizrahi opened this issue Nov 4, 2018 · 4 comments

Comments

@joeymizrahi
Copy link

finreportr::GetCashFlow('ATLS',2017)
[1] "https://www.sec.gov/cgi-bin/browse-edgar?CIK=ATLS&owner=exclude&action=getcompany&Find=Search"
Error in filter_impl(.data, quo) : Result must have length 1381, not 0

@alexvesel
Copy link

I am having the same problem.

@aaronmams
Copy link

I am encountering this problem but only periodically. For example:

GetIncome('BWLD',2016)

works just fine but

GetIncome('BLMN',2016)
Error in filter_impl(.data, quo) : Result must have length 1925, not 0

breaks down...even though I can search EDGAR directly and find 10-K filings for 'BLMN' for 2014, 2015, 2016, and 2017.

For my most recent application I have a list of about 10 ticker symbols that I would like to access the 10-K filings for. I can access all of the desired companies and years directly using the EDGAR search page...but when I try to do it through R with finreportr, I have 4 tickers that return the error,

"Results must have length XXX, not 0"

sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages:
[1] splines stats graphics grDevices utils datasets methods base

other attached packages:
[1] edgarWebR_1.0.0 finreportr_1.0.1 gam_1.16 foreach_1.4.4 mgcv_1.8-22 nlme_3.1-131
[7] gstat_1.1-6 bindrcpp_0.2 fossil_0.3.7 shapefiles_0.7 foreign_0.8-69 maps_3.2.0
[13] sp_1.2-7 gdata_2.18.0 geosphere_1.5-7 data.table_1.10.4-3 lubridate_1.7.2 RODBC_1.3-15
[19] forcats_0.3.0 stringr_1.3.0 dplyr_0.7.4 purrr_0.2.5 readr_1.1.1 tidyr_0.8.1
[25] tibble_1.4.2 ggplot2_3.0.0.9000 tidyverse_1.2.1 sf_0.6-3

loaded via a namespace (and not attached):
[1] Rcpp_0.12.15 lattice_0.20-35 FNN_1.1.2.1 class_7.3-14 zoo_1.8-3 gtools_3.5.0 digest_0.6.15
[8] assertthat_0.2.0 utf8_1.1.3 R6_2.2.2 cellranger_1.1.0 plyr_1.8.4 backports_1.1.2 e1071_1.6-8
[15] httr_1.3.1 pillar_1.2.1 rlang_0.2.1 curl_3.2 lazyeval_0.2.1 readxl_1.1.0 rstudioapi_0.7
[22] Matrix_1.2-12 labeling_0.3 selectr_0.4-1 munsell_0.4.3 broom_0.5.0 compiler_3.4.3 modelr_0.1.2
[29] pkgconfig_2.0.1 codetools_0.2-15 intervals_0.15.1 spacetime_1.2-2 crayon_1.3.4 withr_2.1.2 XBRL_0.99.18
[36] grid_3.4.3 spData_0.2.8.3 jsonlite_1.5 gtable_0.2.0 DBI_1.0.0 magrittr_1.5 units_0.6-0
[43] scales_0.5.0 cli_1.0.0 stringi_1.1.6 xml2_1.2.0 xts_0.11-0 iterators_1.0.10 tools_3.4.3
[50] glue_1.2.0 hms_0.4.2 colorspace_1.3-2 classInt_0.2-3 rvest_0.3.2 bindr_0.1 haven_1.1.2

@spenerpao
Copy link

I am getting the same error as well. When I run GetBalanceSheet("MSFT", 2015) for example, I have the Error: Result must have length XXXX, not 0.

@andresmorago
Copy link

having same issue

> gm_inc <- GetIncome("GM", 2018)
Error: Result must have length 1529, not 0
> gm_inc <- GetIncome("GM", 2018)
Error: Result must have length 1529, not 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants