For CKAN purposes, data is published in units called “datasets”. A dataset is a parcel of data - for example, it could be the crime statistics for a region, the spending figures for a government department, or temperature readings from various weather stations. When users search for data, the search results they see will be individual datasets.
A dataset contains two things:
On the Datahub 2 different types of datasets are currently stored/administered:
CKAN users can register user accounts and log in. Login is not needed to search for and find data, but is needed for all publishing functions: datasets can be created, edited, etc by users with the appropriate permissions.
In the particular case of the OD Mekongs's CKAN instance, every user must belong to an existing organization in order to be able to upload datasets. After registering, users have to contact the administrator of the Organization they want to belong to in order to get the appropriate permissions assigned. Please refer to Collaborating Organizations for the contact information of the different Administrators. The administrators will assign permissions within 12 hours.
Users can get following roles assigned within an Organization:
All datasets uploaded to the CKAN must belong to an organisation. In order to avoid incorrect or non-valid information to be published and exposed on the platform following Review Process has been implemented:
Each organisation will have at least one user with the Admin role (odmcambodia, odmcadmin, odmlaos, odmthailand, odmvietnam, odmmyanmar) and several editors.
Note: a more sophisticated workflow for review, approval and dialogue on disputed datasets is currently being developed by ODI. This guide will be updated once it is finalised.
To create a user ID, use the “Register” link at the top of any page. CKAN will ask for the following:
If there are problems with any of the fields, CKAN will tell you the problem and enable you to correct it. When the fields are filled in correctly, CKAN will create your user account and automatically log you in.
You can change the information that CKAN holds about you, including what other users see about you by editing your user profile. (Users are most likely to see your profile when you edit a dataset or upload data to an organization that they are following.) To do this, select the gearwheel symbol at the top of any page.
CKAN displays the user settings page. Here you can change:
Make the changes you require and then select the “Update Profile” button.
Once registered, the new user needs to be assigned to an Organization before being able to add datasets to the platform. For that, the user needs to contact an Administrator and request Editor/Admin permissions within the organization via email.
Note: A new communications system within CKAN is currently being developed by ODI. This guidewill be updated once that is finalised, but currently external communications such as email or Skype are recommended to complete this process.
In order for Users to be able to upload datasets, they need first to be assigned to a organization by an Admin. This can be done as follows:
After logging with administrator credentials for the corresponding Organization. Admin user can head to the page of the organization (in this example OD Cambodia).
By clicking the Manage button and then the members tab, a screen appears where users belonging to the organization and their roles are listed. By clicking the Add Member button, the Admin can specify a username and assign it a role (most of the times the Editor role will be selected).
Users should be notified about their new Role so they can begin uploading content.
Note: You need to be a member of an organization in order to add and edit datsets. See the section Creating an organization below. Also, before adding a dataset or library item to CKAN, please search its title to see if it already exists in the system. If so, please compare your document to the version previously archived. If you have an update or newer edition, please add it to the existing record rather than creating a new one. See Step 3: Add resources below.
You can access CKAN’s “Create dataset” screen in two ways:
There are 6 tabs for the categories of MetaData:
Description Temporal Spatial DataQuality Contact Management
The tabs appear on the left hand side of the form.
This field can only contain alphanumeric characters or symbols: -_. This means that no Thai, Vietnamese, Lao, Chinese or Burmese characters are allowed. Please use English.
This field can only contain alphanumeric characters or symbols: -_. This means that no Thai, Vietnamese, Lao, Chinese or Burmese characters are allowed. Please use English.
The remainder of the forms contain fields in ODI's Metadata template. These are designed to allow as descriptive metadata as possible to maximise the usability of the data and clearly describe any limitations. Not all fields will be applicable to all datasets, but fields marked with a “*” are mandatory. Please see a detailed description of all fields and their usage at the ODI Metadata template page.
When you have filled in the information on this page, select the “Next: Add Data” button. (Alternatively select “Cancel” to discard the information filled in.)
This is where you will add one or more “resources” which contain the data for this dataset. Choose a file or link for your data resource and select the appropriate choice at the top of the screen:
Add the other information on the page. CKAN does not require this information, but it is good practice to add it:
If you have more resources (files or links) to add to the dataset, select the “Save & add another” button. When you have finished adding resources, select “Finish”.
Select the ‘Finish’ button. CKAN creates the dataset and shows you the result. You have finished!
You should be able to find your dataset by typing the title, or some relevant words from the description, into the search box on any page in your CKAN instance.
User with Editor role can only create datasets marked as private, in order for them to be published, users need to contact the Organization's administrator and request their publication. In future this will be automated, but please contact the administrator until that module is complete.
Datasets are categorized in different groups depending on the nature of the information. On http://data.opendevelopmentmekong.net/group, the current list of groups can be seen.
In order to add our newly created dataset into a group, let's say Maps, we have to click on the title of our dataset so the detail page gets opened and there, we have to select the groups tab which shows us in which groups the datasets is already added and gives us the possibility to assign this dataset to another group.