Skip to content

Commit

Permalink
Merge pull request #96 from yanlesin/Q42024_file
Browse files Browse the repository at this point in the history
Q4 2024 file tested
  • Loading branch information
yanlesin authored Jan 17, 2025
2 parents 6881941 + 35b2b26 commit c5d6c77
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: SEC13Flist
Title: Functions to Work with Official List of SEC Section 13(f) Securities and Security Identifiers
Version: 1.1.0
Version: 1.1.1
Authors@R:
person(given = "Yan",
family = "Lyesin",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SEC13Flist

## 1.1.1

* updated tests to reflect content of Q4 files for 2024

## 1.1.0

* significant change: `SEC_13F_list` function no longer attempts to determine current year and quarter for the official list - it will produce an error when no year and quarter supplied to the function call
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-SEC_row_count.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("Parsed row count equal to total row count per PDF list", {
options(HTTPUserAgent="Yan Lyesin, SEC13Flist Package for R, yan.lyesin@gmail.com ")
YEAR_ <- 2024
QUARTER_ <- 3
QUARTER_ <- 4

file_name <- paste0('13flist', YEAR_, 'q', QUARTER_, '.pdf')
url_file <-
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-has_listed_options.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_that("list of possible values for HAS_LISTED_OPTION column", {
options(HTTPUserAgent="Yan Lyesin, SEC13Flist Package for R, yan.lyesin@gmail.com ")
list_all <- SEC13Flist::SEC_13F_list(2023, 3)
list_all <- SEC13Flist::SEC_13F_list(2024, 4)
list_all <- unique(list_all["HAS_LISTED_OPTION"])
list_HAS_LISTED_OPTION <- nrow(subset(list_all, !HAS_LISTED_OPTION %in% c("","*")))
expect_equal(list_HAS_LISTED_OPTION, 0)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-status.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test_that("list of possible values for STATUS column", {
STATUS_1 <- ""
STATUS_2 <- "ADDED"
STATUS_3 <- "DELETED"
list_all <- SEC13Flist::SEC_13F_list(2024, 3)
list_all <- SEC13Flist::SEC_13F_list(2024, 4)
list_all <- unique(list_all["STATUS"])
list_STATUS <- nrow(subset(list_all, !STATUS %in% c(STATUS_1,STATUS_2,STATUS_3)))
expect_equal(list_STATUS, 0)
Expand Down

0 comments on commit c5d6c77

Please sign in to comment.