Loading...

National Institute of Mental Health Data Archive (NDA) Sign In
National Institute of Mental Health Data Archive (NDA) Sign In
NDA

Success! An email is on its way!

Please check your email to complete the linking process. The link you receive is only valid for 30 minutes.

Check your spam or junk folder if you do not receive the email in the next few minutes.

Warning Notice This is a U.S. Government computer system, which may be accessed and used only for authorized Government business by authorized personnel. Unauthorized access or use of this computer system may subject violators to criminal, civil, and/or administrative action. All information on this computer system may be intercepted, recorded, read, copied, and disclosed by and to authorized personnel for official purposes, including criminal investigations. Such information includes sensitive data encrypted to comply with confidentiality and privacy requirements. Access or use of this computer system by any person, whether authorized or unauthorized, constitutes consent to these terms. There is no right of privacy in this system.
Create or Link an Existing NDA Account
NIMH Data Archive (NDA) Sign In or Create An Account
Update Password

You have logged in with a temporary password. Please update your password. Passwords must contain 8 or more characters and must contain at least 3 of the following types of characters:

  • Uppercase
  • Lowercase
  • Numbers
  • Special Characters limited to: %,_,!,@,#,$,-,%,&,+,=,),(,*,^,:,;

Subscribe to our mailing list

Mailing List(s)
Email Format

You are now leaving the NIMH Data Archive (NDA) web site to go to:

Click on the address above if the page does not change within 10 seconds.

Disclaimer

NDA is not responsible for the content of this external site and does not monitor other web sites for accuracy.

Accept Terms
Data Access Terms - Decline Terms

Are you sure you want to cancel? This will decline terms and you will not be authorized for access.

Filter Cart
No filters selected
Description
Value Range
Notes
Data Structures with shared data
No filters have been selected
helpcenter.filter-cart

NDA Help Center

Filter Cart

Viewable at the top right of NDA pages, the Filter Cart is a temporary holder for filters and data they select. Filters are added to the Workspace first, before being submitted to The Filter Cart. Data selected by filters in the Filter Cart can be added to a Data Package or an NDA Study from the Data Packaging Page, by clicking the 'Create Data Package / Add Data to Study' button.

The filter cart supports combining multiple filters together, and depending on filter type will use "AND" or "OR" when combining filters.

Multiple selections from the same filter type will result in those selections being applied with an ‘OR’ condition. For example, if you add an NDA Collection Filter with selections for both collections 2112 and 2563 to an empty Workspace, the subjects from NDA Collection 2112 ‘OR’ NDA Collection 2563 will be added to your Workspace even if a subject is in both NDA Collections. You can then add other NDA Collections to your Workspace which further extends the ‘OR’ condition.

If a different filter type is added to your Workspace, or a filter has already been submitted to the Filter Cart, the operation then performs a logical ‘AND’ operation. This means that given the subjects returned from the first filter, only those subjects that matched the first filter are returned by the second filter (i.e., subjects that satisfied both filters).

When combining other filters with the GUID filter, please note the GUID filter should be added last. Otherwise, preselected data may be lost. For example, a predefined filter from Featured Datasets may select a subset of data available for a subject. When combined with a GUID filter for the same subject, the filter cart will contain all data available from that subject, data structure, and dataset; this may be more data than was selected in the predefined filter for that subject. Again, you should add the GUID Filter as the last filter to your cart. This ensures 'AND' logic between filters and will limit results to the subjects, data structures, and datasets already included in your filter cart.

Note that only the subjects specific to your filter will be added to your Filter Cart and only on data shared with the research community. Other data for those same subjects may exist (i.e., within another NDA Collection, associated with a data structure that was not requested in the query, etc.). So, users should select ‘Find all Subjects Data’ to identify all data for those specific subjects.

Additional Tips:

  • You may query the data without an account, but to gain access you will need to create an NDA user account and apply for access. Most data access requires that you or your lab are sponsored by an NIH recognized institution with Federal Wide Assurance (FWA). Without access, you will not be able to obtain individual-level data.

Once you have selected data of interest you can:

  • Create a data package - This allows you to specify format for access/download
  • Assign to Study Cohort - Associate the data to an NDA Study allowing for a DOI to be generated and the data to be linked directly to a finding, publication, or data release.
  • Find All Subject Data - Depending on filter types being used, not all data associated with a subject will be selected. Data may be restricted by data structure, NDA Collection, or outcome variables (e.g., NDA Study). ‘Find All Data’ expands the filter criteria by replacing all filters in your Filter Cart with a single Query by GUID filter for all subjects selected by those filters.

