Skip to content

Sherlock Holmes text as Data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

EmilHvitfeldt/sherlock

Repository files navigation

sherlock

The goal of sherlock is to provide access to the full texts of Sherlock Holmes stories that are in the public domain. Text and further information regarding copyright laws can be found here.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/sherlock")

Example

The data set is available as holmes

library(sherlock)
holmes
#> # A tibble: 65,958 × 2
#>    text                                 book              
#>    <chr>                                <chr>             
#>  1 "A STUDY IN SCARLET"                 A Study In Scarlet
#>  2 ""                                   A Study In Scarlet
#>  3 "Table of contents"                  A Study In Scarlet
#>  4 ""                                   A Study In Scarlet
#>  5 "Part I"                             A Study In Scarlet
#>  6 "Mr. Sherlock Holmes"                A Study In Scarlet
#>  7 "The Science Of Deduction"           A Study In Scarlet
#>  8 "The Lauriston Garden Mystery"       A Study In Scarlet
#>  9 "What John Rance Had To Tell"        A Study In Scarlet
#> 10 "Our Advertisement Brings A Visitor" A Study In Scarlet
#> # … with 65,948 more rows

and is named in such a way that sherlock::holmes can be called

sherlock::holmes
#> # A tibble: 65,958 × 2
#>    text                                 book              
#>    <chr>                                <chr>             
#>  1 "A STUDY IN SCARLET"                 A Study In Scarlet
#>  2 ""                                   A Study In Scarlet
#>  3 "Table of contents"                  A Study In Scarlet
#>  4 ""                                   A Study In Scarlet
#>  5 "Part I"                             A Study In Scarlet
#>  6 "Mr. Sherlock Holmes"                A Study In Scarlet
#>  7 "The Science Of Deduction"           A Study In Scarlet
#>  8 "The Lauriston Garden Mystery"       A Study In Scarlet
#>  9 "What John Rance Had To Tell"        A Study In Scarlet
#> 10 "Our Advertisement Brings A Visitor" A Study In Scarlet
#> # … with 65,948 more rows

About

Sherlock Holmes text as Data

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages