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

Implement data download links and metadata page in Wagtail for Administrative fine #1405

Closed
5 tasks done
Tracked by #127
jenniferthibault opened this issue Oct 27, 2017 · 5 comments
Closed
5 tasks done
Tracked by #127
Assignees
Milestone

Comments

@jenniferthibault
Copy link
Contributor

jenniferthibault commented Oct 27, 2017

Embeds the download for Administrative fine cases onto the Admin fine page and adds a link to a page for its metadata using an existing Wagtail template

Resources

  • 📝 Google Doc of accordion content

  • 📝 Google Doc of metadata content

  • On the Administrative fines page, add links to download administrative fine data as .CSV by two-year period via Wagtail. Use the following styling and content:

    • screen shot 2017-10-26 at 10 08 22 pm
  • Create a child page "Administrative fines" in wagtail using the Custom page wagtail template

  • Use paragraph and table block modules to create metadata pages for: "Administrative fines file metadata"

  • Publish the new metadata page

  • Link to the new page from the Administrative fine page (shown in the design above)

@jenniferthibault jenniferthibault added this to the Sprint 4.3 milestone Oct 27, 2017
@jwchumley jwchumley reopened this Oct 31, 2017
@jwchumley jwchumley changed the title Implement data download links and metadata page in Wagtail for Administrative fines Implement data download links and metadata page in Wagtail for Administrative fine Oct 31, 2017
@jenniferthibault
Copy link
Contributor Author

@PaulClark2 one question to get us started on this issue (and the other download issues) — Where do we get the links for each two-year period as a CSV to download?

@PaulClark2
Copy link
Contributor

@jenniferthibault the bulk download URL is https://www.fec.gov/files/bulk-downloads/index.html

There are two-year folders. These folders contain the files we need. I need to confirm that all the files are there.

image

https://www.fec.gov/files/bulk-downloads/index.html?prefix=bulk-downloads/2016/
image

@jenniferthibault
Copy link
Contributor Author

Thanks @PaulClark2 that accounts for 1/2, but what about the data catalog downloads? Using this as an example, we're looking for the Administrative Fine data that will download as .CVS files (Also relevant to https://github.com/18F/fec-cms/issues/1400 )

@jenniferthibault
Copy link
Contributor Author

jenniferthibault commented Nov 3, 2017

Following up from a quick check with Paul on slack, the data catalog data lives here:
https://www.fec.gov/files/bulk-downloads/index.html?prefix=bulk-downloads/data.fec.gov/

I'll try to work links into the content documents, which will help for all of these implementation issues

@jenniferthibault
Copy link
Contributor Author

jenniferthibault commented Nov 6, 2017

@rhoughfec and I just paired through implementing this (and it was awesome).

Now live and available for download:

Closing 🎉

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

No branches or pull requests

4 participants