search
Description
Examples
Search for HaverView Variables
Create a HaverView™ connection using a valid authentication token and database name. In this
example, replace 681b61cf-dc7d-4698-a168-74c79b0c1a04
with your
authentication token and replace USECON
with the name of your
database.
token = "681b61cf-dc7d-4698-a168-74c79b0c1a04"; databasename = "USECON"; c = haverview(token,databasename)
c = haverview with properties: DatabaseName: "USECON" TimeOut: 200.00
In this example, replace Boston
with your own query string.
queryString = "Boston";
[data,response] = search(c,queryString)
data = 1x5 table count pages next prev data _____ _____ ____________ __________________________ ____________ 23.00 1.00 {0x0 double} {'/v2/data/search?page=0'} {23x6 table} response = ResponseMessage with properties: StatusLine: 'HTTP/1.1 200 OK' StatusCode: OK Header: [1×8 matlab.net.http.HeaderField] Body: [1×1 matlab.net.http.MessageBody] Completed: 0
Input Arguments
c
— HaverView connection
haverview
object
HaverView connection, specified as a haverview
object.
queryString
— Query string
character vector | string scalar
Query string to search for matches in variable descriptions, specified as a character vector or string scalar.
Output Arguments
data
— Request data
table
Request data for the specified query string, returned as a table.
response
— HTTP request response
ResponseMessage
object
HTTP request response, returned as a ResponseMessage
object. For
details, see matlab.net.http.ResponseMessage
.
Version History
Introduced in R2024a
See Also
haverview
| databases
| fetch
| info
| series
| recessions
| currencies
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)