library(jsonlite)
Introduction to R Markdown Notebooks
This is an R Markdown Notebook. When you execute code within the notebook, the results appear beneath the code.
Try executing this chunk by clicking the Run button within the chunk or by placing your cursor inside it and pressing Ctrl+Shift+Enter.
plot(cars)
Add a new chunk by clicking the Insert Chunk button on the toolbar or by pressing Ctrl+Alt+I.
When you save the notebook, an HTML file containing the code and output will be saved alongside it (click the Preview button or press Ctrl+Shift+K to preview the HTML file).
Hands-on Part I
- Using the OMDb API
- Practice geting and parsing information about your favorite movie
Hands-on Part II
- What is the title of book10?
- How many pages in book10?
- How many characters in book 10?
Bonus Round
- How many different publishers are there?
- How many books did each publisher publish?
- List each book with itβs publisher
LS0tDQp0aXRsZTogIlVzaW5nIFIgdG8gT3JjaGVzdHJhdGUgQVBJcyAtLSBIYW5kcy1vbiINCnN1YnRpdGxlOiAidXNpbmcgQW4gQVBJIE9mIEljZSBBbmQgRmlyZSINCmF1dGhvcjogIkpvaG4gTGl0dGxlIg0KZGF0ZTogJ2ByIFN5cy5EYXRlKClgJw0Kb3V0cHV0Og0KICBodG1sX25vdGVib29rOiBkZWZhdWx0DQotLS0NCg0KYGBge3IgbG9hZC1saWJyYXJpZXN9DQpsaWJyYXJ5KGpzb25saXRlKQ0KYGBgDQoNCg0KIyMjIEludHJvZHVjdGlvbiB0byBSIE1hcmtkb3duIE5vdGVib29rcw0KDQpUaGlzIGlzIGFuIFtSIE1hcmtkb3duXShodHRwOi8vcm1hcmtkb3duLnJzdHVkaW8uY29tKSBOb3RlYm9vay4gV2hlbiB5b3UgZXhlY3V0ZSBjb2RlIHdpdGhpbiB0aGUgbm90ZWJvb2ssIHRoZSByZXN1bHRzIGFwcGVhciBiZW5lYXRoIHRoZSBjb2RlLiANCg0KVHJ5IGV4ZWN1dGluZyB0aGlzIGNodW5rIGJ5IGNsaWNraW5nIHRoZSAqUnVuKiBidXR0b24gd2l0aGluIHRoZSBjaHVuayBvciBieSBwbGFjaW5nIHlvdXIgY3Vyc29yIGluc2lkZSBpdCBhbm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