Dataset Properties: /Documentation (2024)

The properties of a dataset include how it is keyed, categorized, and shown or shared.

  • Dataset Properties Page
  • Action Buttons
  • Edit Dataset Properties
    • Data Row Uniqueness
    • Additional Key Fields
    • Using Time as an Additional Key
    • Advanced Settings
  • Edit Dataset Fields

Dataset Properties Page

Administrators can view and edit dataset properties either by clicking the name of a dataset from the Manage Datasets page, or by clicking Manage from the grid itself.

Dataset Properties: /Documentation (1)

Users with the Editor role in the study can edit data but not the properties of the dataset. These users can view the properties page by clicking Details above a dataset grid. They will see the button to Show Import History only.

Dataset Properties: /Documentation (2)

Non-administrators with Reader access (or higher) can click the Details link above a dataset grid to see, but not change, dataset properties.

Action Buttons

Buttons offer the following options to administrators.

  • View Data: See the current contents of the dataset.
  • Edit Associated Visits/Timepoints: Select the visits/timepoints where data will be collected.
  • Manage Datasets: Click to go to the page for managing all datasets.
  • Delete Dataset: Delete the selected dataset including its definition and properties as well as all data rows and visitmap entries. You will be asked for confirmation as this action cannot be undone. After deleting a dataset, it is advisable to recalculate visits/dates and/or delete unused visits in order to clear any empty visit and participant references that may remain in the study.
  • Delete All Rows: Deletes all data rows, but the dataset definition and properties will remain. You will be asked for confirmation as this action cannot be undone.
  • Show Import History (Editor and higher roles): Shows the files that were uploaded to the dataset after its initial creation. If a file was used to create/infer the dataset it will not appear here, nor will records that were added/updated individually.
  • Edit Definition: Modify dataset properties and add or modify the dataset fields.

Edit Dataset Properties

From the manage page, admins can click Edit Definition to edit the properties:

Dataset Properties: /Documentation (3)

  • Name: Required. This name must be unique. It is used when identifying datasets during data upload and cannot match the name of any existing dataset, including system tables such as "Cohort" or the table created for the "Subject Noun Singular" (i.e. the term used for study subjects).
  • Label: The name of the dataset shown to users. If no Label is provided, the Name is used.
  • Description: An optional longer description of your dataset.
  • Category: Assigning a category to a dataset will group it with similar datasets in the navigator and data browser. Select an existing category from the dropdown, or type a new one in this box to add it. Learn more about categories in this topic: Manage Categories.

Data Row Uniqueness

In the Data Row Uniqueness section, select how the dataset is keyed, meaning how unique rows are determined. Note that changing the keying of a populated dataset may not be possible (or desirable).

  • Participants only (demographic data): There is one row per participant.
    • For example, enrollment data is collected once per participant.
    • Each participant has a single date of birth.
  • Participants and timepoints/visits: There is (at most) one row per participant at each timepoint or visit.
    • For example, physical exams would only be performed once for each participant at each visit. Fields here would have one measured value for a subject at a time, but there might be many rows for that subject: one for each time the value was measured.
    • Each participant/visit yields a single value for weight.
  • Participants, timepoints, and additional key field: If there may be multiple rows for a participant/visit combination, such as assay data from testing a sample taken at an appointment, you would need a third key. Details are below.
    • Additional Key Field: Select the field that will uniquely identify rows alongside participant and time.
    • For example, each blood sample taken from a participant at a visit is run through a series of different tests with many results for that person on that day.

Additional Key Fields

Some datasets may have more than one row for each participant/visit (i.e. time) pairing. For example, a sample taken from a participant at that visit might be tested for neutralizing antibodies to several different virus strains. Each test (participant/visit/virus combination) could then become a single unique row of a dataset. See example table below. These data rows are not "legal" in a standard dataset because they have the same participant/visit values. An additional key field is needed.

ParticipantIdVisitVirusIdReadingConcentration
PT-10110Virus1273127.87770%
PT-10110Virus228788.0280%

You have several options for this additional key:

  • User Managed Key: If you know that there will always be a unique value in a data column, such as VirusId in the above example, you can use that data column to define row uniqueness.
    • Select the column to use using the Additional Key Field pulldown, which will list the fields in the dataset.
    • You will provide the value for this column and manage row uniqueness yourself.
    • Note that if you also check the box to let the server manage your key, the setting in this dropdown will be ignored and a system key will be used instead.
  • The time portion of the date time field in a time-based or continuous study:
    • If a test reports a reading every few minutes, you could use the time portion of the date column.
    • Depending on how close together your events are, this may or may not provide row uniqueness.
  • System Managed Key: If your data does not fit either of the above, you can create a new integer or text field that the server will auto-populate to keep rows unique. For example, you might create a new (empty) field called "ThirdKey", and click the checkbox below:
    • Let server manage fields to make entries unique: When checked, the server will add values to the selected field to ensure row uniqueness. Integer fields will be assigned auto-incrementing integer values; Text fields will be assigned globally unique identifiers (GUIDs).
    • Note that you should not use this option for existing data columns or if you will be providing values for this field, such as in the above VirusId example.

