The Online Research Database Service (ORDS)

Similar documents
Microsoft Access Basics

Creating a Participants Mailing and/or Contact List:

I. Setting Listserv password

Access Queries (Office 2003)

Your Archiving Service

MicroStrategy Desktop

Support Desk Help Manual. v 1, May 2014

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

Microsoft Office Access 2007 which I refer to as Access throughout this book

Business Insight Report Authoring Getting Started Guide

SPHOL207: Database Snapshots with SharePoint 2013

Using Microsoft Office to Manage Projects

introduction to emarketing

On the Marketing home page, click the arrow to expand the Admin Tools area. Admin Tools

Cloudfinder for Office 365 User Guide. November 2013

Content Management System (CMS)

Getting Started with Access 2007

quick start guide A Quick Start Guide inflow Support GET STARTED WITH INFLOW

Introduction to Microsoft Access 2003

Master Data Services. SQL Server 2012 Books Online

Analyze Your Data. Salesforce, Winter

Publishing Reports in Tableau

To export data formatted for Avery labels -

State Grant Information Technology Application

Creating Online Surveys with Qualtrics Survey Tool

Custom Reporting System User Guide

INTRODUCTION TO THE PROJECT TRACKING WEB APPLICATION

emarketing Manual- Creating a New

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Teacher References archived classes and resources

Quick Start Guide to. ArcGISSM. Online

Business Portal for Microsoft Dynamics GP User s Guide Release 5.1

Introduction to Microsoft Access 2010

BID2WIN Workshop. Advanced Report Writing

Visual Studio.NET Database Projects

MICROSOFT ACCESS TABLES

User Guide. Analytics Desktop Document Number:

Business Objects 4.1 Quick User Guide

Wave Analytics Data Integration

Table of Contents 1. Contents...1

Connecting to your Database!... 3

Reduced Quality Sample

SES Project v 9.0 SES/CAESAR QUERY TOOL. Running and Editing Queries. PS Query

Cloning Opportunities for Next Year Donation Tools Task Reminders Volunteers Leads and Lead Conversion Reports...

User Services. Microsoft Access 2003 II. Use the new Microsoft

Microsoft Query, the helper application included with Microsoft Office, allows

Getting Started With SPSS

Center for Educational Performance and Information (CEPI) Student Data System (SDS)

Last Revised: 2/16/2010. Microsoft Office SharePoint 2007 User Guide

Wave Analytics Data Integration Guide

Crystal Reports Form Letters Replace database exports and Word mail merges with Crystal's powerful form letter capabilities.

Using FileMaker Pro with Microsoft Office

Your Guide to setting up Sage One Accounting from your Accountant. Setting Up Sage One Accounting

Infoview XIR3. User Guide. 1 of 20

Access 2010 Intermediate Skills

Crystal Reports Payroll Exercise

Microsoft SQL Server 2005 Reporting Services Step by Step

Cloud. Hosted Exchange Administration Manual

Access Database Design

Sending a LYBUNTS Using imodules. 3/17/14 Version

Virtual Communities Operations Manual

Vodafone Business Product Management Group. Hosted Services Announcer Pro V4.6 User Guide

Word 2010: Mail Merge to with Attachments

Google Docs: Share and collaborate

SonicWALL GMS Custom Reports

Mail Merge Microsoft Word and Excel Queries Scott Kern Senior Consultant

Wave Analytics Platform Setup Guide

Microsoft Access Glossary of Terms

Instructions for Creating or Validating Your Cana Online Account

AVG Business SSO Partner Getting Started Guide

CRM 2013 Customizations

Utilities ComCash

Getting Started - The Control Panel

WatchDox Administrator's Guide. Application Version 3.7.5

VIP Adminstration. Molex VIP What s New Multi-Line Design

StrataJazz Release Notes

ELOQUA INSIGHT Reporter User Guide

Contents COMBO SCREEN FOR THEPATRON EDGE ONLINE...1 TICKET/EVENT BUNDLES...11 INDEX...71

How To Create A Report In Excel

