All Projects → okfn → publicbodies

okfn / publicbodies

Licence: MIT license
A database of public bodies such as government departments, ministries etc.

Programming Languages

Less
1899 projects
CSS
56736 projects
HTML
75241 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
Pug
443 projects

Projects that are alternatives of or similar to publicbodies

data.gouv.fr
Ce dépôt rassemble les tickets techniques qui portent sur data.gouv.fr.
Stars: ✭ 50 (-10.71%)
Mutual labels:  open-government, open-data
us-house
117th United States House of Representatives - Contact Information, including: Phone Number, Mailing Address, Official Website, Twitter & Facebook Accounts.
Stars: ✭ 31 (-44.64%)
Mutual labels:  open-government, open-data
visualization-tool
The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
Stars: ✭ 20 (-64.29%)
Mutual labels:  open-government, open-data
cia
Citizen Intelligence Agency, open-source intelligence (OSINT) project
Stars: ✭ 79 (+41.07%)
Mutual labels:  open-data, ministries
open-bus
🚌 Analysing Israel's public transport data
Stars: ✭ 65 (+16.07%)
Mutual labels:  open-data
mobile-app
This project aims to build a modern mobile web-app based on the framework Ionic to improve the functionality of http://mobile.leitstelle122.at/.
Stars: ✭ 22 (-60.71%)
Mutual labels:  fire
opendata
Finland national open data portal (avoindata.fi) source code.
Stars: ✭ 27 (-51.79%)
Mutual labels:  open-data
licenses
Open source and open knowledge (data and content) licenses together with API and web service.
Stars: ✭ 62 (+10.71%)
Mutual labels:  open-data
YALC
🕸 YALC: Yet Another LOD Cloud (registry of Linked Open Datasets).
Stars: ✭ 14 (-75%)
Mutual labels:  open-data
odufrn-downloader
Pacote para baixar os dados do portal de dados abertos da UFRN
Stars: ✭ 31 (-44.64%)
Mutual labels:  open-data
restatapi
An R package to search and retrieve data from Eurostat database using SDMX
Stars: ✭ 14 (-75%)
Mutual labels:  open-data
CASS
Competency and Skills System
Stars: ✭ 42 (-25%)
Mutual labels:  open-data
Open-Data-Portaal
GitHub van het officiële Open Data Portaal van de Tweede Kamer der Staten-Generaal.
Stars: ✭ 39 (-30.36%)
Mutual labels:  open-data
linkedresearch.org
🌐 linkedresearch.org
Stars: ✭ 32 (-42.86%)
Mutual labels:  open-data
osd-building-footprints
Open source release of building footprints in Chicago.
Stars: ✭ 61 (+8.93%)
Mutual labels:  open-data
wetterdienst
Open weather data for humans
Stars: ✭ 190 (+239.29%)
Mutual labels:  open-data
awesome-utrecht-university
A curated list of awesome open source projects from Utrecht University.
Stars: ✭ 31 (-44.64%)
Mutual labels:  open-data
dre
O projecto agora reside no GitLab
Stars: ✭ 20 (-64.29%)
Mutual labels:  open-data
Transform-to-Open-Science
Transformation to Open Science
Stars: ✭ 268 (+378.57%)
Mutual labels:  open-data
transparencia-dados-abertos-brasil
A survey of Brazilian states' and municipalities' transparency and open data portals, as well as institutional websites, obtained from several public data sources. 🇧🇷 Levantamento de portais estaduais e municipais de transparência e dados abertos, bem como os portais institucionais, obtido a partir de diversas fontes públicas de dados.
Stars: ✭ 46 (-17.86%)
Mutual labels:  open-data

Data

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 node webapp. To get it running:

  1. Install node and npm (>= 12). Alternatively, install Docker.

  2. Get the code

    git clone https://github.com/okfn/publicbodies
  3. Install the dependencies (make sure you are in the publicbodies directory)

    npm install .

    If you're using Docker, build the container instead:

    docker build --rm -t publicbodies .

    If you are building a development environment, please use:

    docker build --rm -t publicbodies . --build-arg NODE_ENV=development

    so that you can get debugging information.

  4. Run the webapp:

    node index.js

    If you're using Docker, start the container instead:

    docker run --rm --name publicbodies -p 3000:3000 -it publicbodies node index.js

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:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].