I'm trying to export all data from CKAN instances for a big data project. How can I do this?
and how can i get all of its data ?– MootazJun 3, 2016 at 8:23
What do you mean all of its data? Do you have access to that CKAN instance? Do you want only the files or you also want the metadata?– Alex PalcuieJun 6, 2016 at 10:14
@AlexPalcuie, the metadata, the csv and xml files as well– MootazJun 7, 2016 at 14:36
all data from every ckan instance, or all from one instance? if its one instance, which is it? @ojdo's answer is pretty informative– albertJun 9, 2016 at 18:23
also some harvesters are in here: github.com/opendatamonitor– UlrichJun 13, 2016 at 15:56
Did you have a look at CKAN's extensive API documentation? To get you started, look at the answer to related question How do I get a full list of datasets available on Data.Gov using the CKAN API? and its example of using
Once you have a list of dataset IDs, you can get their metadata using the
package_show API function.
url field sometimes contains directly downloadable files, sometimes they seem link to data provider pages which might need some individual handling (i.e. coding). But only restricting batch download to recognised filetypes (e.g.
*.csv) should get you pretty far already.