Changes between Version 1 and Version 2 of Ticket #204


Ignore:
Timestamp:
12/07/09 13:10:55 (4 years ago)
Author:
dread
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #204 – Description

    v1 v2  
     1== As a == 
     2 
     3admin 
     4 
     5== I want to == 
     6 
     7input government data in a constrained way  
     8 
     9== so that == 
     10 
     11you get consistency in the db which is easily searched, discovered and automatically linked. 
     12 
     13== implementation == 
     14 
    115Form has fields suitable for government data. 
    216(related to custom excel importer ticket) 
    317 
    4 Each form schemas is made available (or not) in the pylons config, along with the default schema for new packages. If there is more than just the 'basic' schema available then the 'new package' form has at the top a drop-down to select the schema with a 'switch' button. This submits the form's current data and parameter schema=xyz and the form arrives back populated with the existing options. No data should be lost switching views. 
     18In pylons config specify the form schema to use - whether the existing one or the government one. 
    519 
    6 When you edit a package it detects the schema based on the extra fields that are present. 
    7  
    8 On submission, during validation, warn if a field isn't completed (unless it's optional - agency, maintainer, maintainer_email) 
     20'''On submission, during validation, warn if a field isn't completed (unless it's optional - agency, maintainer, maintainer_email)''' 
    921 
    1022=== Simple fields === 
    1123 
    12 name, title, notes, author, author_email, maintainer, maintainer_email, license (default OKFN Open::Crown Copyright), 
    13 co_id, precision, taxonomy url, agency 
    14  
    15 === Field data processed === 
    16  
    17  * tags - in addition to words entered here, search for known keywords in other fields: title, notes, department, agency, geographic coverage & categories. 
     24 * all basic ckan fields 
     25 * default license to OKD::Crown Copyright 
     26 * co_id, precision, taxonomy url, agency 
    1827 
    1928=== Date fields === 
     
    2332 * date_released 
    2433 
    25  * data_updated 
     34 * date_updated 
    2635 
    2736 * temporal_coverage_from, temporal_coverage_to - two date fields combined 
     
    3746Editable combo 
    3847 
    39  * update_frequency - selections: neverm weekly, monthly, annually, discontinued 
     48 * update_frequency - selections: never, weekly, monthly, annually, discontinued 
    4049 
    4150 * geographic_granularity - selections: national, regional, local authority, ward, point 
     
    5463 
    5564 * categories - multi values from strict selection of ONS categories. Stored as comma-separated. 
     65 
     66=== Field data processed === 
     67 
     68 * tags - in addition to words entered here, search for known keywords in other fields: title, notes, department, agency, geographic coverage & categories. 
     69 
     70 
     71=== Future - optional === 
     72 
     73Each form schemas is made available (or not) in the pylons config, along with the default schema for new packages. If there is more than just the 'basic' schema available then the 'new package' form has at the top a drop-down to select the schema with a 'switch' button. This submits the form's current data and parameter schema=xyz and the form arrives back populated with the existing options. No data should be lost switching views. 
     74 
     75When you edit a package it detects the schema based on the extra fields that are present. 
     76