Skip to content

CODEx-PPM/xbrl_to_CSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Companies House XBRL → CSV

A one-page Streamlit app that converts a Companies House bulk accounts ZIP file into a clean CSV.

Setup

pip install -r requirements.txt
streamlit run app.py

Then open http://localhost:8501 in your browser.

Usage

  1. Download a bulk accounts ZIP from http://download.companieshouse.gov.uk/en_accountsdata.html
  2. Upload it in the app
  3. Preview the parsed dataframe (38 columns, one row per financial fact)
  4. Optionally filter by company number or require certain fields to be non-null
  5. Download the CSV

Deploying publicly (optional)

The easiest option is Streamlit Community Cloud:

  1. Push this folder to a GitHub repo
  2. Connect it at share.streamlit.io
  3. Share the URL

Note: files up to ~200 MB can be uploaded via Streamlit Cloud. For larger files, run locally.

Data source

Companies House bulk accounts data — Open Government Licence v3.0
Parsing by stream-read-xbrl (UK Department for Business and Trade)

About

turn the xbrl coho files into a csv

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%