Skip to content

support parsing .fec files too #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lennybronner
Copy link

The only difference between .fec and .csv files seems to be the delimiter. Where .csv files use commas, the latest version of .fec files use the file separator character (it seems before version 6 .fec files also use commas -- though we couldn't verify this). Our code autodetects what delimiter to use.

Fech implementation: https://github.com/dwillis/Fech/blob/5440378be7b9c1befe7dd084b235a0421254aab6/lib/fech/filing.rb#L347

fec-parse implementation:
https://github.com/PublicI/fec-parse/blob/77608bf43626a2a05ef39ce9e28b6e277a2485ef/lib/parser.js#L172

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

Successfully merging this pull request may close these issues.

1 participant