dnb_advanced {rdnb} | R Documentation |
Search the DNB catalogue - advanced search
Description
dnb_search
exposes a search in the DNB catalogue, expressed in the DNB query language.
Usage
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 |
clean |
if |
print |
if |
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.
Examples
## 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)
[Package rdnb version 0.1-5 Index]