Using the search box
The search box at the top of the screen lets you search for information across all of Enigma Public’s collections and datasets.
Type the term you want to locate into the main search box and press Enter to begin your search. The search function is not case sensitive.
If you want to search within a specific collection, enter the collection name in the second field. Matching collection names are displayed as you type, and you can pick the one you want from the list. You must still enter a search term in the first field. Searches within a collection return only datasets and collections within that collection.
In the example above, we used the search term “federal reserve” (without the quotes), which means find matches that include the word “federal” AND the word “reserve” within:
- The metadata for all collections and datasets (both words must appear within the collection metadata or within the dataset metadata)
- Each data record (row) within each dataset (both words must appear within the same row)
If you want to search just the metadata or just the data records, click the folder button and choose the option you want.
|For information on how datasets, collections, and metadata are organized, see How information is organized. For information about the use of logical operators and other query modifiers, see Advanced searching. For information on locating specific information, see Constructing effective search queries.|
The search results for “federal reserve” are displayed below.
These results indicate that:
There are 2,186 datasets that include one or both of the following:
- Both “federal” and “reserve” in the metadata (for example, in the dataset description or the column headings)
- At least one row in the data snapshot with the words “federal” and “reserve”
There are five collections with the words “federal” and “reserve” in the collection metadata. Click the COLLECTION RESULTS tab to view the matching collections.
The first dataset includes both words in the dataset’s description (you can see them in the snippet that’s displayed). The description for the second dataset does not include either of the words, but the dataset is included because there are matches within the data records.
The first dataset has 153,163 rows that include both words, and six metadata hits.
The second dataset has 16,028 rows that include both words, but no metadata hits. Datasets are typically ordered based on a combination of dataset hits and metadata hits, although there are other factors that can influence the ranking.
If you change the search context or use a collection name to narrow the search, the results update automatically.
Displaying matching data records
Typically when you search, you’re seeking data records that match your search criteria. If this is the case, look for datasets in the search results where the number of data hits ( and in the example above) is greater than zero.
To view the matching data records (“hits”):
- Move the pointer over the row for the dataset you want to examine. You’ll see a View Dataset button appear at the right of the row.
Click the View Dataset button to view the results in the data viewer.
The data viewer displays the rows in the selected dataset that match the search criteria.
You can scroll vertically through the matching rows and horizontally across the available columns. The filter field at the top indicates the total number of matching rows and the search criteria.
There are various ways to narrow down your search and sort the results within the viewer. For information, see Viewing a dataset.
The search box supports a number of special characters for creating advanced searches. Terms used in advanced searches are not case sensitive.
+ is the AND operator. This is the default operator when you specify multiple terms in your search query. Use this to locate data records and metadata that include all the specified terms. This example searches for records that include the word “federal” AND the word “reserve.”
federal + reserve
| is the OR operator. Use this to locate data records and metadata that include either term (or both terms). This example searches for records with the word “federal” OR the word “reserve” (or both):
federal | reserve
- is the NOT operator. Use this to exclude results that contain a specific word. This example locates records that include the word “federal” but NOT the word “reserve”:
" " (Phrase)
" " indicates a phrase. Use this to locate records and metadata that contain an exact match (except for case) with whatever you put between the quotation marks. This example locates records that include the phrase “federal reserve” (or variants like “Federal Reserve”) within a single field:
* at the end of a term indicates a prefix query. It is like a wildcard character, except that you can use it only at the end of a string. This example locates records that include words that begin with “fed,” like “federal” and “federation”:
~n (Fuzzy matching)
~n, where n is an integer specifying the degree of closeness, lets you locate non-exact matches.
~1 signifies “within one character of,” so
advisor~1 matches both advisor and adviser. Similarly,
sulfur~2 matches both