Learn R Programming

sorvi (version 0.4.05)

GetOmakaupunki: Access Omakaupunki data

Description

Access Omakaupunki data through the API. Using the API requireds a password and an API key. For more details and API documentation see http://blogit.hs.fi/hsnext/omakaupungin-meno-ja-palvelutiedot-avoimena-rajapintana

Usage

GetOmakaupunki(query, login, password, api_key, ...)

Arguments

query
API query, e.g. "event" or "directory" (services)
login
Personal username (required)
password
Personal password (required)
api_key
Personal API key (required)
...
Additional parameters to the API (optional). See details from the API documentation The data is licensed under CC BY-NC-SA 3.0.

Value

  • List of results

Examples

Run this code
# event.categories <- GetOmakaupunki("event/categories", LOGIN, PASSWORD, API)

Run the code above in your browser using DataLab