No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
data
README.md
loadsql.r
local_settings.tmpl

README.md

Installation

cp local_settings.tmpl local_settings
# edit local_settings
. local_settings
virtualenv pyenv
. pyenv/bin/activate
pip install ckanclient
pip install oursql

Usage

Loading datasets

cd data
../bin/get_tabular name-of-dataset $CKAN_API_KEY $CKAN_LOCATION
make

Using datasets

$ R
> source("loadsql.r")
> get_ds("name_of_sql_table")