Skip to content

krabina/DCAT-AP.de-to-CSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCAT-AP.de to CSV

this little PHP script can consume DCAT-AP.de metadata from a CKAN open data portal and convert them to csv.

requirements

  1. php >= 5.6
  2. composer https://getcomposer.org/

install

  1. Clone / Download Repository
  2. Run composer install

usage

To start the console run: php start.php

commands

get:packages

Downloads all available package meta data from https://open.nrw/api/3/action/current_package_list_with_resources

get:packages -m 5

Same as above, but limited to max. 5 packages

get:packages -h

Display all options for get:packages (there is also a limit and offset option)

Main package information is written to

  • output/packages.csv

Group and tag information is available in

  • output/groups.csv
  • output/tags.csv

limitations

Currently, it is only possible to comsume data from Open.NRW as the link to the CKAN API is hardcoded.

acknowledgement

This work was funded by Bertelsmann Stiftung. The code was written by Interactives Markus Wallisch.

About

converting DCAT-AP.de metadata consumed via CKAN to CSV

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages