report 140213
TRANSCRIPT
Report 20140213
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Taiwan License.
Presenter: Cheng-Jen Lee (Sol)
Email: u10313335 AT citi.sinica.edu.tw
Feb 27, 2014 2
Agenda● Controlled Vocabulary● Access Control● Miscellaneous
Feb 27, 2014 3
Controlled Vocabulary● Using CKAN's Tag Vocabularies● List with suggest results● Demo
Feb 27, 2014 4
Controlled Vocabulary
Feb 27, 2014 5
Controlled Vocabulary
Feb 27, 2014 6
Controlled Vocabulary
Feb 27, 2014 7
Controlled Vocabulary● Strict tag name validator
– must be alphanumeric characters or symbols: -_.']
– Tag with single word ex. 石– Tag with symbols ex. (, [, 「– Duplicate words: "林仔尾腳", "西港仔街"– Solved by omitting the validation
● Tainan place names: 4,687 places– Takes more than 20 secs to show
Feb 27, 2014 8
Access Control● Three Roles of an Organization
– Admin– Editor– User
Feb 27, 2014 9
Access Control● Admin
– View the organization’s private datasets– Add new datasets to the organization– Edit or delete any of the organization’s
datasets– Make datasets public or private– Manage users (add, change roles, remove)– Edit and remove the organization itself
Feb 27, 2014 10
Access Control
View the organization’s private datasets(Under the organization, not 'dataset')
Feb 27, 2014 11
Access Control
Edit or delete any of the organization’s datasets
Feb 27, 2014 12
Access Control● Editor:
– View the organization’s private datasets– Add new datasets to the organization– Edit or delete any of the organization’s
datasets● Member:
– View the organization’s private datasets
Feb 27, 2014 13
Access Control● Other facts:
– Organizations can be seen without login
Feb 27, 2014 14
Access Control● Other facts:
– Datasets which do not belong to any organization
● Can be only private● And be seen under user's profile
Feb 27, 2014 15
Access Control● Other facts:
– Private datasets can be searched– Only after its owner (org's user) has
loggedPrivate datasets can be searchedunder organizations
Feb 27, 2014 16
Miscellaneous● About search
– Tags, tag vocabularies, context, metadata– shp search?
● NO. (ckanext-spatial uses postgis for spatial column search)
Feb 27, 2014 17
Miscellaneous● Extension 'datastore':
– Search structured data (csv, json) via API call
– Extension 'datapusher' (since CKAN 2.2): auto generates structured data
Feb 27, 2014 18
Miscellaneous● Demo
Feb 27, 2014 19
Miscellaneous
Datapusher
Feb 27, 2014 20
Miscellaneous● Organization: +人社中心● Extension 'stats':
– YOURDOMAIN/stats– Some statistics of CKAN instance
Feb 27, 2014 21
Thanks for your attention!