NSRR staff
Boston, MA
0000-0002-0506-8368
Top Topics
Recent Topics
Thanks for using the site. I'll reach out to our STAGES contact to see if we can get more information on the position channel.
Hey - please try nsrr download mesa-commercial-use - since your data request was commercial in nature we switched you (behind the scenes) to a modified version of the dataset. Thanks for using the site.
Thanks for using the site. You don't need Ruby to download the CSV datasets - it's more useful when downloading thousands of EDF and annotation files at once.
From what I can tell this is likely an encoding issue, perhaps you need to lookup our CSV dataset's encoding and specify that in the read_csv command.
I found some links that might be helpful:
https://stackoverflow.com/questions/18171739/unicodedecodeerror-when-reading-csv-file-in-pandas-with-python https://www.kaggle.com/code/paultimothymooney/how-to-resolve-a-unicodedecodeerror-for-a-csv-file
Hey Tim - thanks for visiting. Unfortunately we don't have any additional information on those SHHS spirometry variables. These were called "A-variables" by the SHHS team and were not collected as part of the SHHS visit protocol, but were rather gathered from the SHHS parent cohorts from other research visits. I think the cohorts were only constrained by time (i.e., provide values within the last X years), but it's conceivable the methods underlying the source spirometry measurements could have differed between SHHS parent cohorts.
I wish I knew more!
Hey - sorry, those instructions may now be outdated.
Perhaps try Homebrew and rbenv instead - I ran through these instructions today successfully: https://gorails.com/setup/macos/10.12-sierra
Try installing ruby 3.2.0. Once you get "ruby -v" showing 3.2.0 then you should be OK to do "gem install nsrr" and then run the "nsrr download <dataset>" commands.
Good luck!
Hey - thanks for asking. Yes, at present, the datasets you listed are all available for commercial use data requests.
I believe the values correspond to 0 = ON and 1 = OFF.
Here's a snippet from the manual:
The Profusion XML files also have a section near the beginning that lists the LIGHT meanings, which typically go in numeric order (0, 1).
https://sleepdata.org/datasets/shhs/pages/08-equipment-shhs1.md - there's some more information here. I don't think the channel was intended to be used outside of the beginning and end of the sleep period in the setting of lights off/on. I did inquire with a sleep scorer to see if those coded values have specific meanings when represented in Compumedics. I'll let you know if I hear anything back.
Thanks for checking out the site!
Once approved you will have access to the EDFs, annotations, and covariate/phenotype variable files.
Yes, I believe for both STAGES and WSC the goal was to collect the PSG and depression data around the same time.
We look forward to reviewing your data request. Thanks!
Thanks for using the site. You can read more about the SHHS annotations here - https://sleepdata.org/datasets/shhs/pages/05-polysomnography-introduction.md
We generally do not post EDF+ files (with an embedded annotations channel), instead we keep staging and event scoring annotations in separate files (for SHHS, two XML formats).
https://sleepdata.org/datasets/shhs/files/polysomnography/annotations-events-profusion https://sleepdata.org/datasets/shhs/files/polysomnography/annotations-events-nsrr