| SearchResult-class {MacrobondAPI} | R Documentation |
This class represents the result of a search query.
Objects are created by calling Search.
signature(object = "SearchResult"): Returned the list of entities that matched the search criteria.
signature(object = "SearchResult"): TRUE if the search resulted in too many hits and the list of entities is truncated.
Search
CreateSearchQuery
SearchQuery
Entity
# Search for time series that are the key GDP series for the regions US, GB and DE.
query <- CreateSearchQuery()
setEntityTypeFilter(query, "TimeSeries")
addAttributeValueFilter(query, "RegionKey", "gdp_total")
addAttributeValueFilter(query, "Region", c("us", "gb", "de"))
searchResult <- Search(query)