Initialize a request to the HAL API.

hal_api()

Value

An object of class HALQuery: a list containing at least the following components:

q

(default to "*:*").

fl

default to "docid" "label_s").

fq
sort
rows

(default to 30).

start

(default to 0).

wt

(default to "json").

Examples

hal_api()
#> $q
#> [1] "*:*"
#> 
#> $fl
#> [1] "docid"   "label_s"
#> 
#> $fq
#> NULL
#> 
#> $sort
#> NULL
#> 
#> $rows
#> [1] 30
#> 
#> $start
#> [1] 0
#> 
#> $wt
#> [1] "json"
#> 
#> attr(,"class")
#> [1] "list"     "HALQuery"