Skip to content

Commit

Permalink
add euparliament tables
Browse files Browse the repository at this point in the history
  • Loading branch information
7mary4 committed May 8, 2011
1 parent 7eb23dd commit c1ac6af
Show file tree
Hide file tree
Showing 17 changed files with 474 additions and 0 deletions.
31 changes: 31 additions & 0 deletions euparliament/euparliament.council.country.xml
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all countries available">SELECT * FROM euparliament.council.country WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of votes from the UK.">SELECT * FROM euparliament.council.country WHERE id="24" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu.
These data are found at the website of the Council of the European Union.
Here the voting results of votes on legislative acts are made public. The first public voting results found are from 2006-08-01, the latest is from 2011-04-15.
In total 565 legislative acts are found and 15.099 votes has been cast. The original source is not easily machine-readable.
It contains each member state and a link to a list of their votes in Council.
</description>
</meta>
<bindings>
<!-- http://api.epdb.eu/council/country/?id=24 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/council/country/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- id (optional)
Get activity from a particular country -->
<key id="id" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
35 changes: 35 additions & 0 deletions euparliament/euparliament.council.document.xml
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all documents available">SELECT * FROM euparliament.council.document WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get information on document COM 1990/316.">SELECT * FROM euparliament.council.document WHERE id="2270" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu.
These data are found at the website of the Council of the European Union.
Here the voting results of votes on legislative acts are made public. The first public voting results found are from 2006-08-01, the latest is from 2011-04-15.
In total 565 legislative acts are found and 15.099 votes has been cast. The original source is not easily machine-readable.

It contains a list of all PreLex documents. For each document we have obtained information on the document number (most often COM-number),
the link to the PreLex file and a link to EUR-Lex, the DG responsible, the legal basis, the legislative procedure, the directory codes,
the title of the act, the responsible Commissioner, the dates of the different events in the legislative process.

