{"id":245,"date":"2020-11-17T15:06:58","date_gmt":"2020-11-17T15:06:58","guid":{"rendered":"http:\/\/burmistrov-srv.xyz\/blog\/?p=245"},"modified":"2020-11-17T15:06:58","modified_gmt":"2020-11-17T15:06:58","slug":"data-science-and-books","status":"publish","type":"post","link":"https:\/\/burmistrov.xyz\/blog\/?p=245","title":{"rendered":"Data Science and Books"},"content":{"rendered":"\n<p>Last week I completed R basic course on EdX by Harvard University.  It is not as challenging as John Hopnins&#8217;es course, but well-organized and with lots of examples. The only bad thing happened at the end of the course when they raised the certificate price from 49 to 149 dollars. At first, I was sure that it&#8217;s a joke or kind of bug, but then I was forced to apply on financial support and got 90% discount. <\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"621\" src=\"https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/DS_R_basic-1024x621.jpg\" alt=\"\" class=\"wp-image-246\" srcset=\"https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/DS_R_basic-1024x621.jpg 1024w, https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/DS_R_basic-300x182.jpg 300w, https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/DS_R_basic-768x466.jpg 768w, https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/DS_R_basic.jpg 1161w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> After the course, I decided to play around with open data. I ended up on Moscow city open date <a href=\"https:\/\/data.mos.ru\/opendata?categoryId=6&amp;IsActual=true\">site<\/a>. After a short look, I decided to see the most popular books for different years among the users of Moscow libraries. I wrote a quick script to find out the book and author with the best rating for each year. <\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">library(\"readxl\")\nlibrary(\"dplyr\")\nmy_data &lt;- read_excel(\"data-29434-2020-04-29.xlsx\")\np&lt;-my_data %>%filter(PopularityRating  == 1)%>%select(Year, BookTitle, Author, Genre)\np<\/pre>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\"><div class=\"wp-block-group__inner-container\"><\/div><\/div>\n\n\n\n<p>And results were predictable at first, but then I saw that autor I have never heard became first twice! <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"119\" src=\"https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/top_books.jpg\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/top_books.jpg 687w, https:\/\/burmistrov.xyz\/blog\/wp-content\/uploads\/2020\/11\/top_books-300x52.jpg 300w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><\/figure>\n\n\n\n<p>Looks like I need to put aside English literature and fill the gap in Russian culture. <\/p>\n\n\n\n<p>Unfortunately, I was not able to read data in CSV and JSON format, and data lack of quantitative data, like numbers of checkout. But anyway, it&#8217;s a good experience and a nice way to practice playing with data<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I completed R basic course on EdX by Harvard University. It is not as challenging as John Hopnins&#8217;es course, but well-organized and with lots of examples. The only bad thing happened at the end of the course when they raised the certificate price from 49 to 149 dollars. At first, I was sure [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,6],"tags":[43,58,124],"class_list":["post-245","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-books","category-data-science","category-education","tag-books","tag-data-science","tag-open-data"],"_links":{"self":[{"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=245"}],"version-history":[{"count":0,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=\/wp\/v2\/media\/248"}],"wp:attachment":[{"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burmistrov.xyz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}