get_metadata: Get the metadata from the solr backends from a selection of...

Description Usage Arguments Value

Description

Get the metadata from the solr backends from a selection of urls

Usage

1
2
3
get_metadata(urls, fields = c("id", "url", "naked_titre"),
  sleep_time = 0.05, step = 500,
  backend = "http://147.94.102.65:8983/solr/documents/select")

Arguments

urls

a vector of urls

fields

the fields to get (vector)

sleep_time

how long (in seconds) the function should wait before two API calls. Be gentle to the backend!

step

how many values should be sent to the API at once (an integer). Advised value is 500; choosing a higher value may lead to getting errors 400.

backend

the solr backend

Value

a tibble, with as many rows as there are elements in urls.


joelgombin/detectR documentation built on May 21, 2019, 7:55 a.m.