</description>
</meta>
<bindings>
<!-- http://api.epdb.eu/council/document/?id=2270 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/council/document/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- id (optional)
Get details for a particular document -->
<key id="id" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
31 changes: 31 additions & 0 deletions euparliament/euparliament.council.year.xml
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all years available">SELECT * FROM euparliament.council.year WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of acts in a year.">SELECT * FROM euparliament.council.year WHERE year="1989" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu.
These data are found at the website of the Council of the European Union.
Here the voting results of votes on legislative acts are made public. The first public voting results found are from 2006-08-01, the latest is from 2011-04-15.
In total 565 legislative acts are found and 15.099 votes has been cast. The original source is not easily machine-readable.
It contains a list of years, the number of public votes from that year and a link to a list of the votes. You can also find documents for a particular year.
</description>
</meta>
<bindings>
<!-- http://api.epdb.eu/council/year/?y=2011 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/council/year/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- year (optional)
Get number of documents and links to a specific legal basis -->
<key id="y" as="year" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
26 changes: 26 additions & 0 deletions euparliament/euparliament.eurlex.author.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all authors">SELECT * FROM euparliament.eurlex.author WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of documents from the European Central Bank.">SELECT * FROM euparliament.eurlex.author WHERE author="European Central Bank" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. This API lists all authors and you can find legislations written by each author</description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/author/?author=European+Central+Bank -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/author/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="false" />
<!-- author (optional)
Get number of documents and links to those documents by author -->
<key id="author" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
26 changes: 26 additions & 0 deletions euparliament/euparliament.eurlex.directory.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all directory codes">SELECT * FROM euparliament.eurlex.directory WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of legislation for directory code 07.40.30.00.">SELECT * FROM euparliament.eurlex.directory WHERE dc="07.40.30.00" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. Enacted EU legislation is categorized by subject in different directory codes (sometimes called classification headings). This table can show you all directories or you can get all legislation for a particular directory code.</description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/directory_code/?dc=07.40.30.00 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/directory_code/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- dc (optional)
Get number of documents and links to those documents by author -->
<key id="dc" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
27 changes: 27 additions & 0 deletions euparliament/euparliament.eurlex.document.xml
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all documents available">SELECT * FROM euparliament.eurlex.document WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get information on document 200000">SELECT * FROM euparliament.eurlex.document WHERE id="200000" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. This API contains a list of all EUR-Lex documents.
For each document we have obtained information on the form, author, legal basis, directory codes, a reference to the original information at Eur-Lex, the date of the document, the date it was printed in the Official Journal of the European Union and the date of effect and of end of validity. </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/document/?id=200000 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/document/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- id (optional)
Get number of documents and links to a specific year -->
<key id="id" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
26 changes: 26 additions & 0 deletions euparliament/euparliament.eurlex.form.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all forms">SELECT * FROM euparliament.eurlex.form WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of legislation for directory code 07.40.30.00.">SELECT * FROM euparliament.eurlex.form WHERE form="Directive" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. This API lists the different forms of acts, the number of documents in each form and links to a list of these documents. The most well-know forms of EU acts are: Accord, Conclusions, Communication, Common Strategy, Directive, Financial Regulation, Statute and Decision. </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/form/?form=Directive -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/form/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- form (optional)
Get number of documents and links to those documents by form type -->
<key id="form" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
26 changes: 26 additions & 0 deletions euparliament/euparliament.eurlex.legalbasis.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all legal bases">SELECT * FROM euparliament.eurlex.legalbasis WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of legislation refering to article 113 on the common commercial policy in the Treaty Establishing the European Community">SELECT * FROM euparliament.eurlex.legalbasis WHERE legal_basis="11992e113" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. contains a list of the different legal bases, the corresponding number of documents and a link to a list of these documents. You can also find all legislations that refer to a particular legal basis. </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/legal_basis/?legal_basis=11992e113 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/legal_basis/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- legal_basis (optional)
Get number of documents and links to a specific legal basis -->
<key id="legal_basis" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
26 changes: 26 additions & 0 deletions euparliament/euparliament.eurlex.year.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all years available">SELECT * FROM euparliament.eurlex.year WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of legislation from 1989">SELECT * FROM euparliament.eurlex.year WHERE year="1989" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. This API contains a list of years, the number of documents with a date from that year and a link to a list of the documents. You can also get the documents from a particular year. </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/eurlex/year/?year=1989 -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/eurlex/year/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- year (optional)
Get number of documents and links to a specific year -->
<key id="year" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
28 changes: 28 additions & 0 deletions euparliament/euparliament.prelex.commissioner.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all commissioners">SELECT * FROM euparliament.prelex.commissioner WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of acts by Neelie Kroes the Commissioner for Digital Agenda.">SELECT * FROM euparliament.prelex.commissioner WHERE c="Neelie Kroes" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu.
This part of the API consist of 30.567 documents found using the PreLex search engine. Each dossier has been parsed to extract the meta data given in the API. The earliest dated document is from 1975-05-26. The newest document is dated 2011-04-19.
It contains a list of the documents grouped by the responsible Commissioner. </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/prelex/commissioner/?c=Neelie+Kroes -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/prelex/commissioner/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- c (optional)
Get number of documents and links to a specific legal basis -->
<key id="c" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>
28 changes: 28 additions & 0 deletions euparliament/euparliament.prelex.dgresponsible.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any" https="false">
<meta>
<author>Ted Drake, Yahoo! Inc.</author>
<documentationURL>http://api.epdb.eu/#doc</documentationURL>
<sampleQuery description="Get list of all Directorate Generals">SELECT * FROM euparliament.prelex.dgresponsible WHERE key="yourkey"</sampleQuery>
<sampleQuery description="Get list of acts by DG Environment">SELECT * FROM euparliament.prelex.dgresponsible WHERE dg="DG+Environment" AND key="yourkey"</sampleQuery>
<description>Please request a unique API key from contact@buhlrasmussen.eu. This part of the API consist of 30.567 documents found using the PreLex search engine. Each dossier has been parsed to extract the meta data given in the API. The earliest dated document is from 1975-05-26. The newest document is dated 2011-04-19.

It contains a list of documents grouped by the responsible Directorate General in the European Commission. You can also get a list of documents for a particular Directorate General </description>
</meta>
<bindings>
<!-- http://api.epdb.eu/prelex/dg_responsible/?dg=DG+Environment -->
<select produces="JSON">
<urls>
<url>http://api.epdb.eu/prelex/dg_responsible/</url>
</urls>
<inputs>
<!-- key (required) Please request a unique API key from contact@buhlrasmussen.eu. -->
<key id="key" type="xs:string" paramType="query" required="true" />
<!-- dg (optional)
Get number of documents for a DG -->
<key id="dg" type="xs:string" paramType="query" required="false" />
</inputs>
</select>

</bindings>
</table>

0 comments on commit c1ac6af

Please sign in to comment.