Note that when creating a new dataset and configuring additional keys, you may see error messages in the wizard as you cannot select a field until you have added it in the Fields section next.

You should also use caution whenever editing an existing dataset's keying. It is possible to get your dataset into an invalid configuration. For example, if you have a three-key dataset and edit the keying to be "demographic", you will see unique-constraint violations.

Using Time as an Additional Key

In a date-based or continuous study, an additional third key option is to use the Time (from Date/Time) portion of a DateTime field. In cases where multiple measurements happen on a given day or visit (tracking primate weight for example), the time portion of the date field can be used as an additional key without requiring duplication of this information in an additional column.

Dataset Properties: /Documentation (4)

Advanced Settings

Miscellaneous options are offered if you click Advanced Settings for dataset properties:

  • Show dataset in overview: Checked by default; uncheck if you don't want to include this dataset in the overview grid.
  • DatasetID: By default, dataset IDs are automatically assigned. If you want to specify your own, use this option. All datasets must have a unique dataset ID.
  • Cohort Association: If this dataset should be associated with a specific cohort only, select it here, otherwise all datasets are associated with any cohort.
  • Tag: Use tags to provide additional ways to categorize your datasets.

Dataset Properties: /Documentation (5)

Edit Dataset Fields

Below the dataset properties, you will see the set of fields, or columns, in your dataset. To edit fields and their properties, follow the instructions in this topic: Field Editor.

Dataset Properties: /Documentation (6)

Add Additional Indices

In addition to the primary key, you can define another field in a dataset as a key or index, i.e. requiring unique values. Use the field editor Advanced Settings for the field and check the box to Require all values to be unique.


Premium Resource Available

Subscribers to premium editions of LabKey Server can learn more about adding an additional index to a dataset in this topic:

  • Premium Resource: Manual Index Creation

Learn more about premium editions

Related Topics

  • Manage Datasets
  • Dataset System Fields
  • Create and Populate Datasets
  • Field Editor

Premium Resource Available

Subscribers to premium editions of LabKey Server can how to add an index to a dataset in this topics:

  • Premium Resource: Manual Index Creation

Learn more about premium editions

Dataset Properties: /Documentation (2024)
Top Articles
Credit Card With $5,000 Limit With Bad Credit
Understanding the Federal Reserve's Role in Mortgage Rates
Fighter Torso Ornament Kit
Walgreens Harry Edgemoor
Riverrun Rv Park Middletown Photos
Western Union Mexico Rate
Rabbits Foot Osrs
Craglist Oc
How to know if a financial advisor is good?
Craigslist In South Carolina - Craigslist Near You
Directions To Lubbock
Publix 147 Coral Way
2013 Chevy Cruze Coolant Hose Diagram
Mission Impossible 7 Showtimes Near Regal Bridgeport Village
Craigslist Pets Southern Md
2015 Honda Fit EX-L for sale - Seattle, WA - craigslist
Puretalkusa.com/Amac
"Une héroïne" : les funérailles de Rebecca Cheptegei, athlète olympique immolée par son compagnon | TF1 INFO
Dtab Customs
Band Of Loyalty 5E
Jang Urdu Today
Td Small Business Banking Login
Nearest Walgreens Or Cvs Near Me
Poe Str Stacking
Contracts for May 28, 2020
What Time Does Walmart Auto Center Open
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Truvy Back Office Login
Gt7 Roadster Shop Rampage Engine Swap
Darknet Opsec Bible 2022
Why Are The French So Google Feud Answers
Kids and Adult Dinosaur Costume
Craigslist Free Puppy
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Usf Football Wiki
Bbc Gahuzamiryango Live
Duff Tuff
Wattengel Funeral Home Meadow Drive
Mvnt Merchant Services
Busted Newspaper Mcpherson Kansas
Pathfinder Wrath Of The Righteous Tiefling Traitor
'The Nun II' Ending Explained: Does the Immortal Valak Die This Time?
La Qua Brothers Funeral Home
Value Village Silver Spring Photos
Take Me To The Closest Ups
25100 N 104Th Way
Pilot Travel Center Portersville Photos
ESPN's New Standalone Streaming Service Will Be Available Through Disney+ In 2025
Dmv Kiosk Bakersfield
Les BABAS EXOTIQUES façon Amaury Guichon
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 6121

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.