openPolandMeta: Shows meta information about a specific dataset.

Description Usage Arguments Value See Also Examples

Description

openPolandMeta returns a list with meta information of a specific dataset and prints it on the console in a readable form.

Usage

1
openPolandMeta(id = NULL, token = NULL, verbose = TRUE)

Arguments

id

A character string.

token

A characters string.

verbose

If TRUE prints meta info on the console and returns nothing. If FALSE doesn't print meta but returns it as a list object.

Value

If verbose = FALSE returns a list object with meta information about a selected dataset.

See Also

openPolandSearch for for searching database with a given query and openPolandData for downloading a selected dataset via openPoland API.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 

openPolandSearch("akad")
#     id                                     title
# 1 1836 Nauczyciele akademiccy (NTS-2, 1999-2012)

# token for API authorization
token = "[alpha-numeric-string-you-get-after-registration-on-https://openpoland.net]"

# print meta data on the console
openPolandMeta(id = 1836, token = token)

# don't print and return only list object
openPolandMeta(id = 1836, token = token, verbose = FALSE)


## End(Not run)

kalimu/openPoland documentation built on May 20, 2019, 6:32 a.m.