<p>Another alternative for anyone who finds this helpful is the BirdNET developer recently added a function in the GUI that allows you to &quot;Combine selection tables.&quot; You mark the check box and it will produce all of your separate detection tables, and then one at the end that combines them all together with the pooled times so that you can open it up along with all the sound files in one Raven window with only one selection table. I tried it out after I went through the R route and it works well.</p>

CC BY-SA 4.0
2024-03-04T13:57:08.187Z
2024-03-04T13:57:08.187Z
Alyssa
<p>The function <a href="https://marce10.github.io/Rraven/reference/imp_raven.html" rel="noreferrer">imp_raven</a> from the R package <a href="https://github.com/maRce10/Rraven" rel="noreferrer">Rraven</a> allows you to read and merge all .txt files at once and extract the name of the sound file from the name of the .txt. file with the argument  <code>name.from.file</code></p>

CC BY-SA 4.0
2024-02-13T14:07:34.560Z
Thank you for the info! This is helpful and I will pursue this. Out of curiosity, I assume that even with the extraction of the name file, it's not adjusting the begin and end time to be accurate for using all the selection tables together, correct?
Alyssa
CC BY-SA 4.0
2024-02-22T16:46:50.393Z
by default the function will pool all data together with the begin and end time as in the original .txt file. Not sure if this is what you are asking (?)
Marcelo Araya-Salas
CC BY-SA 4.0
2024-03-04T13:52:34.333Z
Yes, thank you!
Alyssa
CC BY-SA 4.0
2024-02-05T15:16:28.800Z
2024-02-05T15:16:28.800Z
Marcelo Araya-Salas
<p>I have a custom classifier that I created with BirdNET to run on recordings of continuous data written into hour-long files. I'm realizing that in the current format, BirdNET will assign a separate .txt for each detection table and that I can't merge them due to the begin/end time restarting for each file. I know Raven has Begin Path/Begin File/File Offset but as far as I can tell, there isn't a way to ask BirdNET to write everything into a single selection table.</p>
<p>For context, I am using the GUI and am running about 75 hour long files in the classifier at a time.</p>
<p>Thanks!</p>

CC BY-SA 4.0
2024-04-17T13:44:02.373Z
Welcome to stack exchange! The title of each post should ideally be a QUESTION. Can we convert *"BirdNET Classifier Selection Tables"* to a brief question? e.g. "How to combine BirdNET Classifier Selection Tables?"
Dan Stowell
<birdnet><classifier><files>
How to merge BirdNET Classifier Selection Tables into a single table?
# How to merge BirdNET Classifier Selection Tables into a single table?

(Asked by: username_0 on 2024-02-03)

I have a custom classifier that I created with BirdNET to run on recordings of continuous data written into hour-long files. I'm realizing that in the current format, BirdNET will assign a separate .txt for each detection table and that I can't merge them due to the begin/end time restarting for each file. I know Raven has Begin Path/Begin File/File Offset but as far as I can tell, there isn't a way to ask BirdNET to write everything into a single selection table.

For context, I am using the GUI and am running about 75 hour long files in the classifier at a time.

Thanks!

**Tags:** birdnet, classifier, files

> **Comments:**
> **username_1**: Welcome to stack exchange! The title of each post should ideally be a QUESTION. Can we convert *"BirdNET Classifier Selection Tables"* to a brief question? e.g. "How to combine BirdNET Classifier Selection Tables?"  

---

## 2 answers

### Answer by username_2 on 2024-02-05. Score: 5 | Accepted answer

The function [imp\_raven](https://marce10.github.io/Rraven/reference/imp_raven.html) from the R package [Rraven](https://github.com/maRce10/Rraven) allows you to read and merge all .txt files at once and extract the name of the sound file from the name of the .txt. file with the argument `name.from.file`

> **Comments:**
> **username_0**: Thank you for the info! This is helpful and I will pursue this. Out of curiosity, I assume that even with the extraction of the name file, it's not adjusting the begin and end time to be accurate for using all the selection tables together, correct?  
> **username_2**: by default the function will pool all data together with the begin and end time as in the original .txt file. Not sure if this is what you are asking (?)  
> **username_0**: Yes, thank you!  

---

### Answer by username_0 on 2024-03-04. Score: 4

Another alternative for anyone who finds this helpful is the BirdNET developer recently added a function in the GUI that allows you to "Combine selection tables." You mark the check box and it will produce all of your separate detection tables, and then one at the end that combines them all together with the pooled times so that you can open it up along with all the sound files in one Raven window with only one selection table. I tried it out after I went through the R route and it works well.


---

