Sicheng2000 / lab-08

Lab 08: Pattern discovery
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Issue of acquiring data #1

Open Sicheng2000 opened 8 months ago

Sicheng2000 commented 8 months ago

@francojc Professor, I have a problem acquiring data on British and American Literature from the mid-19th century using the code provided in the README. Could you please advise me on how to obtain this data? Thank you in advance!

image
francojc commented 7 months ago

@Sicheng2000 You might need to check the Project Gutenberg website for the 2147 record. Or you can use the gutenberg_metadata data frame that is part of {gutenbergr} to filter for an ID with 2147, to inspect this record.

library(gutenbergr)
library(dplyr)

gutenberg_metadata |> filter(gutenberg_id == 2147)

Have you pushed this code to your repo? If so, let me know. I can take a better look at your code.