get_hardware: get The Setup's hardware data

Description Usage Arguments See Also Examples

Description

retrieves either the metadata about hardware entries on The Setup, or the data to do with a particular piece of hardware, depending on the provided input.

Usage

1

Arguments

item

the name of the specific hardware; this can be found by looking at the hardware data in the return from get_interviews. Alternately, in the absence of any provided hardware names, the /meta/data associated with all hardware entries on The Setup will instead be returned, and this includes the names.

...

further arguments to pass to httr's GET.

See Also

get_software and get_interviews, for similar functionality for hardware and full interviews.

Examples

1
2
3
4
5
6
7
#Get ALL the metadata!
all_hardware <- get_hardware()

#How many mac users does the site have?
photoshop_data <- get_hardware("macbook-pro")
#These people are a bit mac-happy, but it's okay, I'm sure they give generously to charity
#and are kind to small children. We can probably forgive them.

Ironholds/zebr documentation built on May 7, 2019, 6:44 a.m.