Please Note:

  • When running a query, it may take a moment to populate the Filter Cart. Queries happen in the background so you can define other queries during this time.
  • When you add your first filter, all data associated with your query will be added to the Filter Cart (e.g., a Concept, an NDA Collection, a Data Structure/Element, etc.). As you add additional filters, they will also display in the Filter Cart. Only the name of filter will be shown in the Filter Cart, not the underlying structures.
  • Information about the contents of the Filter Cart can be seen by clicking "Edit”.
  • Once your results appear in the Filter Cart, you can create a data package or assign subjects to a study by selecting the 'Package/Assign to Study' option. You can also 'Edit' or 'Clear' filters.

Frequently Asked Questions

  • What is a Filter Cart?
    Viewable at the top right of NDA pages, the Filter Cart is a temporary holder of data identified by the user, through querying or browsing, as being of some potential interest. The Filter Cart is where you send the data from your Workspace after it has been filtered.
  • What do I do after filters are added to the Filter Cart?
    After filters are added to the Filter Cart, users have options to ‘Create a Package’ for download, ‘Associate to Study Cohort’, or ‘Find All Subject Data’. Selecting ‘Find All Subject Data’ identifies and pulls all data for the subjects into the Filter Cart. Choosing ‘Create a Package’ allows users to package and name their query information for download. Choosing ‘Associate to Study Cohort’ gives users the opportunity to choose the Study Cohort they wish to associate this data.
  • Are there limitations on the amount of data a user can download?

    NDA limits the rate at which individual users can transfer data out of Amazon Web Services (AWS) S3 Object storage to non-AWS internet addresses. All users have a download limit of 20 Terabytes. This limit applies to the volume of data an individual user can transfer within a 30-day window. Only downloads to non-AWS internet addresses will be counted against the limit.

  • How does Filter Cart Boolean logic work?

    The Filter Cart currently employs basic AND/OR Boolean logic. A single filter may contain multiple selections for that filter type, e.g., a single NDA Study filter might contain NDA Study 1 and NDA Study 2. A subject that is in EITHER 1 OR 2 will be returned. Adding multiple filters to the cart, regardless of type, will AND the result of each filter. If NDA Study 1 and NDA Study 2 are added as individual filters, data for a subject will only be selected if the subject is included in BOTH 1 AND 2.

    When combining other filters with the GUID filter, please note the GUID filter should be added last. Otherwise, preselected data may be lost. For example, a predefined filter from Featured Datasets may select a subset of data available for a subject. When combined with a GUID filter for the same subject, the filter cart will contain all data available from that subject, data structure, and dataset; this may be more data than was selected in the predefined filter for that subject. Again, you should add the GUID Filter as the last filter to your cart. This ensures 'AND' logic between filters and will limit results to the subjects, data structures, and datasets already included in your filter cart.

Glossary

  • Workspace
    The Workspace within the General Query Tool is a holding area where you can review your pending filters prior to adding them to Filter Cart. Therefore, the first step in accessing data is to select one or more items and move it into the Workspace.
  • Filter Cart
    Viewable at the top right of NDA pages, the Filter Cart is a temporary holder of data identified by the user through querying or browsing as being of some potential interest. The Filter Cart adds data using an AND condition. The opportunity to further refine data to determine what will be downloaded or sent to a miNDAR is available on the Data Packaging Page, the next step after the Filter Cart. Subsequent access to data is restricted by User Permission or Privilege; however Filter Cart use is not.
Switch User
NDA is performing scheduled maintenance from Wednesday 02/21/2024 at 6:00pm ET to 8:00pm ET.
The NDA website may be unavailable during that time.

Consensus Sleep Diary

0 Shared Subjects

