ckanapi
ckanapi copied to clipboard
A command line interface and Python module for accessing the CKAN Action API
--insecure does not work. ckanapi version 4.7 sample command ckanapi load organizations -I organizations.jsonl.gz -z -p 10 -r https://internal-url -a mykey --insecure error==== Traceback (most recent call last): File "/usr/local/bin/ckanapi",...
Hi, I would like to emulate this browser query ([`fq=maintainer:Comune\%20di\%20Arezzo`](https://bit.ly/3M7J1r0)) in the shell. It works in the browser, but if I run ``` ckanapi -r https://dati.gov.it/opendata/ search datasets fq='(maintainer:"Comune\ di\...
It is not possible to load dataset resources if these resources are private. I added a new option to specify the APIKEY for the source CKAN instance. Fix #176.
Hi @wardi. Happy New Year! I adapted @hvwaldow's old streaming uploads PR (#109), and can confirm it works like a charm! Exercised it heavily with multi-gigabyte uploads both from the...
A minor thing, but I really like to use the action shortcut and sometimes you need to tinker with the requests kwargs
This address issue #98
Apparently random data are uploaded (strange symbols and such). Could it be an encoding error? I am using Python 3.8.
Is there a good reference or a ckanapi function on how to read datasets from a CKAN instance into pandas and/or dask and/or xarray? Pandas - ``pandas.read_json("https://url.to/dataset.json")`` - https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#json -...
How do I use the new CKAN 2.9 function package_revise? Currently to do a resource update with file upload, I can do something like: ```python file = open('/tmp/datafile.xlsx', 'rb') files...
Not all sites use 'X-CKAN-API-Key' for auth, this allows flexibility with respect to API headers.