Questions tagged [query]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
0answers
175 views

Unix-like reference to parent and root Association?

Is there a syntax or function to reference parent and root when querying nested Associations similar to Unix' ".." and "/", eg "cd ../../mydir". ? Here's a typical application of the root construct....
4
votes
0answers
106 views

How to get parent key in Query on Association/Dataset?

Is there a general and terse method to obtain the parent key of the current "position" in a Query of an Association/...
3
votes
0answers
65 views

Aligning input form of a sequence of Queries

Is there a way to modify the parser, or define options, to align the indentation of a sequence of Queries on a Dataset? Given: ds = <|"a" -> 1, "b" -> <|"c" -> 2|>, "d" -> <|"e" -> 3, "f" ...
2
votes
0answers
56 views

Is there a documented meaning for the following Query syntax?

Consider this example: ...
2
votes
0answers
71 views

Efficiently get positions of Query results

I have some very large Datasets. Is there any efficient method of getting the positions of results found in a Query? That is, without using ...
2
votes
0answers
36 views

Keyed eigensystem for nested Association

Suppose a matrix is given where both rows and columns are keyed, for example this correlation matrix: ...
0
votes
0answers
28 views

DatabaseFailure when performing a query to PostgreSQL database

I need to retrieve data from a postgresql database. When I create the connection and I try to perform a simple select, it works: ...
0
votes
0answers
47 views

How to search exact product title with ServiceExecute

I am trying to find the exact product title having phrase "HEPA filter bags" on "amazon.com" but it doesn't return the correct result. ...
0
votes
0answers
60 views

Transforming a time-series Dataset

I am trying to perform some analysis on a Dataset instance but my 28K queries involve a Select[#MAC==mac&] over the whole ...
0
votes
0answers
17 views

How to specify authenticity of SSL for querying APIs?

While ago I was using this command with no issue, now I have an SSL error: ...
0
votes
0answers
31 views

Can the following operation be performed in a single query without using explicit Maps or nesting Queries?

Is there a way to include the function StringPosition["e"] inside the Query in the following: ...