300 likes | 419 Views
Databases. 21 April 2011. Presenting Data. Really easy to overdo. Use to clarify, not obfuscate Be gentle on the eyes Need to print? Use differentiable colors and symbols. Visualization and Information Design . How to present results
E N D
Databases 21 April 2011
Really easy to overdo • Use to clarify, not obfuscate • Be gentle on the eyes • Need to print? • Use differentiable colors and symbols
Visualization and Information Design • How to present results • Visualization usually refers to dynamically created results • Data • Information • Information design usually refers to crafted piece • Edward Tufte
Minard: Napoleon’s March to Moscow • Width of band shows size of army at each position. • Black band shows retreat tied to temperature and time
Data vs. Information • Data – a collection of facts made up of text, numbers and dates:Murray 35000 7/18/86 • Information - the meaning given to data in the way it is interpreted: Mr. Murray is a sales person whose annual salary is $35,000 and whose hire date is July 18, 1986.
Data Unprocessed Information Organized and communicated Knowledge Evaluated and usable Differences
What is a database? storage space for information (vs. spreadsheet: data)
Non-electronic Examples A filing cabinet, an address book, a telephone directory, a timetable, etc.
Benefits • Making information useful • Making information easily accessible • Integrating information
Name: Barry HarrisCollege: BusinessTel: 962-5555 Basic Database Concepts • Field Name: Barry Harris • A single item of data common to all records • Record Name: Barry HarrisCollege: BusinessTel: 962-5555 • A collection of data about an individual item • Table • A set of related records
Fields Basic elements of content
An Example of a Table Fields Records
Primary Keys & Foreign Keys To ensure that each record is unique in each table, we can set one field to be a Primary Key field. A Primary Key is a field that that will contain no duplicates and no blank values. Foreign Keys link to data in other tables
Other parts of a database • Tables • Forms • Queries • Reports
Forms • A friendlier view of the database • Used for data input, display and printing
Queries • A means of asking questions (querying) of your data • Can look across tables
Reports • If the query is a question... ...then the report is its answer • Tailored to the needs of the user • Allows you to group and summarize data • Cannot edit
Databases in Spreadsheets • Function can be performed • When name associated with data • BUT other tools exist to make it easier • User need not understand as much • Handles routine operations • ACCESS
Grocery Store Receipts eggs milk bread cheese plates napkins trash bags eggs cheese sour cream bread chips soup milk eggs bread butter cheese gum soda bread eggs milk cheese diapers juice Super Bowl Sunday? Diapers and beer? http://portal.acm.org/citation.cfm?doid=358108.358114
Innocuous • BabyNames • Pandora • Half.com
Borderline: Netflix • Recommending Movies • Predicting Ratings • Data-Mining Contest: • Release rating data, sans “identifying information” • Prize awarded • Additional contests: canceled • http://bits.blogs.nytimes.com/2010/03/12/netflix-cancels-contest-plans-and-settles-suit/
Borderline: Facebook • “people you may know” • Ex-boyfriend/girlfriend you don’t want to talk to…EVER • Person who used to bully you • “reconnect” • Person in coma in Australia