CONTENTS MANUFACTURERS GUIDE FOR PUBLIC USERS

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Introduction to Microsoft Access 2013

Microsoft' Excel & Access Integration

Contents Release Notes System Requirements Using Jive for Office

Dell KACE K1000 Management Appliance. Asset Management Guide. Release 5.3. Revision Date: May 13, 2011

Spambrella SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Contactegration for The Raiser s Edge

Search help. More on Office.com: images templates

Beginning Oracle. Application Express 4. Doug Gault. Timothy St. Hilaire. Karen Cannell. Martin D'Souza. Patrick Cimolini

Module 9 Ad Hoc Queries

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Important Information

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Transcription:

The Online Research Database Service (ORDS) Monday, 2 nd November, 2015 Dr James A J Wilson & Dr Meriel Patrick ords@it.ox.ac.uk

What is the ORDS? Online Research Database Service Simple online database management system for research data Designed and developed by University of Oxford IT Services Free service Part of a wider drive to facilitate good research data management Good documentation Open formats Low overheads http://researchdata.ox.ac.uk/

What isn t the ORDS? Visualization tool Sophisticated system for designing forms and reports Approved for sensitive non-anonymized patient data Designed for big data

Background Response to 2009 survey of researcher requirements Initially developed for collaborative humanities projects Scope since expanded to cover all academic disciplines Funded from a mixture of internal money and JISC / HEFCE funding Launched in August 2014 Development work is on-going

What can you do with the ORDS? Administer projects Import & export data Design & restructure databases Archive data (forthcoming) Securely host databases Feed data to websites Edit data Query & share data

What else can you do with the ORDS? Collaborate with researchers at Oxford and beyond Assign different roles to different project members See who s done what Make different versions of your databases Edit ORDS data via your own choice of database management software

Why use ORDS? (as opposed to other database software) Secure, centrally-hosted, backed-up every night Built for collaboration Easy to expose data to public Can save datasets and reference them from publications Simple, relatively intuitive interface Open-source, and with in-house expertise Simple to archive (forthcoming) Free!

Let s get started Registering Logging in Creating a project Trial & full projects Defining project membership

Logging in Oxford users log in using Single Sign-On (same as for email access and other services) External collaborators can log-in using their local equivalent of SSO, if their institution is part of the UK Access Federation Collaborators outside of the UK Access Federation can apply for a Virtual Card Log in THEN register Log in via http://app.ords.ox.ac.uk/ (normally), but today use: https://staging.ords.ox.ac.uk/

Creating a new project Only Oxford users can create a new project One project may contain multiple databases Requires some basic information Trial and full projects

Defining project membership Projects can have multiple members Each member can have one of four levels of permission Owner Administrator Contributor Viewer New members added by email address

Creating a database in ORDS Defining a database Importing an existing database Importing spreadsheets Creating a database from scratch Database versions

Navigation Project Page Database Page Schema editor Data editor Add new record form Public Search View / edit / query Query interfaces Dataset list

Relational databases ORDS is a relational database management system Underlying database format is PostgreSQL Data can be imported from other RDMS Directly from Microsoft Access files SQL dumps Indirectly as comma-separated values (.csv files) Spreadsheets can be imported and stitched together to form relational databases Data can be exported as SQL dumps and as.csv files

Defining a database Need to create a logical database to get started Information should enable you, the team, and possibly the wider community to understand your data

Importing databases and spreadsheets Select the file containing your data and upload it Access databases SQL databases.csv files Spreadsheets must be uploaded one at a time in.csv format May need to be tidied up first Can t mix spreadsheets and databases

Database versions Main database The principal version of the database Deleting the main database deletes all other versions Milestone database Intended to host a stable version of the database Good for public sharing Test Database A good version for trying out potentially risky restructuring Can overwrite the main database once changes are verified

Turn to exercises 1 to 3 in the course handbook https://staging.ords.ox.ac.uk/

Changing database structures with ORDS Understanding relationships Adding tables and fields Editing field types Defining relationships

Navigation Project Page Database Page Schema editor Data editor Add new record form Public Search View / edit / query Query interfaces Dataset list

