dnb_advanced: Search the DNB catalogue - advanced search

Description Usage Arguments Details Value Source Examples

View source: R/gets.R

Description

dnb_search exposes a search in the DNB catalogue, expressed in the DNB query language.

Usage

1
dnb_advanced(query, limit = 10, clean = TRUE, print = FALSE)

Arguments

query

the search query, expressed in the DNB query language; single string value.

limit

number and (optional) starting point of results returned; single integer value (number of results), vector of two integer values (number of results and first result, >=1) or "all" for a complete list of results.

clean

if TRUE (the default), the results are cleaned (see below for details).

print

if TRUE the search results are printed (default is FALSE).

Details

Cleaning of results

To harmonise the results, some clutter is deleted and abbreviations frequently used in the dnb catalogue are replaced by full words. Here is a list of all replacements:

Variable Searched Replaced by
complete dataset \u0098 [deleted]
complete dataset \u009c [deleted]
complete dataset ,, ,
complete dataset .. .
complete dataset ;; ;
year [string] [numeric]
pages S. [deleted]
pages Seiten [deleted]
pages [ [deleted]
pages ] [deleted]
publisher Verl. Verlag
publisher verl. verlag
publisher [ [deleted]
publisher ] [deleted]
edition Aufl. Auflage
edition aufl. auflage
edition Orig. Original
edition Ed. Edition
edition ed. edition
edition Ausg. Ausgabe
edition ausg. ausgabe
edition Nachdr. Nachdruck
edition Bibliogr. Bibliografie
edition [ [deleted]
edition ] [deleted]
edition [x]., [x].
price kart. Kartoniert
price Gb. Gebunden
price Spiralb. Spiralbindung
price Pb. Paperback

Value

A data.frame of results with metadata.

Source

http://www.dnb.de/EN/Service/DigitaleDienste/SRU/sru_node.html

Examples

1
2
3
4
5
6
## Not run: 
# german books titled with 'cat' (male or female), 
# excluding titles containing dogs, since the year 2001
cats <- dnb_advanced("(tit=katze OR tit=kater NOT tit=hund) AND jhr>2000 AND mat=books AND spr=ger")

## End(Not run)

rdnb documentation built on Sept. 21, 2018, 6:28 p.m.