NDA Help Center

Login Dialog

Frequently Asked Questions


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). 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 fliter 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

  • 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.

  • 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.

  • 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.


  • Once your filter cart contains the subjects of interest, select Create Data Package/Assign to Data Study which will provide options for accessing item level data and/or assigning to a study.  

  • Once queries have been added to your workspace, the next step is to Submit the Filters in the workspace to the Filter Cart.  This process runs the queries selected, saving the results within a filter cart attached to your account.  

  • 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. 


Reset Password

NDA provides a single access to de-identified autism research data. For permission to download data, you will need an NDA account with approved access to NDA or a connected repository (AGRE, IAN, or the ATP). For NDA access, you need to be a research investigator sponsored by an NIH recognized institution with federal wide assurance. See Request Access for more information.

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.

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.


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

Accept Terms
Filter Cart
No filters selected
Value Range
Data Structures with shared data
No filters have been selected
Switch User

Delinquency and Substance Abuse Measure

78 Shared Subjects

Clinical Assessments
Substance Use
View Change History
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 id
interview_date Date Required Date on which the interview/genetic test/sampling/imaging/biospecimen was completed. MM/DD/YYYY Required field adate
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. age
sex String 20 Required Sex of the subject M;F; O; NR M = Male; F = Female; O=Other; NR = Not reported gender, sex
Query dq_1 Integer Recommended Started a fight How many times
Query dq_2 Integer Recommended Hit someone with the idea of seriously hurting them How many times
Query dq_3 Integer Recommended Gone out at night when your parents told you that you couldnt go How many times
Query dq_4 Integer Recommended Taken something from a store without paying for it How many times
Query dq_5 Integer Recommended Thrown objects such as rocks or bottles at cars or people How many times
Query dq_6 Integer Recommended Broken or destroyed somebody elses things just for fun How many times
Query dq_7 Integer Recommended Ran away from home and stayed overnight How many times
Query lifa7a Integer Recommended How many times have you been picked up by the police, but not charged? dq_8
Query dq_9 Integer Recommended Broken into a house, store, school, or other building without the owner's permission How many times
Query dq_10 Integer Recommended Taken something that didnt belong to you, like other kids clothes or lunches, or money from your parents without their knowing it How many times
Query saq_1 Integer Recommended Have you ever tried cigarette smoking, even one or two puffs? 0;1 0 = No; 1 = Yes
Query yrbs26 Integer Recommended How old were you when you smoked a whole cigarette for the first time? 0::7; 999 0 = I have never smoked a whole cigarette; 1 = 8 years old or younger; 2 = 9 or 10 years old; 3 = 11 or 12 years old; 4 = 13 or 14 years old; 5 = 15 or 16 years old; 6 = 17 years old or older; 999 = Legitimate Skip; 7= 13 years or older saq_1_a
Query yrbs29 Integer Recommended During the past 30 days, on how many days did you smoke cigarettes on school property? 0::6; 999 0 = 0 days; 1 = 1 or 2 days; 2 = 3 to 5 days; 3 = 6 to 9 days; 4 = 10 to 19 days; 5 = 20 to 29 days; 6 = All 30 days; 999 = Legitimate Skip saq_1_b
Query yrbs28 Integer Recommended During the past 30 days, on the days you smoked, how many cigarettes did you smoke per day? 0::6; 999 0 = I did not smoke cigarettes during the past 30 days; 1 = Less than 1 cigarette per day; 2 = 1 cigarette per day; 3 = 2 to 5 cigarettes per day; 4 = 6 to 10 cigarettes per day; 5 = 11 to 20 cigarettes per day; 6 = More than 20 cigarettes per day; 999 = Legitimate Skip saq_1_c
Query saq_1_d Integer Recommended During the past 30 days, how did you usually get your own cigarettes? 0::7; 999 1 = I bought them in a store (convenience, supermarket, discount store, gas station); 2 = Vending machine; 3 = I gave someone else money to buy them for me; 4 = I borrowed (or bummed) them from someone else; 5 = A person 18 years or older gave them to me; 6 = I took them from a store or family member; 7 = I got them some other way; 999 = LEGITIMATE SKIP
Query cig_smoking_evryday_1mon Integer Recommended Has there ever been a period in your life when you smoked cigarettes every day for at least 30 days? PX030601_Cigarette_Smoking_Everyday_1Month 1;2;97; 999 1=Yes; 2=No; 97=Don't Know/Refused; 999 = Legitimate Skip saq_1_e
Query yrbs33 Integer Recommended During the past 30 days, on how many days did you use chewing tobacco, snuff, or dip on school property? 0::6 0 = 0 days; 1 = 1 or 2 days; 2 = 3 to 5 days; 3 = 6 to 9 days; 4 = 10 to 19 days; 5 = 20 to 29 days; 6 = All 30 days saq_2
Query saq_3 Integer Recommended Have you ever had a drink of alcohol, other than a few sips? 0;1 0 = No; 1 = Yes
Query yrbs19 Integer Recommended How old were you when you had your first drink of alcohol other than a few sips? 0::7; 999 0 = I have never had a drink of alcohol other than a few sips; 1 = 8 years old or younger; 2 = 9 or 10 years old; 3 = 11 or 12 years old; 4 = 13 or 14 years old; 5 = 15 or 16 years old; 6 = 17 years old or older; 999 = Legitimate Skip; 7= 13 years old or older saq_3_a
Query cs08 Integer Recommended 8. Marijuana? 0;1 0=No; 1=Yes saq_4
Query yrbs36 Integer Recommended How old were you when you tried marijuana for the first time? 0::7; 999 0 = I have never tried marijuana; 1 = 8 years old or younger; 2 = 9 or 10 years old; 3 = 11 or 12 years old; 4 = 13 or 14 years old; 5 = 15 or 16 years old; 6 = 17 years old or older; 999 = Legitimate Skip; 7= 13 years old or older saq_4_a
Query cs09 Integer Recommended Cocaine 0;1 0=No; 1=Yes saq_5
Query mta_sra_f29a Integer Recommended Ever carried a weapon? 0;1 0=No; 1=Yes saq_6_a
Query saq_6_b Integer Recommended Have you ever been in a physical fight? 0;1 0 = No; 1 = Yes
Query saq_6_c Integer Recommended Have you ever been in a physical fight in which you were hurt and had to be treated by a doctor or nurse? 0;1 0 = No; 1 = Yes
Query delintot Integer Recommended Delinquent Behavior Total (sum of DQ_1, DQ_2, DQ_3, DQ_4, DQ_5, DQ_6, DQ_7, DQ_8, DQ_9, DQ_10)
Query delinmn Float Recommended Delinquent Behavior Mean (mean of DQ_1, DQ_2, DQ_3, DQ_4, DQ_5, DQ_6, DQ_7, DQ_8, DQ_9, DQ_10)
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.