Database on Official Record of Proceedings
This data set contains the official records of proceedings of the Legislative Council since the Fifth Legislative Council (2012-2016).
The information can be obtained in the form of open data via web application programming interface (API) as described in this page.
Usage tips of Web Application Programming Interface (API)
Note:
When Chinese characters are used in a web api command, please perform
URL encoding for it first, or use a browser such as Chrome that can encode Chinese characters automatically.
The web api provides the following information:
- Hansard (Official records of the proceedings of the Legislative Council)
- Sections (Meeting sections)
- Subjects (Subjects under discussion)
- Speakers (President, Members or designated public officers that make the speech)
- Rundown (Agenda of the Council meeting)
- Questions (Questions to the Government)
- Bills (Government bills or Members' bills)
- Motions (Government motions or Members' motions)
- Petitions (Presentation of petitions)
- Addresses (Addresses by the Chief Executive, Members or designated public officers)
- Statements (Statements by designated public officers)
- VotingResults (Decision on motions or questions put to the Council or Committee of the Whole Council)
- SummoningBells (Bells that summon Members when a quorum is not present)
Corresponding to the above information, the open data web api can be run at:
To get the meta data schema of the dataset, please run the following:
The following query string options can be applied:
- $format - specify whether the data to be returned in json or xml format, e.g. $format=json
- $top=N - select only the first N entries of the set, where N is a positive integer, e.g. $top=10
- $skip=N - select only the remaining entries (starting with Entry N+1) where N is a positive integer, e.g. $skip=10
- $orderby - what values are used to order the retrieved data, e.g. $orderby=MeetingDate
- $select - select specific fields to be returned, e.g. $select=MeetingDate,SubjectName,MemberName,HansardFileURL
- $filter - select specific entries according to provided conditions, e.g. $filter=substringof('Council Meeting',SubjectName) eq true
- $inlinecount - specify "$inlinecount=allpages" to include the total number of records in the returned data
- $expand - link up data
For available operators and functions to be used with $filter option, please refer to the documentation of the
Open Data Protocol.
The following examples illustrate some of the ways to retrieve data according to the Open Data Protocol.
Data Resources
Official records of proceedings of the Seventh Legislative Council
Official records of proceedings of the Sixth Legislative Council (2016 - 2021)