Description Usage Arguments Details Value Note Author(s) References Examples
Populates a database with entries from the online RIS (Austria).
1 | build_RIS_db(con, from=1, to=80000, new_table=TRUE)
|
con |
DBI connection object. |
from |
Lower bound for the download process. The number used is the same one as the identifier number on the homepage. |
to |
Upper bound for the download process. |
new_table |
When new\_table is set, the script (re-)creates the necessary database table, dropping any previously defined table of the same name. Default is TRUE. |
This function loads the RIS data from the RIS webpage into a (possibly local) mySQl database. To load all data, simply connect to the database and call build\_RIS\_db(con). It is also possible to downlaod smaller parts of the full db by using the to and from parameters.
The URL used for acccessing the rulings is http://ris.bka.gv.at/taweb-cgi/taweb?x=d&o=d&d=VwGHT&i=%d&v=vwgh (replace %d with the id of the ruling).
build\_RIS\_db returns nothing on success.
Make sure to set the encoding of your database connection to the encoding of your R locale, i.e. "latin1" or "UTF-8".
Martin Kober <martin.kober@wu-wien.ac.at>, Georg M. Zajko <georg.zajko@wu-wien.ac.at>
Austrian law information system http://www.ris.bka.gv.at/
1 2 3 4 5 | ## Not run:
con = dbConnect(...)
build_RIS_db(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.