Relationships between tables Different types of thing go into different tables Fields in a table represent the different properties of that sort of thing Relationships between things consist of three types One-to-many Many-to-many One-to-one

Relationships between tables

Adding new tables and fields Toolbar contains buttons to add tables and new fields To place a new table, simply click on the button, then in the working area Tables are given a default primary key To add a new field, click once on the table, then on the add field button in the toolbar Working area Toolbar Thumbnail map

Field types Click on a field to expand it Select a field type from the drop-down list Basic types are: Text Integer Decimal Others are explained within the interface and in the course book

Defining relationships Two methods: Select a primary key field in a table (this is the one part of the one-to-many relationship), then connect foreign key, then on the related field in another table (the many part of the one-tomany relationship) Select a primary key field in a table, then create foreign key, then on the related table (the linked field will be created) For many-to-many relationships, you will need to create an intermediary table

What PostgreSQL doesn t like Duplicate table and field names Data that contradicts the defined data type Relationships between fields of different types May cause problems if database is exported for use in other SQL systems: Table or field names beginning with a number Spaces in table and field names

Editing data in ORDS Editing data Working with linked tables Adding new records Deleting records

Navigation Project Page Database Page Schema editor Data editor Add new record form Public Search View / edit / query Query interfaces Dataset list

Editing data Click in a cell to edit the data Click save changes to enter the data Linked fields are different Only allow selection of records in the linked table 100 records displayed per screen

Adding new records Data entry form generated automatically by ORDS Each field type indicated Choice of displayed field for linked tables ORDS team can help with bulk uploads

Filtering data Filters reduce the number of records displayed to only those you re interested in Can apply filters to any field Filtering for null values can quickly highlight missing data

Deleting records Simply click delete You cannot delete a record which another record is referencing

Turn to exercises 4 and 5 in the course handbook

Querying data Using the query builder Working with SQL Conditional queries Exporting and analysing results

Navigation Project Page Database Page Schema editor Data editor Add new record form Public Search View / edit / query Query interfaces Dataset list

ORDS Query Builder Select the tables and which fields you would like to view The SQL query box is automatically populated The ORDS will warn you if there isn t a defined relationship between selected tables

Query results May be: Sorted Exported Saved Published

SQL queries Much more sophisticated queries are possible using SQL Can add to the SQL queries generated using the query builder Enables data to be pulled from multiple tables SELECT statements indicate which fields should be returned FROM statements indicate the table(s) in which those fields are to be found JOIN / ON statements are used when you wish to query multiple tables WHERE statement provide the conditions that a record must meet in order to be listed in results; AND and OR can be used for advanced queries ORDER BY statements control the order in which results are returned

Saving and sharing datasets Saving and re-running queries Static and dynamic datasets Sharing and publishing datasets Exporting entire databases

Navigation Project Page Database Page Schema editor Data editor Add new record form Public Search View / edit / query Query interfaces Dataset list

Saving and sharing datasets Export query results as.csv Save as a dataset For group or public sharing static and dynamic option Saved datasets can be re-run and edited Public datasets viewable via the ORDS interface

Exporting entire databases Whole databases can be exported from the database page Three export options SQL; multiple.csv files; single.csv file Enables easy switching between database management software Enables snapshots of databases and local copies

Future developments Launched in August 2014, development on-going We ll be adding: One-click data deposit mechanism Conditional query builder Easier ODBC access (for editing data using other software) Improved interface (for long text fields, etc.) Image-handling capabilities Also intending to enable use by other universities

Support with ORDS ORDS supported by Research Support Group (IT Services): Data upload and merging SQL queries Resolving bugs and issues IT Services also offer: Hands-on courses on using ORDS Courses relating to relational database design Project website development (with ORDS back-end) ORDS user group to be formed shortly

Accessing the ORDS The ORDS: https://app.ords.ox.ac.uk/ The documentation: http://ords.ox.ac.uk/ To contact the team: ords@it.ox.ac.uk Subscribe to the ORDS mailing list at: sympa@maillist.ox.ac.uk

Turn to exercises 6 and 7 in the course handbook