publicbodies

10,916
0
Updated:
Files:11
Size:10.9 MB
Formats:csv
License:ODC-PDDL-1.0

A database of public bodies (or organizations): Examples are: Government Ministries or Departments State-run Health organizations Police and fire departments Visit the site: https://publicbod...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/publicbodies/
https://datahub.io/core/publicbodies/_r/-/.gitignore
CNAME
https://datahub.io/core/publicbodies/_r/-/CNAME
https://datahub.io/core/publicbodies/_r/-/FRESHNESS_CHECK.md
https://datahub.io/core/publicbodies/_r/-/LICENSE
https://datahub.io/core/publicbodies/_r/-/README.md
https://datahub.io/core/publicbodies/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/publicbodies/_r/-/data/br.csv
https://datahub.io/core/publicbodies/_r/-/data/ch.csv
https://datahub.io/core/publicbodies/_r/-/data/data-validation.yaml
https://datahub.io/core/publicbodies/_r/-/data/datapackage.json
https://datahub.io/core/publicbodies/_r/-/data/de.csv
https://datahub.io/core/publicbodies/_r/-/data/eu.csv
https://datahub.io/core/publicbodies/_r/-/data/gb.csv
https://datahub.io/core/publicbodies/_r/-/data/gr.csv
https://datahub.io/core/publicbodies/_r/-/data/it.csv
https://datahub.io/core/publicbodies/_r/-/data/np.csv
https://datahub.io/core/publicbodies/_r/-/data/nz.csv
https://datahub.io/core/publicbodies/_r/-/data/public-body-schema.json
https://datahub.io/core/publicbodies/_r/-/data/se.csv
https://datahub.io/core/publicbodies/_r/-/data/us.csv
https://datahub.io/core/publicbodies/_r/-/datapackage.json
https://datahub.io/core/publicbodies/_r/-/website/_config.yml
https://datahub.io/core/publicbodies/_r/-/website/_data/about-this-dir.txt
https://datahub.io/core/publicbodies/_r/-/website/_includes/footer.html
https://datahub.io/core/publicbodies/_r/-/website/_includes/head.html
https://datahub.io/core/publicbodies/_r/-/website/_includes/navbar.html
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/br.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/ch.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/de.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/eu.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/gb.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/gr.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/it.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/np.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/nz.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/se.md
https://datahub.io/core/publicbodies/_r/-/website/_jurisdictions/us.md
https://datahub.io/core/publicbodies/_r/-/website/_layouts/body.html
https://datahub.io/core/publicbodies/_r/-/website/_layouts/default.html
https://datahub.io/core/publicbodies/_r/-/website/_layouts/jurisdiction.html
https://datahub.io/core/publicbodies/_r/-/website/assets/font/FontAwesome.otf
https://datahub.io/core/publicbodies/_r/-/website/assets/font/fontawesome-webfont.eot
https://datahub.io/core/publicbodies/_r/-/website/assets/font/fontawesome-webfont.svg
https://datahub.io/core/publicbodies/_r/-/website/assets/font/fontawesome-webfont.ttf
https://datahub.io/core/publicbodies/_r/-/website/assets/font/fontawesome-webfont.woff
https://datahub.io/core/publicbodies/_r/-/website/assets/images/favicon.ico
https://datahub.io/core/publicbodies/_r/-/website/assets/images/logo-okl.png
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/accordion.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/alerts.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/bootstrap.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/breadcrumbs.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/button-groups.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/buttons.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/carousel.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/close.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/code.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/component-animations.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/dropdowns.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/forms.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/grid.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/hero-unit.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/labels-badges.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/layouts.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/media.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/mixins.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/modals.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/navbar.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/navs.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/pager.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/pagination.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/popovers.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/progress-bars.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/reset.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive-1200px-min.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive-767px-max.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive-768px-979px.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive-navbar.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive-utilities.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/responsive.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/scaffolding.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/sprites.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tables.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/buttons.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/css-tests.css
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/css-tests.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/forms-responsive.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/forms.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/navbar-fixed-top.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/navbar-static-top.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tests/navbar.html
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/thumbnails.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/tooltip.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/type.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/utilities.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/variables.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootstrap/wells.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/bootswatch.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/bootstrap.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/core.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/extras.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/font-awesome-ie7.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/font-awesome.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/icons.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/mixins.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/path.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/font-awesome/variables.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/publicbodies.css
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/publicbodies.less
https://datahub.io/core/publicbodies/_r/-/website/assets/stylesheets/variables.less
https://datahub.io/core/publicbodies/_r/-/website/index.md
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