The consensus sleep diary project was an outgrowth of the 2005 Insomnia Assessment Conference which resulted in a publication with recommendations for standard research assessment of insomnia. https://pubmed.ncbi.nlm.nih.gov/22294820/
Clinical Assessments
Sleep
12/15/2021
csdc01
06/12/2023
View Change History
01
Query Element Name Data Type Size Required Description Value Range Notes Aliases
subjectkey GUID Required The NDAR Global Unique Identifier (GUID) for research subject NDAR*
src_subject_id String 20 Required Subject ID how it's defined in lab/project
interview_date Date Required Date on which the interview/genetic test/sampling/imaging/biospecimen was completed. MM/DD/YYYY
interview_age Integer Required Age in months at the time of the interview/test/sampling/imaging. 0 :: 1260 Age is rounded to chronological month. If the research participant is 15-days-old at time of interview, the appropriate value would be 0 months. If the participant is 16-days-old, the value would be 1 month.
sex String 20 Required Sex of subject at birth M;F; O; NR M = Male; F = Female; O=Other; NR = Not reported
sleepdiary_1 String 25 Recommended What time did you get into bed? The time that you got into bed. This may not be the time that you began ''trying'' to fall asleep.
sleepdiary_2 String 25 Recommended What time did you try to go to sleep? The time that you began ''trying'' to fall asleep.
sleepdiary_3 String 50 Recommended How long did it take you to fall asleep? Beginning at the time you wrote in question 2, how long did it take you to fall asleep.
sleepdiary_4 Integer Recommended How many times did you wake up, not counting your final awakening? The number of times you wake up between the time you first fell asleep and your final awakening
sleepdiary_5 String 50 Recommended In total, how long did these awakenings last? The total time you were awake between the time you first fell asleep and your final awakening
sleepdiary_6 String 25 Recommended What time was your final awakening? Record the last time you woke up in the morning.
sleepdiary_7 String 25 Recommended What time did you get out of bed for the day? What time did you get out of bed with no further attempt at sleeping? This may be different from your final awakening time
sleepdiary_8 Integer Recommended How would you rate the quality of your sleep? 0::4 0= Very Poor; 1= Poor; 2= Fair; 3= Good; 4= Very Good
sleepdiary_9 String 500 Recommended Comments Anything else relevant to your sleep
sdmorn_urge Integer Recommended Show how extreme you experienced this feeling/mood at any point LAST NIGHT: urge to kill myself 0::100 0 = None; 100 = Extreme
sdmorn_time String 25 Recommended At what time did you experience the highest urges for suicide LAST NIGHT?
sdmorn_nssib Integer Recommended In the past 24 hours, have you engaged in any non-suicidal self-injurious behavior? 0;1 0 = No; 1 = Yes
sdmorn_pbs Integer Recommended In the past 24 hours, have you engaged in any preparatory behavior for suicide? 0;1 0 = No; 1 = Yes
sdmorn_attempt Integer Recommended In the past 24 hours, have you made a suicide attempt or engaged in any suicidal behavior? 0;1 0 = No; 1 = Yes
noct_wakefulness Integer Recommended Nocturnal Wakefulness - the number of minutes a participant is awake from the time point that they try to go to bed until they get out of bed
sleep_efficiency String 20 Recommended Your average time in bed asleep
sdnight_urge Integer Recommended Show how extreme you experienced this feeling/mood at any point TODAY: urge to kill myself 0::100 0 = None; 100 = Extreme
sdnight_time String 25 Recommended At what time did you experience the highest urges for suicide TODAY?
sdnight_nap Integer Recommended In total, how long did you nap or doze today in minutes?
sdnight_bothered_a Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Repeated, disturbing memories, thoughts, or images of a stressful experience? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_b Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Repeated, disturbing dreams of a stressful experience? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_c Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Suddenly acting or feeling as if a stressful experience were happening again (as if you were reliving it)? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_d Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Having physical reactions (e.g., heart pounding, trouble breathing, sweating) when something reminded you of a stressful experience? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_e Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Avoiding thinking about or talking about a stressful experience or avoiding having feelings related to it? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_f Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Avoiding activities or situations because they reminded you of a stressful experience? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_g Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Being ''super alert'' or watchful or on guard? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_bothered_h Integer Recommended Please select how much you have been bothered by this problem in the PAST 24 HOURS - Feeling jumpy or easily startled? 1::5 1 = Not at all; 2 = A little bit; 3 = Moderately; 4 = Quite a bit; 5 = Extremely
sdnight_caff Integer Recommended Did you use any caffeine today? 0;1 0 = No; 1 = Yes
sdnight_caff_amt String 25 Recommended How much caffeine? (Please describe the type and amount, e.g., 2 medium coffees.)
sdnight_crave_h1 Integer Recommended How intense/severe were your cravings for unprescribed benzodiazepines today? 0::100 0 = None; 100 = Extreme
sdnight_nico Integer Recommended Did you use any nicotine today? 0;1 0 = No; 1 = Yes
sdnight_nico_amt String 25 Recommended How much nicotine? (Please describe the type and amount, e.g., 5 cigarettes)
sdnight_crave_a Integer Recommended Did you have cravings for any of the following today - Marijuana 0;1 0 = No; 1 = Yes
sdnight_crave_b Integer Recommended Did you have cravings for any of the following today - Alcohol 0;1 0 = No; 1 = Yes
sdnight_crave_c Integer Recommended Did you have cravings for any of the following today - Cocaine 0;1 0 = No; 1 = Yes
sdnight_crave_d Integer Recommended Did you have cravings for any of the following today - Opiates or heroin 0;1 0 = No; 1 = Yes
sdnight_crave_e Integer Recommended Did you have cravings for any of the following today - Amphetamines 0;1 0 = No; 1 = Yes
sdnight_crave_f Integer Recommended Did you have cravings for any of the following today - Ecstasy 0;1 0 = No; 1 = Yes
sdnight_crave_g Integer Recommended Did you have cravings for any of the following today - Acid/LSD 0;1 0 = No; 1 = Yes
sdnight_crave_h Integer Recommended Did you have cravings for any of the following today - Unprescribed benzodiazepines 0;1 0 = No; 1 = Yes
sdnight_crave_h2 String 25 Recommended At what time did you experience the highest urges for unprescribed benzodiazepines?
sdnight_crave_i Integer Recommended Did you have cravings for any of the following today - Tobacco 0;1 0 = No; 1 = Yes
sdnight_crave Integer Recommended Did you have cravings for any of the following today - None 0;1 0 = No cravings; 1 = Yes cravings
sdnight_crave_a1 Integer Recommended How intense/severe was your craving for marijuana today? 0::100 0 = None; 100 = Extreme
sdnight_crave_a2 String 25 Recommended At what time did you experience the highest urges for marijuana?
sdnight_crave_b1 Integer Recommended How intense/severe was your craving for alcohol today? 0::100 0 = None; 100 = Extreme
sdnight_crave_b2 String 25 Recommended At what time did you experience the highest urges for alcohol?
sdnight_crave_c1 Integer Recommended How intense/severe were your cravings for cocaine today? 0::100 0 = None; 100 = Extreme
sdnight_crave_c2 String 25 Recommended At what time did you experience the highest urges for cocaine?
sdnight_crave_d1 Integer Recommended How intense/severe were your cravings for opioids or heroine today? 0::100 0 = None; 100 = Extreme
sdnight_crave_d2 String 25 Recommended At what time did you experience the highest urges for opioids or heroin?
sdnight_crave_i1 Integer Recommended How intense/severe were your cravings for tobacco today? 0::100 0 = None; 100 = Extreme
sdnight_crave_e1 Integer Recommended How intense/severe were your cravings for amphetamine today? 0::100 0 = None; 100 = Extreme
sdnight_crave_e2 String 25 Recommended At what time did you experience the highest urges for amphetamine?
sdnight_crave_f1 Integer Recommended How intense/severe were your cravings for ecstasy today? 0::100 0 = None; 100 = Extreme
sdnight_crave_f2 String 25 Recommended At what time did you experience the highest urges for ecstasy?
sdnight_crave_g1 Integer Recommended How intense/severe were your cravings for acid/LSD today? 0::100 0 = None; 100 = Extreme
sdnight_crave_g2 String 25 Recommended At what time did you experience the highest urges for acid/LSD?
sdnight_crave_i2 String 25 Recommended At what time did you experience the highest urges for tobacco?
sdnight_physdisc Integer Recommended Did you experience any physical discomfort that you expect might affect your sleep tonight? 1::4 1 = No; 2 = Yes, pain; 3 = Yes, sick; 4 = Yes, other
sdnight_physdis_oth String 100 Recommended If Other, please specify the physical discomfort that you expect might affect your sleep tonight
version_form String 121 Recommended Form used/assessment name
Data Structure

This page displays the data structure defined for the measure identified in the title and structure short name. The table below displays a list of data elements in this structure (also called variables) and the following information:

  • Element Name: This is the standard element name
  • Data Type: Which type of data this element is, e.g. String, Float, File location.
  • Size: If applicable, the character limit of this element
  • Required: This column displays whether the element is Required for valid submissions, Recommended for valid submissions, Conditional on other elements, or Optional
  • Description: A basic description
  • Value Range: Which values can appear validly in this element (case sensitive for strings)
  • Notes: Expanded description or notes on coding of values
  • Aliases: A list of currently supported Aliases (alternate element names)
  • For valid elements with shared data, on the far left is a Filter button you can use to view a summary of shared data for that element and apply a query filter to your Cart based on selected value ranges

At the top of this page you can also:

  • Use the search bar to filter the elements displayed. This will not filter on the Size of Required columns
  • Download a copy of this definition in CSV format
  • Download a blank CSV submission template prepopulated with the correct structure header rows ready to fill with subject records and upload

Please email the The NDA Help Desk with any questions.