CreateSearchQuery {MacrobondAPI} | R Documentation |
Create a search query object that can be modified by settings filters and then used with Search
to perform a search for entities in the database.
This method is only available if you run Macrobond app 1.23 or later and have a Data Scientist license.
CreateSearchQuery()
An object of type SearchQuery
.
Search
SearchQuery
SearchResult
SearchByConcept
# Search for time series, including discontinued, that are seasonally adjusted, belongs to the region us or de and matches the free text 'steel production' query <- CreateSearchQuery() setIncludeDiscontinued(query, TRUE) setEntityTypeFilter(query, "TimeSeries") setSearchText(query, "steel production") addAttributeFilter(query, "SeasonAdj") addAttributeValueFilter(query, "Region", c("us", "de")) entities <- getEntities(Search(query))