data/datapackage.jsonmetadata & schema
https://datahub.io/core/publicbodies/_r/-/data/datapackage.json
README.mddocumentation
https://datahub.io/core/publicbodies/_r/-/README.md
Typical Usage
  1. 1. Fetch data/datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in data/datapackage.json
  3. 3. Read README.md for full context

Data Files

Explore with AI

br

Download

Download CSV

About

Last updated
5 July 2026
Total rows
...
Format
CSV
File size
407 kB
License
Open Data Commons Public Domain Dedication and License v1.0

ch

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
2.55 MB
License
Open Data Commons Public Domain Dedication and License v1.0

de

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
1.47 MB
License
Open Data Commons Public Domain Dedication and License v1.0

eu

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
14.5 kB
License
Open Data Commons Public Domain Dedication and License v1.0

gb

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
686 kB
License
Open Data Commons Public Domain Dedication and License v1.0

gr

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
296 kB
License
Open Data Commons Public Domain Dedication and License v1.0

it

Download

Download CSV

About

Last updated
5 July 2026
Total rows
...
Format
CSV
File size
5.06 MB
License
Open Data Commons Public Domain Dedication and License v1.0

np

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
229 kB
License
Open Data Commons Public Domain Dedication and License v1.0

nz

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
52.7 kB
License
Open Data Commons Public Domain Dedication and License v1.0

se

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
129 kB
License
Open Data Commons Public Domain Dedication and License v1.0

us

Download

Download CSV

About

Last updated
8 April 2026
Total rows
...
Format
CSV
File size
39.7 kB
License
Open Data Commons Public Domain Dedication and License v1.0

About this dataset

Public Bodies

A database of public bodies (or organizations):

Government-run or controlled organizations or entities which may or may not
have distinct corporate existence

Examples are:

  • Government Ministries or Departments
  • State-run Health organizations
  • Police and fire departments

Visit the site: https://publicbodies.org/

Data

Data is stored in CSVs partitioned by country or region (e.g. EU) in the data folder. Files are named by two-letter ISO code.

Contribute data

Please just add a CSV file and submit a pull request or open an issue.

The set of fields required in the CSV file can be seen in the field list on: public-body-schema.json. You can also check out the existing data in data/ for hints. To learn more about Data Packages, visit https://specs.frictionlessdata.io/.

If you can, developing a bot to automatically and periodically collect the data is even better.

For developers of the website

The website is a Jekyll site. To get it running locally:

  1. Install Docker.

  2. Get the code

    git clone https://github.com/okfn/publicbodies
    cd publicbodies
    
  3. Run Jekyll

    cd website
    export JEKYLL_VERSION=4.2.0
    docker run --rm --volume="$PWD:/srv/jekyll" -it jekyll/minimal:$JEKYLL_VERSION jekyll build --baseurl $PWD/_site/ --watch
    

    The built website will appear on the website/_site folder.

The list of outstanding issues is at: https://github.com/okfn/publicbodies/issues

For developers of data collector bots

Data is kept automatically up-to-date by bots that collect and update data once a week. The scripts are kept on the scripts/import directory, followed by the international place code (e.g. br for Brazil, it for Italy).

The script MUST be runnable from a command line interface. It should display the available options if run with the --help parameter, and output data to the file chosen by the --output parameter. For example:

python3 scripts/import/br/import_br.py --help
usage: import_br.py [-h] [--output file_name]

Imports Brazilian public body data from the official source and complements it
with data from several auxiliary sources. Official source: [SIORG's open data
API](https://dados.gov.br/dataset/siorg)

optional arguments:
  -h, --help          show this help message and exit
  --output file_name  filename for the data output as CSV

When making requests, bots MUST use the Public Bodies Bot user agent string to identify themselves to servers:

PublicBodiesBot (https://github.com/okfn/publicbodies)

If using Python, use the same libraries already defined in scrips/requirements.txt, in order to keep the project dependencies tidy, and only add new ones if strictly necessary.

After creating a new bot, make sure to add it to the update data workflow so that it runs regularly and keeps the data up-to-date.


Original preparation

Details of the automated data extraction to build the original database.

Data sources: