[tw5] Re: Sorting or restricting a list filter by index

2019-09-09 Thread 'Mark S.' via TiddlyWiki
It depends on the form of your data to be imported. For instance, if it's a 
spreadsheet, there is the Exel importer edition.

Good luck!

On Monday, September 9, 2019 at 9:02:30 AM UTC-7, Christian Macedo wrote:
>
> Hi Mark, 
>
> Yep it was data dictionary tiddler I meant. My mistake. 
>
> By the looks of it, as you say, this won't be a working solution. And, 
> I'll need to use the fields instead. The issue is that filling in fields is 
> to my mind requires a little more effort. Unless of course there's some 
> import mechanism. 
>
> Either way, many thanks. I'll have a look at importing. 
>
> Christian. 
>
> On Monday, 9 September 2019 16:52:35 UTC+1, Mark S. wrote:
>>
>> By "data tiddlers", do you mean "data dictionary tiddlers" ?
>>
>> If so, I don't think your "sort" here is actually doing anything. Sort 
>> only works on fields.
>>
>> Data dictionaries are useful when you have long lists of information that 
>> don't benefit from the
>> overhead of a normal tiddler. Or when you have a lot of simple 
>> information you copy and paste 
>> into a single tiddler. But if you have a data tiddler for each person, 
>> then there is no
>> benefit from the dictionary, and things like this will be more 
>> complicated, partially because
>> there is little core functionality for dictionaries.
>>
>> If you're using regular tiddlers, then you're filter becomes
>>
>>   <$list filter='[tag[person]field:team[Android]]'>
>>
>> Note that it doesn't sort on team -- they'll all have same entry!
>>
>> Mark
>>
>> On Monday, September 9, 2019 at 6:02:40 AM UTC-7, Christian Macedo wrote:
>>>
>>> I've got a set of data tiddlers each of which are structured as below
>>>
>>> name:James Brown
>>> team:Android
>>> location:Norway
>>> ...
>>>
>>> And a list filter that looks like this. 
>>>
>>> 
>>>   NAME
>>>   TEAM
>>>   LOCATION
>>>   <$list filter='[tag[person]sort[team]]'>
>>> 
>>>   <$link to=<>><$view index='name'/>
>>>   {{##team}}
>>>   {{##location}}
>>> 
>>>   
>>> 
>>>
>>> A table is produced with all the tiddlers that match the filter 
>>> criteria. What I would like to do however is to modify the filter such that 
>>> it shows a table row for for each tiddler whose *team *value is 
>>> 'Android'.
>>>
>>> btw, data tiddlers are my new favourite thing. Congrats to the whole 
>>> team. Again!
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1a754c0b-ddab-4c10-8b4a-a8b5b801fd8c%40googlegroups.com.


[tw5] Re: Sorting or restricting a list filter by index

2019-09-09 Thread Christian Macedo
Hi Mark, 

Yep it was data dictionary tiddler I meant. My mistake. 

By the looks of it, as you say, this won't be a working solution. And, I'll 
need to use the fields instead. The issue is that filling in fields is to 
my mind requires a little more effort. Unless of course there's some import 
mechanism. 

Either way, many thanks. I'll have a look at importing. 

Christian. 

On Monday, 9 September 2019 16:52:35 UTC+1, Mark S. wrote:
>
> By "data tiddlers", do you mean "data dictionary tiddlers" ?
>
> If so, I don't think your "sort" here is actually doing anything. Sort 
> only works on fields.
>
> Data dictionaries are useful when you have long lists of information that 
> don't benefit from the
> overhead of a normal tiddler. Or when you have a lot of simple information 
> you copy and paste 
> into a single tiddler. But if you have a data tiddler for each person, 
> then there is no
> benefit from the dictionary, and things like this will be more 
> complicated, partially because
> there is little core functionality for dictionaries.
>
> If you're using regular tiddlers, then you're filter becomes
>
>   <$list filter='[tag[person]field:team[Android]]'>
>
> Note that it doesn't sort on team -- they'll all have same entry!
>
> Mark
>
> On Monday, September 9, 2019 at 6:02:40 AM UTC-7, Christian Macedo wrote:
>>
>> I've got a set of data tiddlers each of which are structured as below
>>
>> name:James Brown
>> team:Android
>> location:Norway
>> ...
>>
>> And a list filter that looks like this. 
>>
>> 
>>   NAME
>>   TEAM
>>   LOCATION
>>   <$list filter='[tag[person]sort[team]]'>
>> 
>>   <$link to=<>><$view index='name'/>
>>   {{##team}}
>>   {{##location}}
>> 
>>   
>> 
>>
>> A table is produced with all the tiddlers that match the filter criteria. 
>> What I would like to do however is to modify the filter such that it shows 
>> a table row for for each tiddler whose *team *value is 'Android'.
>>
>> btw, data tiddlers are my new favourite thing. Congrats to the whole 
>> team. Again!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/febad00e-b76d-4e9d-bcb8-4a99245c0a30%40googlegroups.com.


[tw5] Re: Sorting or restricting a list filter by index

2019-09-09 Thread 'Mark S.' via TiddlyWiki
By "data tiddlers", do you mean "data dictionary tiddlers" ?

If so, I don't think your "sort" here is actually doing anything. Sort only 
works on fields.

Data dictionaries are useful when you have long lists of information that 
don't benefit from the
overhead of a normal tiddler. Or when you have a lot of simple information 
you copy and paste 
into a single tiddler. But if you have a data tiddler for each person, then 
there is no
benefit from the dictionary, and things like this will be more complicated, 
partially because
there is little core functionality for dictionaries.

If you're using regular tiddlers, then you're filter becomes

  <$list filter='[tag[person]field:team[Android]]'>

Note that it doesn't sort on team -- they'll all have same entry!

Mark

On Monday, September 9, 2019 at 6:02:40 AM UTC-7, Christian Macedo wrote:
>
> I've got a set of data tiddlers each of which are structured as below
>
> name:James Brown
> team:Android
> location:Norway
> ...
>
> And a list filter that looks like this. 
>
> 
>   NAME
>   TEAM
>   LOCATION
>   <$list filter='[tag[person]sort[team]]'>
> 
>   <$link to=<>><$view index='name'/>
>   {{##team}}
>   {{##location}}
> 
>   
> 
>
> A table is produced with all the tiddlers that match the filter criteria. 
> What I would like to do however is to modify the filter such that it shows 
> a table row for for each tiddler whose *team *value is 'Android'.
>
> btw, data tiddlers are my new favourite thing. Congrats to the whole team. 
> Again!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26187341-d1cb-41c9-b510-b8e57edb2830%40googlegroups.com.


[tw5] Re: Sorting or restricting a list filter by index

2019-09-09 Thread Christian Macedo


On Monday, 9 September 2019 14:02:40 UTC+1, Christian Macedo wrote:
>
> I've got a set of data tiddlers each of which are structured as below
>
> name:James Brown
> team:Android
> location:Norway
> ...
>
> And a list filter that looks like this. 
>
> 
>   NAME
>   TEAM
>   LOCATION
>   <$list filter='[tag[person]sort[team]]'>
> 
>   <$link to=<>><$view index='name'/>
>   {{##team}}
>   {{##location}}
> 
>   
> 
>
> A table is produced with all the tiddlers that match the filter criteria. 
> What I would like to do however is to modify the filter such that it shows 
> a table row for for each tiddler whose *team *value is 'Android'.
>
> btw, data tiddlers are my new favourite thing. Congrats to the whole team. 
> Again!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de48d65c-c047-45d5-830d-d6cbc2e1d4ae%40googlegroups.com.