CUSTOMERS: Customer data

Description Usage Format Source References Examples

Description

This data includes the customer contact information, the customer credit limit and the sales representative assigned to the customer.

Usage

1
data("CUSTOMERS")

Format

A data frame with 122 observations on the following 13 variables.

CUSTOMERNUMBER

a numeric vector

CUSTOMERNAME

a character vector

CONTACTLASTNAME

a character vector

CONTACTFIRSTNAME

a character vector

PHONE

a character vector

ADDRESSLINE1

a character vector

ADDRESSLINE2

a character vector

CITY

a character vector

STATE

a character vector

POSTALCODE

a character vector

COUNTRY

a character vector

SALESREPEMPLOYEENUMBER

a numeric vector

CREDITLIMIT

a numeric vector

Source

http://www.eclipse.org/birt/documentation/sample-database.php

References

http://www.eclipse.org/legal/epl/notice.php

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(CUSTOMERS)
str(CUSTOMERS)
names(CUSTOMERS)
summary(CUSTOMERS)
head(CUSTOMERS)
quantile(CUSTOMERS$CREDITLIMIT)
## group and extract values
unique(CUSTOMERS$COUNTRY)
aggregate(CUSTOMERS$CREDITLIMIT, by=list(CUSTOMERS$COUNTRY), FUN=mean)

##use with the other classic.models data sets. For example make an inner join with:
##     newtable <- merge(CUSTOMERS,ORDERS)

shawngiese/classic.models documentation built on Dec. 31, 2020, 5:14 a.m.