This function returns randomly sampled document IDs. It is intended for users who don't know what to look for, and it lets them explore and view the documents.

declass_query_random_ids(limit = 10)

Arguments

limit

The number of document IDs to be randomly sampled. Default setting is 10 ids. Maximum is set to be 1024, so as not to crash the API server.

Value

Document IDs.

Examples

declass_query_random_ids(32)
#> id #> 1 1977CAIRO04947 #> 2 1979BAGHDA00736 #> 3 1975BRASIL A-82 #> 4 1976BANGKO29278 #> 5 CAB_129_204_23_0001 #> 6 Clinton-41346 #> 7 1979ROME34357 #> 8 1979DAMASC04363 #> 9 1974ATO02073 #> 10 1979TAIPEI00723_2 #> 11 1976BANGKO27830 #> 12 1976LUSAKA00946 #> 13 1974LOUREN A-105 #> 14 P760101-0988 #> 15 1975STATE303796 #> 16 1974MEDELL00102 #> 17 1978HONGK09227 #> 18 1977NAIROB12182 #> 19 1978BANGKO34945 #> 20 1976STATE A-5094 #> 21 frus1944v01d192 #> 22 P780155-1411 #> 23 1981010100268 #> 24 frus1952-54v14p1d369 #> 25 frus1969-76v35d90 #> 26 1977PRETOR00632 #> 27 1973SANTIA02871 #> 28 1976UDORN02387 #> 29 1975ACCRA01361 #> 30 1976LOME01574 #> 31 1978STATE192158 #> 32 1978PEKING03514
declass_query_random_ids(1100)
#> [1] "Limit exceeds the maximum 1024"