GithubHelp home page GithubHelp logo

yanlesin / sec13flist Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 10.48 MB

Returns a data frame with SEC Official List of Section 13F Securities for given Year and Quarter by parsing official list

License: Creative Commons Zero v1.0 Universal

R 82.73% C++ 17.27%
13f cusip dataframe isin parse pdf r rstats sec sedol

sec13flist's People

Contributors

realmadsci avatar yanlesin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

realmadsci

sec13flist's Issues

Resolve "no visible binding..." note during package build

checking R code for possible problems ... NOTE
SEC_13F_list: no visible binding for global variable 'PDF_STRING'
SEC_13F_list: no visible binding for global variable 'CUSIP_start'
SEC_13F_list: no visible binding for global variable
'ISSUER_NAME_start'
SEC_13F_list: no visible binding for global variable
'ISSUER_DESCRIPTION_start'
SEC_13F_list: no visible binding for global variable 'STATUS_start'
SEC_13F_list: no visible binding for global variable 'CUSIP_end'
SEC_13F_list: no visible binding for global variable 'STATUS_end'
SEC_13F_list: no visible binding for global variable
'HAS_LISTED_OPTION_start'
SEC_13F_list: no visible binding for global variable
'HAS_LISTED_OPTION_end'
SEC_13F_list: no visible binding for global variable 'ISSUER_NAME_end'
SEC_13F_list: no visible binding for global variable
'ISSUER_DESCRIPTION_end'
SEC_13F_list: no visible binding for global variable 'CUSIP'
Undefined global functions or variables:
CUSIP CUSIP_end CUSIP_start HAS_LISTED_OPTION_end
HAS_LISTED_OPTION_start ISSUER_DESCRIPTION_end
ISSUER_DESCRIPTION_start ISSUER_NAME_end ISSUER_NAME_start PDF_STRING
STATUS_end STATUS_start

Remove `tidyr` dependency by re-implementing `filldown` function

fill function is the only dependency in the package that requires tidyr. It is possible to include cpp filldown from tidyr as non-exported function, in order to remove dependency.
The remaining dependencies will be pdftools and rvest.
rvest changed in the past and broke functionality and should be considered for removing as dependency.
pdftools - ok to have it as dependency.

CUSIP functions return incorrect checksum digit for CINS numbers?

In some cases for CINS numbers or CUSIP with character in the middle, function returns incorrectly that identifier is not valid.
Root cause could be that initial CUSIP code was developed with numerical CUSIPs in mind and requires tweaking. Better code could be borrowed from isIsin function, as it handles alpha characters better, but still using the same checksum digit algo

Outstanding Issues:

The following thing will be fixed in next couple of releases:

  1. Description of returned data frame

File name handling and scope limit

  1. Limit scope of the function to files that could be parsed (starting from Q1 2004)
  2. Special handling of file name for Q1 2004
  3. Checking parameters passed into function (starting from Q1 2004)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.