NDA Help Center

Login Dialog

Frequently Asked Questions

Glossary

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

    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.

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

Glossary

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

Loading...

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

Disclaimer

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
Description
Value Range
Notes
Data Structures with shared data
No filters have been selected
Switch User

Drug Use Questionnaire

0 Shared Subjects

N/A
Clinical Assessments
Substance Use
06/19/2020
duq01
06/19/2020
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 subjectid, subjectnumber
interview_date Date Required Date on which the interview/genetic test/sampling/imaging/biospecimen was completed. MM/DD/YYYY datacollecteddate
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 gender
cs08 Integer Recommended 8. Marijuana? 0;1 0=No; 1=Yes a_duq01, duq_01
a_duq01a String 20 Recommended Number of days using marijuana in the past 90 days (3 months or since your court date) duq_01a
a_duq01b String 20 Recommended Number of days using marijuana with alcohol in the past 90 days (3 months or since your court date) duq_01b
a_duq01c String 20 Recommended Average number of times per day using marijuana in the past 90 days (3 months or since your court date) duq_01c
cs09 Integer Recommended Cocaine 0;1 0=No; 1=Yes a_duq02, duq_02
a_duq02a String 20 Recommended Number of days using cocaine in the past 90 days (3 months or since your court date) duq_02a
a_duq02b String 20 Recommended Number of days using cocaine with alcohol in the past 90 days (3 months or since your court date) duq_02b
a_duq02c String 20 Recommended Average number of times per day using cocaine in the past 90 days (3 months or since your court date) duq_02c
cs12 Integer Recommended Amphetamines 0;1 0=No; 1=Yes a_duq03, duq_03
a_duq03a String 20 Recommended Number of days using crystal meth in the past 90 days (3 months or since your court date) duq_03a
a_duq03b String 20 Recommended Number of days using crystal meth with alcohol in the past 90 days (3 months or since your court date) duq_03b
a_duq03c String 20 Recommended Average number of times per day using crystal meth in the past 90 days (3 months or since your court date) duq_03c
lsd Integer Recommended LSD: 0;1;999 0 = No; 1 = Yes a_duq04, duq_04
a_duq04a String 20 Recommended Number of days using LSD (acid) in the past 90 days (3 months or since your court date) duq_04a
a_duq04b String 20 Recommended Number of days using LSD (acid) with alcohol in the past 90 days (3 months or since your court date) duq_04b
a_duq04c String 20 Recommended Average number of times per day using LSD (acid) in the past 90 days (3 months or since your court date) duq_04c
cs11 Integer Recommended 11. PCP? 0;1 0=No; 1=Yes a_duq05, duq_05
a_duq05a String 20 Recommended Number of days using PCP (angel dust) in the past 90 days (3 months or since your court date) duq_05a
a_duq05b String 20 Recommended Number of days using PCP (angel dust) with alcohol in the past 90 days (3 months or since your court date) duq_05b
a_duq05c String 20 Recommended Average number of times per day using PCP (angel dust) in the past 90 days (3 months or since your court date) duq_05c
inhalant Integer Recommended inhalants 0;1;-7 0=No; 1=Yes; -7=Refused a_duq06, duq_06
a_duq06a String 20 Recommended Number of days using paint, glue, or other things you inhale in the past 90 days (3 months or since your court date) duq_06a
a_duq06b String 20 Recommended Number of days using paint, glue, or other things you inhale with alcohol in the past 90 days (3 months or since your court date) duq_06b
a_duq06c String 20 Recommended Average number of times per day using paint, glue, or other things you inhale in the past 90 days (3 months or since your court date) duq_06c
cs10 Integer Recommended 10. Opiates? 0;1 0=No; 1=Yes a_duq07, duq_07
a_duq07a String 20 Recommended Number of days using heroin or other opiates (for example, morphine) in the past 90 days (3 months or since your court date) duq_07a
a_duq07b String 20 Recommended Number of days using heroin or other opiates with alcohol in the past 90 days (3 months or since your court date) duq_07b
a_duq07c String 20 Recommended Average number of times per day using heroin or other opiates in the past 90 days (3 months or since your court date) duq_07c
dast_2 Integer Recommended Have you abused prescription drugs? 0::1; 9999 0= No; 1= Yes; 9999= no data a_duq08, duq_08
a_duq08a String 20 Recommended Number of days using prescription drugs (not prescribed to you or used more often than prescribed/used to get high) in the past 90 days (3 months or since your court date) duq_08a
a_duq08b String 20 Recommended Number of days using prescription drugs (not prescribed to you or used more often than prescribed/used to get high) with alcohol in the past 90 days (3 months or since your court date) duq_08b
a_duq08c String 20 Recommended Average number of times per day using prescription drugs (not prescribed to you or used more often than prescribed/used to get high) in the past 90 days (3 months or since your court date) duq_08c
a_duq09 Integer Recommended Designer drugs (ecstacy, MDMA, GHB, etc.) 0;1 0 = No; 1 = Yes duq_09
a_duq09a String 20 Recommended Number of days using designer drugs (ecstacy, MDMA, GHB, etc.) in the past 90 days (3 months or since your court date) duq_09a
a_duq09b String 20 Recommended Number of days using designer drugs (ecstacy, MDMA, GHB, etc.) with alcohol in the past 90 days (3 months or since your court date) duq_09b
a_duq09c String 20 Recommended Average number of times per day using designer drugs (ecstacy, MDMA, GHB, etc.) in the past 90 days (3 months or since your court date) duq_09c
cs13 Integer Recommended 13. Other? 0;1 0=No; 1=Yes a_duq10, duq_10
a_duq10a String 20 Recommended Number of days using other drugs in the past 90 days (3 months or since your court date) duq_10a
a_duq10b String 20 Recommended Number of days using other drugs with alcohol in the past 90 days (3 months or since your court date) duq_10b
a_duq10c String 20 Recommended Average number of times per day using other drugs in the past 90 days (3 months or since your court date) duq_10c
subus31 String 50 Recommended Specify other recreational drugs a_duq10d, duq_10d
cigarette_use Integer Recommended does participant use cigarettes? 0 = no; 1 = yes 0;1 0 = No; 1 = Yes a_duq11, duq_11
a_duq11a String 20 Recommended Number of days using cigarettes in the past 90 days (3 months or since your court date) duq_11a
a_duq11b String 20 Recommended Number of days using cigarettes with alcohol in the past 90 days (3 months or since your court date) duq_11b
a_duq11c String 20 Recommended Average number of times per day using cigarettes in the past 90 days (3 months or since your court date) duq_11c
a_duq11d String 20 Recommended On days that you smoked cigarettes, how many cigarettes did you usually smoke per day? duq_11d
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.