RobotJelly commited on
Commit
df22f3c
1 Parent(s): 25fdf58
Files changed (1) hide show
  1. DOCS.md +109 -0
DOCS.md ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Unsplash Dataset Documentation
2
+
3
+ The Unsplash Dataset is composed of multiple TSV files:
4
+
5
+ ## 1 - photos.tsv
6
+
7
+ The `photos.tsv` dataset has one row per photo. It contains properties of the photo, the name of the contributor, the image URL, and overall stats.
8
+
9
+ | Field | Description |
10
+ |-----------------------------|-------------|
11
+ | photo_id | ID of the Unsplash photo |
12
+ | photo_url | Permalink URL to the photo page on unsplash.com |
13
+ | photo_image_url | URL of the image file. Note: this is a [dynamic URL](https://unsplash.com/documentation#dynamically-resizable-images), so you can apply [resizing and customization operations directly on the image](https://unsplash.com/documentation#supported-parameters) |
14
+ | photo_submitted_at | Timestamp of when the photo was submitted to Unsplash |
15
+ | photo_featured | Whether the photo was promoted to the [Editorial feed](https://unsplash.com/) or not |
16
+ | photo_width | Width of the photo in pixels |
17
+ | photo_height | Height of the photo in pixels |
18
+ | photo_aspect_ratio | Aspect ratio of the photo |
19
+ | photo_description | Description of the photo written by the photographer |
20
+ | photographer_username | Username of the photographer on Unsplash |
21
+ | photographer_first_name | First name of the photographer |
22
+ | photographer_last_name | Last name of the photographer |
23
+ | exif_camera_make | Camera make (brand) extracted from the EXIF data |
24
+ | exif_camera_model | Camera model extracted from the EXIF data |
25
+ | exif_iso | ISO setting of the camera, extracted from the EXIF data |
26
+ | exif_aperture_value | Aperture setting of the camera, extracted from the EXIF data |
27
+ | exif_focal_length | Focal length setting of the camera, extracted from the EXIF data |
28
+ | exif_exposure_time | Exposure time setting of the camera, extracted from the EXIF data |
29
+ | photo_location_name | Location of the photo |
30
+ | photo_location_latitude | Latitude of the photo |
31
+ | photo_location_longitude | Longitude of the photo |
32
+ | photo_location_country | Country where the photo was made |
33
+ | photo_location_city | City where the photo was made |
34
+ | stats_views | Total # of times that a photo has been viewed on the Unsplash platform |
35
+ | stats_downloads | Total # of times that a photo has been downloaded via the Unsplash platform |
36
+ | ai_description | Textual description of the photo, generated by a 3rd party AI |
37
+ | ai_primary_landmark_name | Landmark present in the photo, generated by a 3rd party AI |
38
+ | ai_primary_landmark_latitude | Latitude of the landmark, generated by a 3rd party AI |
39
+ | ai_primary_landmark_longitude | Longitude of the landmark, generated by a 3rd party AI |
40
+ | ai_primary_landmark_confidence | Landmark confidence of the 3rd party AI |
41
+ | blur_hash | [BlurHash](https://blurha.sh/) hash of the photo |
42
+
43
+ ## 2 - keywords.tsv
44
+
45
+ The `keywords.tsv` dataset has one row per photo-keyword pair. It contains data
46
+ about how a keyword is connected to a photo and the conversions of the photo our search engine for a particular keyword.
47
+
48
+ | Field | Description |
49
+ |-------------------------------|-------------|
50
+ | photo_id | ID of the Unsplash photo |
51
+ | keyword | Keyword or search term |
52
+ | ai_service_1_confidence | Confidence for the keyword from a 3rd party AI (0-100)|
53
+ | ai_service_2_confidence | Confidence for the keyword from another 3rd party AI (0-100)|
54
+ | suggested_by_user | Whether the keyword was added by a user (human) |
55
+
56
+ ## 3 - collections.tsv
57
+
58
+ *Note: A collection on Unsplash is a user created grouping of photos. These are similar to boards on Pinterest and can often group photos in complex and creative ways.*
59
+
60
+ The `collections.tsv` dataset has one row per photo-collection pair. Whenever a photo
61
+ belongs to a collection created by a user, it will appear as one row. Each row describes
62
+ when the photo was added to the collection and gives the title of the collection.
63
+
64
+ | Field | Description |
65
+ |-------------------------------|-------------|
66
+ | photo_id | ID of the Unsplash photo |
67
+ | collection_id | ID of the Unsplash collection containing the photo |
68
+ | collection_title | Title of the collection containing the photo |
69
+ | photo_collected_at | Timestamp of when the photo was added to the collection |
70
+
71
+ ## 4 - conversions.tsv
72
+
73
+ *Note: a conversion is currently defined as a user selecting an image to download it.*
74
+
75
+ The `conversions.tsv` dataset has one row per search conversion. The dataset tells you which photo has been downloaded for a search, the country of origin, and an anonymous identifier to indiciate the unique users. The data goes back up to 1 year before the release of each version of the dataset.
76
+
77
+ | Field | Description |
78
+ |-------------------------------|-------------|
79
+ | converted_at | Timestamp of the conversion event |
80
+ | conversion_type | Type of conversion (`download` only for now) |
81
+ | keyword | Keyword that was searched and led to the conversion |
82
+ | photo_id | Photo ID of the photo that converted |
83
+ | anonymous_user_id | Anonymous user ID |
84
+ | conversion_country | Country code of the device geolocation |
85
+
86
+ ## 5 - colors.tsv
87
+
88
+ *Note: The coverage and score data comes from a 3rd party AI*
89
+
90
+ The `colors.tsv` dataset has one row per major color present in the photo. The dataset tells which colors are contained within a photo, their coverage as a percentage, and a score for how in focus the color is.
91
+
92
+ | Field | Description |
93
+ |---------------------------|-------------|
94
+ | photo_id | ID of the Unsplash photo |
95
+ | hex | Hexadecimal representation of the color |
96
+ | red | Red component of the photo in the RGB system |
97
+ | green | Green component of the photo in the RGB system |
98
+ | blue | Blue component of the photo in the RGB system |
99
+ | keyword | Name of the closest color as a [CSS color keyword](https://www.w3schools.com/cssref/css_colors.asp) |
100
+ | coverage | Pixel coverage of the color as a percentage |
101
+ | score | Score of the color in the photo (including the notion of focus) |
102
+
103
+ ## Combining datasets
104
+
105
+ You can merge the different datasets through the primary key ID fields (usually the `photo_id` field). With this you'll be able to cross-reference properties from the photos dataset with data from the keywords or conversions dataset.
106
+
107
+ ----
108
+
109
+ For help loading the dataset, see the [how to docs](https://github.com/unsplash/datasets/tree/master/how-to/).