[ckan-dev] Tool to import mass data

David Read david.read at hackneyworkshop.com
Thu Oct 16 10:19:09 UTC 2014


Lucas,

Looks good.

To summarize for others, this is your JavaScript code:
https://github.com/nucleo-digital/ckan-csv-mass-import/blob/master/index.js

It reads the CSV, converts each dataset (etc) to a CKAN dictionary and
calls the API 'package_create'. Simple and effective!

I'm sure you'll remember, but don't forget to not publish your API key
like this when the site goes public ;-)

David


On 15 October 2014 23:22, Lucas Pirola <lucaspirola at gmail.com> wrote:
> Hi everyone,
>
> I'm new to this list, and I would like to share this tool I'm working on..
>
> It's a tool to import organizations, data sets and groups from cvs files to
> ckan through api. You only need to configure the api key and when you run
> the script, all the rest will be done- including connections between these
> entities, if described on csv.
>
> I searched for some tool that did that, but was unable to find it. Anyone
> tried something similar, or has any tips to share?
>
> Let's get to the code, then:
> https://github.com/nucleo-digital/ckan-csv-mass-import
>
> Feedback is appreciated, thanks in advance!
>
> --
> Lucas Pirola, Web developer
> http://nucleodigital.cc
> (011) 945 232 626
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list