Repository navigation
|
I have a text file that has a few sections. I would like to be able to view the text code analyses for each section, as well as for the whole text. Is there a way that I can do this? e.g. by marking section start and end points? I had a search through the docs, but couldn't see anything relevant. |
Replies: 5 comments 11 replies
|
For now, not easily, but you could use the Reports > Database Queries. Then in the database queries you could run something like sql query this to extract the coded segments between identfied character positions: select code_cat.name as "category", code_name.name as "codename", source.name as "filename", code_text.seltext, pos0, pos1 |
|
Another idea (not fully tested): create cases for the different sections, and to use these cases as filters in the analysis. |
|
The barcharting options in Reports > Charts collate cases by full file length, so wont work for this specific circumstance. |



For now, not easily, but you could use the Reports > Database Queries.
So in Code Text, after you have opened a file, look for a section break area, click on the text and press the key '!' to get a character position.
Then in the database queries you could run something like sql query this to extract the coded segments between identfied character positions:
select code_cat.name as "category", code_name.name as "codename", source.name as "filename", code_text.seltext, pos0, pos1
from code_name join code_text on code_name.cid = code_text.cid
join source on source.id=code_text.fid
left join code_cat on code_name.catid=code_cat.catid
where code_text.pos0 > 50 and code_text.pos1 < 500
-- UNCOM…