Description Usage Arguments Value
This function is similar to using the 'show article list' function in AmCAT. It allows you to specify a number of queries and get document metadata and number of hits per document
1 2 3 4 5 6 7 8 9 | amcat.hits(
conn,
queries,
labels = queries,
sets,
minimal = T,
warn.no.result = T,
...
)
|
conn |
the connection object from |
queries |
a vector of queries to run |
labels |
if given, labels corresponding to the queries. Alternatively, if a query starts with a label and a hashtag (e.g., label# "term1 term2"), this label is used. |
sets |
one or more article set ids to query on |
... |
additional arguments to pass to the AmCAT API, e.g. extra filters |
A data frame with hits per article
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.