Skip to contents

Segments of a source and where they come from

Usage

qda_source_segments(source)

Arguments

source

Source id or unique name.

Value

A tibble: segment (number as shown in the app, "Seg N"), start, end (1-based character offsets), text. Attribute "origin": "automatisch" (blank lines, nothing stored) or "gespeichert".

Examples

qda_open(file.path(tempfile(), "example.jellyqda"))
qda_import(system.file("extdata", "interview_01.txt", package = "jellyqda"))
#> # A tibble: 1 × 5
#>      id name             format chars status
#>   <int> <chr>            <chr>  <int> <chr> 
#> 1     1 interview_01.txt txt      856 ok    
qda_source_segments(1)
#> # A tibble: 7 × 4
#>   segment start   end text                                                      
#>     <int> <int> <int> <chr>                                                     
#> 1       1     1   101 DEMO FILE - fictional interview written for jellyqda. All…
#> 2       2   104   202 Interviewer: Good morning, and thank you for taking the t…
#> 3       3   205   325 Respondent: Sure. I am 34 years old and I have been worki…
#> 4       4   328   370 Interviewer: How did you get into this job?               
#> 5       5   373   605 Respondent: After studying business informatics I first w…
#> 6       6   608   647 Interviewer: What motivates you at work?                  
#> 7       7   650   856 Respondent: Above all the direct contact with our custome…
qda_close()