Is there an existing way to import EDF files into R?
Asked Answered
G

3

5

I have some European Data Format (EDF) files that I would like to import into R.

There are some Python libraries for parsing EDF files and the EDF spec is available, so I know it's possible, but I would avoid writing code if I could.

Does there already exist a facility for importing these kinds of files?

Goldsberry answered 10/2, 2011 at 15:47 Comment(0)
R
2

I tried look for the same thing a while ago, but I couldn't find anything for R. I ended up using biosig Python module to convert edfs to ascii. There is also this edf2ascii-converter.

Rove answered 10/2, 2011 at 16:41 Comment(0)
S
4
  1. Was looking for the same thing. Found this function written by Fabien Feschet - works well for my data. http://feschet.fr/?p=11

  2. Found another resource recently. This works very well. Need to download both read_edf.R and utilities.R https://github.com/bwrc/edf/tree/master/R

Succumb answered 21/3, 2014 at 1:26 Comment(0)
R
2

I tried look for the same thing a while ago, but I couldn't find anything for R. I ended up using biosig Python module to convert edfs to ascii. There is also this edf2ascii-converter.

Rove answered 10/2, 2011 at 16:41 Comment(0)
S
1

I guess there wasn't any package available at the time when the question was asked but now you could use edfReader:

https://cran.r-project.org/web/packages/edfReader/

https://github.com/Pisca46/edfReader

Stochmal answered 30/3, 2016 at 15:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.