{"id":76297,"date":"2020-04-01T13:42:31","date_gmt":"2020-04-01T11:42:31","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest"},"modified":"2020-04-01T13:42:31","modified_gmt":"2020-04-01T11:42:31","slug":"razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest","title":{"rendered":"Verschachtelte Spalten \u2013 Listen mit der Programmiersprache R erstellen (Paket tidyr und die Funktionen der unnest-Familie)","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u043e\u0442 API, \u0438\u043b\u0438 \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 JSON \u0438 XML.<\/p>\n<p><\/p>\n<p>\u042d\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432: \u043e\u043d\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e \u0445\u0440\u0430\u043d\u044f\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0438\u0437\u043b\u0438\u0448\u043d\u0435\u0433\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. <\/p>\n<p><\/p>\n<p>\u041c\u0438\u043d\u0443\u0441\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u041d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u0445 \u0438 \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b &mdash; \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 R (\u043f\u0430\u043a\u0435\u0442 tidyr \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 unnest)\" src=\"\/wp-content\/uploads\/2020\/04\/4d41c31ddcad8949f2f996898009476b.jpg\" style=\"display:block;margin: 0 auto;\" \/>\n<\/p>\n<p><\/p>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/444622\/\">&quot;R \u043f\u0430\u043a\u0435\u0442 tidyr \u0438 \u0435\u0433\u043e \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 pivot_longer \u0438 pivot_wider&quot;<\/a><\/noindex>. \u041e\u043d\u0430 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u0430\u043c \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u043c\u0443, \u0438 \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u043a\u0435\u0442\u0430 <code>tidyr<\/code>, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0432 \u044f\u0434\u0440\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <code>tidyverse<\/code>, \u0438 \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 <code>unnest_*()<\/code>. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h1 id=\"soderzhanie\">\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h1>\n<p><\/p>\n<p><em>\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0435\u0441\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0430\u043c \u0431\u0443\u0434\u0443\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043c\u043e\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/R4marketing\" rel=\"nofollow\">telegram<\/a><\/noindex> \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.youtube.com\/R4marketing\/?sub_confirmation=1\" rel=\"nofollow\">youtube<\/a><\/noindex> \u043a\u0430\u043d\u0430\u043b\u044b. \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u044b \u044f\u0437\u044b\u043a\u0443 R.<\/em><\/p>\n<p><\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"#vvedenie\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#polzovateli-github\">\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 GitHub<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#repozitorii-github\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 Github<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#personazhi-igry-prestolov\">\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0418\u0433\u0440\u044b \u041f\u0440\u0435\u0441\u0442\u043e\u043b\u043e\u0432<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#geokodirovanie-s-pomoschyu-google\">\u0413\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Google<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#diskografiya-sharly-gelfand\">\u0414\u0438\u0441\u043a\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0428\u0430\u0440\u043b\u044b \u0413\u0435\u043b\u044c\u0444\u0430\u043d\u0434<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/a><\/noindex><\/li>\n<\/ol>\n<p><\/p>\n<h1 id=\"vvedenie\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h1>\n<p><\/p>\n<p><strong>Rectangling<\/strong> <em>(\u043f\u0440\u0438\u043c. \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430, \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0435\u0433\u043e \u043a\u0430\u043a \u0435\u0441\u0442\u044c.)<\/em> \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438 \u043a \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0438\u0437 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0445 \u043d\u0430\u043c \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432. \u0412 <code>tidyr<\/code> \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0432\u0430\u043c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b-\u0441\u043f\u0438\u0441\u043a\u0438 \u0438 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439, \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435:<\/p>\n<p><\/p>\n<ul>\n<li><code>unnest_longer()<\/code> \u0431\u0435\u0440\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430-\u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.<\/li>\n<li><code>unnest_wider()<\/code> \u0431\u0435\u0440\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430-\u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446.<\/li>\n<li><code>unnest_auto()<\/code> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u0430\u043a\u0443\u044e \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c<br \/>\n<code>unnest_longer()<\/code> \u0438\u043b\u0438 <code>unnest_wider()<\/code>.<\/li>\n<li><code>hoist()<\/code> \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 <code>unnest_wider()<\/code> \u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438.<\/li>\n<\/ul>\n<p><\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c \u043d\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043a \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c, \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u0443\u044f \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441 dplyr.<\/p>\n<p><\/p>\n<p>\u0414\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u044d\u0442\u0438\u0445 \u043f\u0440\u0438\u0435\u043c\u043e\u0432, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442 <code>repurrrsive<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0445, \u043c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0438\u0437 \u0432\u0435\u0431-API.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">library(tidyr)\nlibrary(dplyr)\nlibrary(repurrrsive)<\/code><\/pre>\n<p><\/p>\n<h1 id=\"polzovateli-github\">\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 GitHub<\/h1>\n<p><\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 <em>gh_users<\/em>, \u0441\u043f\u0438\u0441\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0448\u0435\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u0445 GitHub. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a <em>gh_users<\/em> \u0432 <em>tibble<\/em> \u0444\u0440\u0435\u0439\u043c.:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">users &lt;-   tibble( user = gh_users ) <\/code><\/pre>\n<p><\/p>\n<p>\u042d\u0442\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c: \u0437\u0430\u0447\u0435\u043c \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a <em>gh_users<\/em>, \u043a \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0434\u0430\u043d\u043d\u044b\u0445? \u041d\u043e \u0443 \u0434\u0430\u0442\u0430 \u0444\u0440\u0435\u0439\u043c\u0430 \u0435\u0441\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e: \u043e\u043d \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u0441\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0435.<\/p>\n<p><\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <code>users<\/code> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0442\u043e\u043b\u0431\u0435\u0446.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">names(users$user[[1]])\n#&gt;  [1] &quot;login&quot;               &quot;id&quot;                  &quot;avatar_url&quot;         \n#&gt;  [4] &quot;gravatar_id&quot;         &quot;url&quot;                 &quot;html_url&quot;           \n#&gt;  [7] &quot;followers_url&quot;       &quot;following_url&quot;       &quot;gists_url&quot;          \n#&gt; [10] &quot;starred_url&quot;         &quot;subscriptions_url&quot;   &quot;organizations_url&quot;  \n#&gt; [13] &quot;repos_url&quot;           &quot;events_url&quot;          &quot;received_events_url&quot;\n#&gt; [16] &quot;type&quot;                &quot;site_admin&quot;          &quot;name&quot;               \n#&gt; [19] &quot;company&quot;             &quot;blog&quot;                &quot;location&quot;           \n#&gt; [22] &quot;email&quot;               &quot;hireable&quot;            &quot;bio&quot;                \n#&gt; [25] &quot;public_repos&quot;        &quot;public_gists&quot;        &quot;followers&quot;          \n#&gt; [28] &quot;following&quot;           &quot;created_at&quot;          &quot;updated_at&quot;<\/code><\/pre>\n<p><\/p>\n<p>\u0415\u0441\u0442\u044c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u043f\u0438\u0441\u043a\u0430 \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u044b. <code>unnest_wider()<\/code> \u0431\u0435\u0440\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">users %&gt;% unnest_wider(user)\n#&gt; # A tibble: 6 x 30\n#&gt;   login     id avatar_url gravatar_id url   html_url followers_url\n#&gt;   &lt;chr&gt;  &lt;int&gt; &lt;chr&gt;      &lt;chr&gt;       &lt;chr&gt; &lt;chr&gt;    &lt;chr&gt;        \n#&gt; 1 gabo\u2026 6.60e5 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 2 jenn\u2026 5.99e5 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 3 jtle\u2026 1.57e6 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 4 juli\u2026 1.25e7 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 5 leep\u2026 3.51e6 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 6 masa\u2026 8.36e6 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; # \u2026 with 23 more variables: following_url &lt;chr&gt;, gists_url &lt;chr&gt;,\n#&gt; #   starred_url &lt;chr&gt;, subscriptions_url &lt;chr&gt;, organizations_url &lt;chr&gt;,\n#&gt; #   repos_url &lt;chr&gt;, events_url &lt;chr&gt;, received_events_url &lt;chr&gt;,\n#&gt; #   type &lt;chr&gt;, site_admin &lt;lgl&gt;, name &lt;chr&gt;, company &lt;chr&gt;, blog &lt;chr&gt;,\n#&gt; #   location &lt;chr&gt;, email &lt;chr&gt;, public_repos &lt;int&gt;, public_gists &lt;int&gt;,\n#&gt; #   followers &lt;int&gt;, following &lt;int&gt;, created_at &lt;chr&gt;, updated_at &lt;chr&gt;,\n#&gt; #   bio &lt;chr&gt;, hireable &lt;lgl&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 30 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432, \u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u043e <code>unnest_wider()<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>hoist()<\/code>. <code>hoist()<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u0442 \u0436\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441, \u0447\u0442\u043e \u0438 <code>purrr::pluck()<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">users %&gt;% hoist(user, \n  followers = &quot;followers&quot;, \n  login = &quot;login&quot;, \n  url = &quot;html_url&quot;\n)\n#&gt; # A tibble: 6 x 4\n#&gt;   followers login       url                            user             \n#&gt;       &lt;int&gt; &lt;chr&gt;       &lt;chr&gt;                          &lt;list&gt;           \n#&gt; 1       303 gaborcsardi https:\/\/github.com\/gaborcsardi &lt;named list [27]&gt;\n#&gt; 2       780 jennybc     https:\/\/github.com\/jennybc     &lt;named list [27]&gt;\n#&gt; 3      3958 jtleek      https:\/\/github.com\/jtleek      &lt;named list [27]&gt;\n#&gt; 4       115 juliasilge  https:\/\/github.com\/juliasilge  &lt;named list [27]&gt;\n#&gt; 5       213 leeper      https:\/\/github.com\/leeper      &lt;named list [27]&gt;\n#&gt; 6        34 masalmon    https:\/\/github.com\/masalmon    &lt;named list [27]&gt;<\/code><\/pre>\n<p><\/p>\n<p><code>hoist()<\/code> \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430-\u0441\u0442\u043e\u043b\u0431\u0446\u0430 <em>user<\/em>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c <code>hoist()<\/code> \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u0430\u0442\u0430 \u0444\u0440\u0435\u0439\u043c\u0430 \u043a \u0435\u0433\u043e \u0432\u0435\u0440\u0445\u043d\u0435\u043c\u0443 \u0443\u0440\u043e\u0432\u043d\u044e.<\/p>\n<p><\/p>\n<h1 id=\"repozitorii-github\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 Github<\/h1>\n<p><\/p>\n<p>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 <code>gh_repos<\/code> \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044f \u0435\u0433\u043e \u0432 <code>tibble<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">repos &lt;- tibble(repo = gh_repos)\nrepos\n#&gt; # A tibble: 6 x 1\n#&gt;   repo       \n#&gt;   &lt;list&gt;     \n#&gt; 1 &lt;list [30]&gt;\n#&gt; 2 &lt;list [30]&gt;\n#&gt; 3 &lt;list [30]&gt;\n#&gt; 4 &lt;list [26]&gt;\n#&gt; 5 &lt;list [30]&gt;\n#&gt; 6 &lt;list [30]&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <em>user<\/em> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0445 \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 <em>(\u043f\u0440\u0438\u043c. tidy data)<\/em> \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u0442\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438, \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0447\u0435\u043c \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <code>unnest_longer()<\/code> \u0430 \u043d\u0435 <code>unnest_wider()<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">repos &lt;- repos %&gt;% unnest_longer(repo)\nrepos\n#&gt; # A tibble: 176 x 1\n#&gt;    repo             \n#&gt;    &lt;list&gt;           \n#&gt;  1 &lt;named list [68]&gt;\n#&gt;  2 &lt;named list [68]&gt;\n#&gt;  3 &lt;named list [68]&gt;\n#&gt;  4 &lt;named list [68]&gt;\n#&gt;  5 &lt;named list [68]&gt;\n#&gt;  6 &lt;named list [68]&gt;\n#&gt;  7 &lt;named list [68]&gt;\n#&gt;  8 &lt;named list [68]&gt;\n#&gt;  9 &lt;named list [68]&gt;\n#&gt; 10 &lt;named list [68]&gt;\n#&gt; # \u2026 with 166 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>unnest_wider()<\/code> \u0438\u043b\u0438 <code>hoist()<\/code> :<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">repos %&gt;% hoist(repo, \n  login = c(&quot;owner&quot;, &quot;login&quot;), \n  name = &quot;name&quot;,\n  homepage = &quot;homepage&quot;,\n  watchers = &quot;watchers_count&quot;\n)\n#&gt; # A tibble: 176 x 5\n#&gt;    login       name        homepage watchers repo             \n#&gt;    &lt;chr&gt;       &lt;chr&gt;       &lt;chr&gt;       &lt;int&gt; &lt;list&gt;           \n#&gt;  1 gaborcsardi after       &lt;NA&gt;            5 &lt;named list [65]&gt;\n#&gt;  2 gaborcsardi argufy      &lt;NA&gt;           19 &lt;named list [65]&gt;\n#&gt;  3 gaborcsardi ask         &lt;NA&gt;            5 &lt;named list [65]&gt;\n#&gt;  4 gaborcsardi baseimports &lt;NA&gt;            0 &lt;named list [65]&gt;\n#&gt;  5 gaborcsardi citest      &lt;NA&gt;            0 &lt;named list [65]&gt;\n#&gt;  6 gaborcsardi clisymbols  &quot;&quot;             18 &lt;named list [65]&gt;\n#&gt;  7 gaborcsardi cmaker      &lt;NA&gt;            0 &lt;named list [65]&gt;\n#&gt;  8 gaborcsardi cmark       &lt;NA&gt;            0 &lt;named list [65]&gt;\n#&gt;  9 gaborcsardi conditions  &lt;NA&gt;            0 &lt;named list [65]&gt;\n#&gt; 10 gaborcsardi crayon      &lt;NA&gt;           52 &lt;named list [65]&gt;\n#&gt; # \u2026 with 166 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <code>c(&quot;owner&quot;, &quot;login&quot;)<\/code>: \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0438\u0437 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 <code>owner<\/code>. \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a <code>owner<\/code> \u0438 \u0437\u0430\u0442\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>unnest_wider()<\/code> \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u0441\u0442\u043e\u043b\u0431\u0435\u0446:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">repos %&gt;% \n  hoist(repo, owner = &quot;owner&quot;) %&gt;% \n  unnest_wider(owner)\n#&gt; # A tibble: 176 x 18\n#&gt;    login     id avatar_url gravatar_id url   html_url followers_url\n#&gt;    &lt;chr&gt;  &lt;int&gt; &lt;chr&gt;      &lt;chr&gt;       &lt;chr&gt; &lt;chr&gt;    &lt;chr&gt;        \n#&gt;  1 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  2 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  3 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  4 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  5 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  6 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  7 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  8 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt;  9 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; 10 gabo\u2026 660288 https:\/\/a\u2026 &quot;&quot;          http\u2026 https:\/\u2026 https:\/\/api.\u2026\n#&gt; # \u2026 with 166 more rows, and 11 more variables: following_url &lt;chr&gt;,\n#&gt; #   gists_url &lt;chr&gt;, starred_url &lt;chr&gt;, subscriptions_url &lt;chr&gt;,\n#&gt; #   organizations_url &lt;chr&gt;, repos_url &lt;chr&gt;, events_url &lt;chr&gt;,\n#&gt; #   received_events_url &lt;chr&gt;, type &lt;chr&gt;, site_admin &lt;lgl&gt;, repo &lt;list&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u044f\u0442\u044c \u043d\u0430\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u043d\u0443\u0436\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>unnest_longer()<\/code> \u0438\u043b\u0438 <code>unnest_wider()<\/code> \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>unnest_auto()<\/code>. \u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0434\u0431\u043e\u0440\u0430 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435. <\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">tibble(repo = gh_repos) %&gt;% \n  unnest_auto(repo) %&gt;% \n  unnest_auto(repo)\n#&gt; Using `unnest_longer(repo)`; no element has names\n#&gt; Using `unnest_wider(repo)`; elements have 68 names in common\n#&gt; # A tibble: 176 x 67\n#&gt;        id name  full_name owner private html_url description fork  url  \n#&gt;     &lt;int&gt; &lt;chr&gt; &lt;chr&gt;     &lt;lis&gt; &lt;lgl&gt;   &lt;chr&gt;    &lt;chr&gt;       &lt;lgl&gt; &lt;chr&gt;\n#&gt;  1 6.12e7 after gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Run Code i\u2026 FALSE http\u2026\n#&gt;  2 4.05e7 argu\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Declarativ\u2026 FALSE http\u2026\n#&gt;  3 3.64e7 ask   gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Friendly C\u2026 FALSE http\u2026\n#&gt;  4 3.49e7 base\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Do we get \u2026 FALSE http\u2026\n#&gt;  5 6.16e7 cite\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Test R pac\u2026 TRUE  http\u2026\n#&gt;  6 3.39e7 clis\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 Unicode sy\u2026 FALSE http\u2026\n#&gt;  7 3.72e7 cmak\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 port of cm\u2026 TRUE  http\u2026\n#&gt;  8 6.80e7 cmark gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 CommonMark\u2026 TRUE  http\u2026\n#&gt;  9 6.32e7 cond\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 &lt;NA&gt;        TRUE  http\u2026\n#&gt; 10 2.43e7 cray\u2026 gaborcsa\u2026 &lt;nam\u2026 FALSE   https:\/\u2026 R package \u2026 FALSE http\u2026\n#&gt; # \u2026 with 166 more rows, and 58 more variables: forks_url &lt;chr&gt;,\n#&gt; #   keys_url &lt;chr&gt;, collaborators_url &lt;chr&gt;, teams_url &lt;chr&gt;,\n#&gt; #   hooks_url &lt;chr&gt;, issue_events_url &lt;chr&gt;, events_url &lt;chr&gt;,\n#&gt; #   assignees_url &lt;chr&gt;, branches_url &lt;chr&gt;, tags_url &lt;chr&gt;,\n#&gt; #   blobs_url &lt;chr&gt;, git_tags_url &lt;chr&gt;, git_refs_url &lt;chr&gt;,\n#&gt; #   trees_url &lt;chr&gt;, statuses_url &lt;chr&gt;, languages_url &lt;chr&gt;,\n#&gt; #   stargazers_url &lt;chr&gt;, contributors_url &lt;chr&gt;, subscribers_url &lt;chr&gt;,\n#&gt; #   subscription_url &lt;chr&gt;, commits_url &lt;chr&gt;, git_commits_url &lt;chr&gt;,\n#&gt; #   comments_url &lt;chr&gt;, issue_comment_url &lt;chr&gt;, contents_url &lt;chr&gt;,\n#&gt; #   compare_url &lt;chr&gt;, merges_url &lt;chr&gt;, archive_url &lt;chr&gt;,\n#&gt; #   downloads_url &lt;chr&gt;, issues_url &lt;chr&gt;, pulls_url &lt;chr&gt;,\n#&gt; #   milestones_url &lt;chr&gt;, notifications_url &lt;chr&gt;, labels_url &lt;chr&gt;,\n#&gt; #   releases_url &lt;chr&gt;, deployments_url &lt;chr&gt;, created_at &lt;chr&gt;,\n#&gt; #   updated_at &lt;chr&gt;, pushed_at &lt;chr&gt;, git_url &lt;chr&gt;, ssh_url &lt;chr&gt;,\n#&gt; #   clone_url &lt;chr&gt;, svn_url &lt;chr&gt;, size &lt;int&gt;, stargazers_count &lt;int&gt;,\n#&gt; #   watchers_count &lt;int&gt;, language &lt;chr&gt;, has_issues &lt;lgl&gt;,\n#&gt; #   has_downloads &lt;lgl&gt;, has_wiki &lt;lgl&gt;, has_pages &lt;lgl&gt;,\n#&gt; #   forks_count &lt;int&gt;, open_issues_count &lt;int&gt;, forks &lt;int&gt;,\n#&gt; #   open_issues &lt;int&gt;, watchers &lt;int&gt;, default_branch &lt;chr&gt;,\n#&gt; #   homepage &lt;chr&gt;<\/code><\/pre>\n<p><\/p>\n<h1 id=\"personazhi-igry-prestolov\">\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0418\u0433\u0440\u044b \u041f\u0440\u0435\u0441\u0442\u043e\u043b\u043e\u0432<\/h1>\n<p><\/p>\n<p><code>got_chars<\/code> \u0438\u043c\u0435\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0441 <code>gh_users<\/code>: \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u0433\u0434\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0418\u0433\u0440\u044b \u041f\u0440\u0435\u0441\u0442\u043e\u043b\u043e\u0432. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u0435 <code>got_chars<\/code> \u043a \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443 \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0430\u0442\u0430 \u0444\u0440\u0435\u0439\u043c\u0430, \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0445 \u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">chars &lt;- tibble(char = got_chars)\nchars\n#&gt; # A tibble: 30 x 1\n#&gt;    char             \n#&gt;    &lt;list&gt;           \n#&gt;  1 &lt;named list [18]&gt;\n#&gt;  2 &lt;named list [18]&gt;\n#&gt;  3 &lt;named list [18]&gt;\n#&gt;  4 &lt;named list [18]&gt;\n#&gt;  5 &lt;named list [18]&gt;\n#&gt;  6 &lt;named list [18]&gt;\n#&gt;  7 &lt;named list [18]&gt;\n#&gt;  8 &lt;named list [18]&gt;\n#&gt;  9 &lt;named list [18]&gt;\n#&gt; 10 &lt;named list [18]&gt;\n#&gt; # \u2026 with 20 more rows\n\nchars2 &lt;- chars %&gt;% unnest_wider(char)\nchars2\n#&gt; # A tibble: 30 x 18\n#&gt;    url      id name  gender culture born  died  alive titles aliases father\n#&gt;    &lt;chr&gt; &lt;int&gt; &lt;chr&gt; &lt;chr&gt;  &lt;chr&gt;   &lt;chr&gt; &lt;chr&gt; &lt;lgl&gt; &lt;list&gt; &lt;list&gt;  &lt;chr&gt; \n#&gt;  1 http\u2026  1022 Theo\u2026 Male   Ironbo\u2026 In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  2 http\u2026  1052 Tyri\u2026 Male   &quot;&quot;      In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  3 http\u2026  1074 Vict\u2026 Male   Ironbo\u2026 In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  4 http\u2026  1109 Will  Male   &quot;&quot;      &quot;&quot;    In 2\u2026 FALSE &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  5 http\u2026  1166 Areo\u2026 Male   Norvos\u2026 In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  6 http\u2026  1267 Chett Male   &quot;&quot;      At H\u2026 In 2\u2026 FALSE &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  7 http\u2026  1295 Cres\u2026 Male   &quot;&quot;      In 2\u2026 In 2\u2026 FALSE &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  8 http\u2026   130 Aria\u2026 Female Dornish In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt;  9 http\u2026  1303 Daen\u2026 Female Valyri\u2026 In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt; 10 http\u2026  1319 Davo\u2026 Male   Wester\u2026 In 2\u2026 &quot;&quot;    TRUE  &lt;chr \u2026 &lt;chr [\u2026 &quot;&quot;    \n#&gt; # \u2026 with 20 more rows, and 7 more variables: mother &lt;chr&gt;, spouse &lt;chr&gt;,\n#&gt; #   allegiances &lt;list&gt;, books &lt;list&gt;, povBooks &lt;list&gt;, tvSeries &lt;list&gt;,\n#&gt; #   playedBy &lt;list&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 <code>got_chars<\/code> \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c <code>gh_users<\/code>, \u0442.\u043a. \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u043f\u0438\u0441\u043a\u0430 <code>char<\/code> \u0441\u0430\u043c\u0438 \u043f\u043e \u0441\u0435\u0431\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u043c, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0442\u043e\u043b\u0431\u044b \u2014 \u0441\u043f\u0438\u0441\u043a\u0438:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">chars2 %&gt;% select_if(is.list)\n#&gt; # A tibble: 30 x 7\n#&gt;    titles    aliases    allegiances books     povBooks  tvSeries  playedBy \n#&gt;    &lt;list&gt;    &lt;list&gt;     &lt;list&gt;      &lt;list&gt;    &lt;list&gt;    &lt;list&gt;    &lt;list&gt;   \n#&gt;  1 &lt;chr [3]&gt; &lt;chr [4]&gt;  &lt;chr [1]&gt;   &lt;chr [3]&gt; &lt;chr [2]&gt; &lt;chr [6]&gt; &lt;chr [1]&gt;\n#&gt;  2 &lt;chr [2]&gt; &lt;chr [11]&gt; &lt;chr [1]&gt;   &lt;chr [2]&gt; &lt;chr [4]&gt; &lt;chr [6]&gt; &lt;chr [1]&gt;\n#&gt;  3 &lt;chr [2]&gt; &lt;chr [1]&gt;  &lt;chr [1]&gt;   &lt;chr [3]&gt; &lt;chr [2]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt;\n#&gt;  4 &lt;chr [1]&gt; &lt;chr [1]&gt;  &lt;???&gt;       &lt;chr [1]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt;\n#&gt;  5 &lt;chr [1]&gt; &lt;chr [1]&gt;  &lt;chr [1]&gt;   &lt;chr [3]&gt; &lt;chr [2]&gt; &lt;chr [2]&gt; &lt;chr [1]&gt;\n#&gt;  6 &lt;chr [1]&gt; &lt;chr [1]&gt;  &lt;???&gt;       &lt;chr [2]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt;\n#&gt;  7 &lt;chr [1]&gt; &lt;chr [1]&gt;  &lt;???&gt;       &lt;chr [2]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt;\n#&gt;  8 &lt;chr [1]&gt; &lt;chr [1]&gt;  &lt;chr [1]&gt;   &lt;chr [4]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt; &lt;chr [1]&gt;\n#&gt;  9 &lt;chr [5]&gt; &lt;chr [11]&gt; &lt;chr [1]&gt;   &lt;chr [1]&gt; &lt;chr [4]&gt; &lt;chr [6]&gt; &lt;chr [1]&gt;\n#&gt; 10 &lt;chr [4]&gt; &lt;chr [5]&gt;  &lt;chr [2]&gt;   &lt;chr [1]&gt; &lt;chr [3]&gt; &lt;chr [5]&gt; &lt;chr [1]&gt;\n#&gt; # \u2026 with 20 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u0412\u0430\u0448\u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0446\u0435\u043b\u0435\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043d\u0438\u0433\u0435 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">chars2 %&gt;% \n  select(name, books, tvSeries) %&gt;% \n  pivot_longer(c(books, tvSeries), names_to = &quot;media&quot;, values_to = &quot;value&quot;) %&gt;% \n  unnest_longer(value)\n#&gt; # A tibble: 180 x 3\n#&gt;    name             media    value            \n#&gt;    &lt;chr&gt;            &lt;chr&gt;    &lt;chr&gt;            \n#&gt;  1 Theon Greyjoy    books    A Game of Thrones\n#&gt;  2 Theon Greyjoy    books    A Storm of Swords\n#&gt;  3 Theon Greyjoy    books    A Feast for Crows\n#&gt;  4 Theon Greyjoy    tvSeries Season 1         \n#&gt;  5 Theon Greyjoy    tvSeries Season 2         \n#&gt;  6 Theon Greyjoy    tvSeries Season 3         \n#&gt;  7 Theon Greyjoy    tvSeries Season 4         \n#&gt;  8 Theon Greyjoy    tvSeries Season 5         \n#&gt;  9 Theon Greyjoy    tvSeries Season 6         \n#&gt; 10 Tyrion Lannister books    A Feast for Crows\n#&gt; # \u2026 with 170 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u0418\u043b\u0438, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0432\u0430\u043c \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">chars2 %&gt;% \n  select(name, title = titles) %&gt;% \n  unnest_longer(title)\n#&gt; # A tibble: 60 x 2\n#&gt;    name              title                                               \n#&gt;    &lt;chr&gt;             &lt;chr&gt;                                               \n#&gt;  1 Theon Greyjoy     Prince of Winterfell                                \n#&gt;  2 Theon Greyjoy     Captain of Sea Bitch                                \n#&gt;  3 Theon Greyjoy     Lord of the Iron Islands (by law of the green lands)\n#&gt;  4 Tyrion Lannister  Acting Hand of the King (former)                    \n#&gt;  5 Tyrion Lannister  Master of Coin (former)                             \n#&gt;  6 Victarion Greyjoy Lord Captain of the Iron Fleet                      \n#&gt;  7 Victarion Greyjoy Master of the Iron Victory                          \n#&gt;  8 Will              &quot;&quot;                                                  \n#&gt;  9 Areo Hotah        Captain of the Guard at Sunspear                    \n#&gt; 10 Chett             &quot;&quot;                                                  \n#&gt; # \u2026 with 50 more rows<\/code><\/pre>\n<p><\/p>\n<p>(\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043d\u0430 \u043f\u0443\u0441\u0442\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code>&quot;&quot;<\/code> \u0432 \u043f\u043e\u043b\u0435 <code>title<\/code>, \u044d\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438 \u0432\u0432\u043e\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 <code>got_chars<\/code>: \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u043a\u043d\u0438\u0433 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u0432 \u043f\u043e\u043b\u0435 <code>title<\/code> \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u0438\u043d\u044b 0, \u0430 \u043d\u0435 \u0432\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u0438\u043d\u044b 1, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.)<\/p>\n<p><\/p>\n<p>\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>unnest_auto()<\/code>. \u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0440\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u043d\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0430 <code>unnest_auto()<\/code> \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f <code>unnest_auto()<\/code> \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u0435\u0441\u043b\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043e\u043d \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b \u0441\u0442\u043e\u043b\u0431\u0446\u044b-\u0441\u043f\u0438\u0441\u043a\u0438 \u0432 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <code>unnest_longer()<\/code>, \u0442\u043e \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043b\u043e\u0433\u0438\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0430 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 <code>unnest_wider()<\/code>, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u044b\u043c \u043e\u0448\u0438\u0431\u043a\u0430\u043c.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">tibble(char = got_chars) %&gt;% \n  unnest_auto(char) %&gt;% \n  select(name, title = titles) %&gt;% \n  unnest_auto(title)\n#&gt; Using `unnest_wider(char)`; elements have 18 names in common\n#&gt; Using `unnest_longer(title)`; no element has names\n#&gt; # A tibble: 60 x 2\n#&gt;    name              title                                               \n#&gt;    &lt;chr&gt;             &lt;chr&gt;                                               \n#&gt;  1 Theon Greyjoy     Prince of Winterfell                                \n#&gt;  2 Theon Greyjoy     Captain of Sea Bitch                                \n#&gt;  3 Theon Greyjoy     Lord of the Iron Islands (by law of the green lands)\n#&gt;  4 Tyrion Lannister  Acting Hand of the King (former)                    \n#&gt;  5 Tyrion Lannister  Master of Coin (former)                             \n#&gt;  6 Victarion Greyjoy Lord Captain of the Iron Fleet                      \n#&gt;  7 Victarion Greyjoy Master of the Iron Victory                          \n#&gt;  8 Will              &quot;&quot;                                                  \n#&gt;  9 Areo Hotah        Captain of the Guard at Sunspear                    \n#&gt; 10 Chett             &quot;&quot;                                                  \n#&gt; # \u2026 with 50 more rows<\/code><\/pre>\n<p><\/p>\n<h1 id=\"geokodirovanie-s-pomoschyu-google\">\u0413\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Google<\/h1>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0445 \u043e\u0442 \u0441\u043b\u0443\u0436\u0431\u044b \u0433\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Google. \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0447\u0451\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0440\u0435\u0447\u0438\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 API Google maps, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043f\u0438\u0448\u0443 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u043a API. \u041a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043a\u043b\u044e\u0447\u0430 API Google \u043a\u0430\u0440\u0442 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b; \u0435\u0441\u043b\u0438 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u044b \u0443 \u0432\u0430\u0441 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 API Google Maps, \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0443\u0442.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">has_key &lt;- !identical(Sys.getenv(&quot;GOOGLE_MAPS_API_KEY&quot;), &quot;&quot;)\nif (!has_key) {\n  message(&quot;No Google Maps API key found; code chunks will not be run&quot;)\n}\n\n# https:\/\/developers.google.com\/maps\/documentation\/geocoding\ngeocode &lt;- function(address, api_key = Sys.getenv(&quot;GOOGLE_MAPS_API_KEY&quot;)) {\n  url &lt;- &quot;https:\/\/maps.googleapis.com\/maps\/api\/geocode\/json&quot;\n  url &lt;- paste0(url, &quot;?address=&quot;, URLencode(address), &quot;&amp;key=&quot;, api_key)\n\n  jsonlite::read_json(url)\n}<\/code><\/pre>\n<p><\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u0435\u043d:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">houston &lt;- geocode(&quot;Houston TX&quot;)\nstr(houston)\n#&gt; List of 2\n#&gt;  $ results:List of 1\n#&gt;   ..$ :List of 5\n#&gt;   .. ..$ address_components:List of 4\n#&gt;   .. .. ..$ :List of 3\n#&gt;   .. .. .. ..$ long_name : chr &quot;Houston&quot;\n#&gt;   .. .. .. ..$ short_name: chr &quot;Houston&quot;\n#&gt;   .. .. .. ..$ types     :List of 2\n#&gt;   .. .. .. .. ..$ : chr &quot;locality&quot;\n#&gt;   .. .. .. .. ..$ : chr &quot;political&quot;\n#&gt;   .. .. ..$ :List of 3\n#&gt;   .. .. .. ..$ long_name : chr &quot;Harris County&quot;\n#&gt;   .. .. .. ..$ short_name: chr &quot;Harris County&quot;\n#&gt;   .. .. .. ..$ types     :List of 2\n#&gt;   .. .. .. .. ..$ : chr &quot;administrative_area_level_2&quot;\n#&gt;   .. .. .. .. ..$ : chr &quot;political&quot;\n#&gt;   .. .. ..$ :List of 3\n#&gt;   .. .. .. ..$ long_name : chr &quot;Texas&quot;\n#&gt;   .. .. .. ..$ short_name: chr &quot;TX&quot;\n#&gt;   .. .. .. ..$ types     :List of 2\n#&gt;   .. .. .. .. ..$ : chr &quot;administrative_area_level_1&quot;\n#&gt;   .. .. .. .. ..$ : chr &quot;political&quot;\n#&gt;   .. .. ..$ :List of 3\n#&gt;   .. .. .. ..$ long_name : chr &quot;United States&quot;\n#&gt;   .. .. .. ..$ short_name: chr &quot;US&quot;\n#&gt;   .. .. .. ..$ types     :List of 2\n#&gt;   .. .. .. .. ..$ : chr &quot;country&quot;\n#&gt;   .. .. .. .. ..$ : chr &quot;political&quot;\n#&gt;   .. ..$ formatted_address : chr &quot;Houston, TX, USA&quot;\n#&gt;   .. ..$ geometry          :List of 4\n#&gt;   .. .. ..$ bounds       :List of 2\n#&gt;   .. .. .. ..$ northeast:List of 2\n#&gt;   .. .. .. .. ..$ lat: num 30.1\n#&gt;   .. .. .. .. ..$ lng: num -95\n#&gt;   .. .. .. ..$ southwest:List of 2\n#&gt;   .. .. .. .. ..$ lat: num 29.5\n#&gt;   .. .. .. .. ..$ lng: num -95.8\n#&gt;   .. .. ..$ location     :List of 2\n#&gt;   .. .. .. ..$ lat: num 29.8\n#&gt;   .. .. .. ..$ lng: num -95.4\n#&gt;   .. .. ..$ location_type: chr &quot;APPROXIMATE&quot;\n#&gt;   .. .. ..$ viewport     :List of 2\n#&gt;   .. .. .. ..$ northeast:List of 2\n#&gt;   .. .. .. .. ..$ lat: num 30.1\n#&gt;   .. .. .. .. ..$ lng: num -95\n#&gt;   .. .. .. ..$ southwest:List of 2\n#&gt;   .. .. .. .. ..$ lat: num 29.5\n#&gt;   .. .. .. .. ..$ lng: num -95.8\n#&gt;   .. ..$ place_id          : chr &quot;ChIJAYWNSLS4QIYROwVl894CDco&quot;\n#&gt;   .. ..$ types             :List of 2\n#&gt;   .. .. ..$ : chr &quot;locality&quot;\n#&gt;   .. .. ..$ : chr &quot;political&quot;\n#&gt;  $ status : chr &quot;OK&quot;<\/code><\/pre>\n<p><\/p>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u0438\u0434 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <code>tidyr<\/code>. \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0438 \u0440\u0435\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u0435\u0435, \u044f \u043d\u0430\u0447\u043d\u0443 \u0441 \u0433\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u043e\u0440\u043e\u0434\u043e\u0432:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">  city &lt;-   c ( &quot;Houston&quot; , &quot;LA&quot; , &quot;New York&quot; , &quot;Chicago&quot; , &quot;Springfield&quot; )  city_geo &lt;-   purrr::map (city, geocode) <\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e \u0432 <code>tibble<\/code>, \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0433\u043e\u0440\u043e\u0434\u0430. <\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc &lt;- tibble(city = city, json = city_geo)\nloc\n#&gt; # A tibble: 5 x 2\n#&gt;   city        json            \n#&gt;   &lt;chr&gt;       &lt;list&gt;          \n#&gt; 1 Houston     &lt;named list [2]&gt;\n#&gt; 2 LA          &lt;named list [2]&gt;\n#&gt; 3 New York    &lt;named list [2]&gt;\n#&gt; 4 Chicago     &lt;named list [2]&gt;\n#&gt; 5 Springfield &lt;named list [2]&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b <code>status<\/code> \u0438 <code>result<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>unnest_wider()<\/code> :<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json)\n#&gt; # A tibble: 5 x 3\n#&gt;   city        results    status\n#&gt;   &lt;chr&gt;       &lt;list&gt;     &lt;chr&gt; \n#&gt; 1 Houston     &lt;list [1]&gt; OK    \n#&gt; 2 LA          &lt;list [1]&gt; OK    \n#&gt; 3 New York    &lt;list [1]&gt; OK    \n#&gt; 4 Chicago     &lt;list [1]&gt; OK    \n#&gt; 5 Springfield &lt;list [1]&gt; OK<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e <code>results<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u043c \u0441\u043f\u0438\u0441\u043a\u043e\u043c. \u0423 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0433\u043e\u0440\u043e\u0434\u043e\u0432 \u0435\u0441\u0442\u044c 1 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 (\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 API \u0433\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f), \u043d\u043e \u0443 \u0421\u043f\u0440\u0438\u043d\u0433\u0444\u0438\u043b\u0434\u0430 \u0438\u0445 \u0434\u0432\u0430. \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0445 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>unnest_longer()<\/code> :<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json) %&gt;% \n  unnest_longer(results)\n#&gt; # A tibble: 5 x 3\n#&gt;   city        results          status\n#&gt;   &lt;chr&gt;       &lt;list&gt;           &lt;chr&gt; \n#&gt; 1 Houston     &lt;named list [5]&gt; OK    \n#&gt; 2 LA          &lt;named list [5]&gt; OK    \n#&gt; 3 New York    &lt;named list [5]&gt; OK    \n#&gt; 4 Chicago     &lt;named list [5]&gt; OK    \n#&gt; 5 Springfield &lt;named list [5]&gt; OK<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u0432 \u0447\u0451\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>unnest_wider()<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json) %&gt;% \n  unnest_longer(results) %&gt;% \n  unnest_wider(results)\n#&gt; # A tibble: 5 x 7\n#&gt;   city   address_componen\u2026 formatted_addre\u2026 geometry place_id  types status\n#&gt;   &lt;chr&gt;  &lt;list&gt;            &lt;chr&gt;            &lt;list&gt;   &lt;chr&gt;     &lt;lis&gt; &lt;chr&gt; \n#&gt; 1 Houst\u2026 &lt;list [4]&gt;        Houston, TX, USA &lt;named \u2026 ChIJAYWN\u2026 &lt;lis\u2026 OK    \n#&gt; 2 LA     &lt;list [4]&gt;        Los Angeles, CA\u2026 &lt;named \u2026 ChIJE9on\u2026 &lt;lis\u2026 OK    \n#&gt; 3 New Y\u2026 &lt;list [3]&gt;        New York, NY, U\u2026 &lt;named \u2026 ChIJOwg_\u2026 &lt;lis\u2026 OK    \n#&gt; 4 Chica\u2026 &lt;list [4]&gt;        Chicago, IL, USA &lt;named \u2026 ChIJ7cv0\u2026 &lt;lis\u2026 OK    \n#&gt; 5 Sprin\u2026 &lt;list [5]&gt;        Springfield, MO\u2026 &lt;named \u2026 ChIJP5jI\u2026 &lt;lis\u2026 OK<\/code><\/pre>\n<p><\/p>\n<p>\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0439\u0442\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0448\u0438\u0440\u043e\u0442\u044b \u0438 \u0434\u043e\u043b\u0433\u043e\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0432 \u0441\u043f\u0438\u0441\u043e\u043a <code>geometry<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json) %&gt;% \n  unnest_longer(results) %&gt;% \n  unnest_wider(results) %&gt;% \n  unnest_wider(geometry)\n#&gt; # A tibble: 5 x 10\n#&gt;   city  address_compone\u2026 formatted_addre\u2026 bounds location location_type\n#&gt;   &lt;chr&gt; &lt;list&gt;           &lt;chr&gt;            &lt;list&gt; &lt;list&gt;   &lt;chr&gt;        \n#&gt; 1 Hous\u2026 &lt;list [4]&gt;       Houston, TX, USA &lt;name\u2026 &lt;named \u2026 APPROXIMATE  \n#&gt; 2 LA    &lt;list [4]&gt;       Los Angeles, CA\u2026 &lt;name\u2026 &lt;named \u2026 APPROXIMATE  \n#&gt; 3 New \u2026 &lt;list [3]&gt;       New York, NY, U\u2026 &lt;name\u2026 &lt;named \u2026 APPROXIMATE  \n#&gt; 4 Chic\u2026 &lt;list [4]&gt;       Chicago, IL, USA &lt;name\u2026 &lt;named \u2026 APPROXIMATE  \n#&gt; 5 Spri\u2026 &lt;list [5]&gt;       Springfield, MO\u2026 &lt;name\u2026 &lt;named \u2026 APPROXIMATE  \n#&gt; # \u2026 with 4 more variables: viewport &lt;list&gt;, place_id &lt;chr&gt;, types &lt;list&gt;,\n#&gt; #   status &lt;chr&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0410 \u0437\u0430\u0442\u0435\u043c \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c <code>location<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json) %&gt;%\n  unnest_longer(results) %&gt;%\n  unnest_wider(results) %&gt;%\n  unnest_wider(geometry) %&gt;%\n  unnest_wider(location)\n#&gt; # A tibble: 5 x 11\n#&gt;   city  address_compone\u2026 formatted_addre\u2026 bounds   lat    lng location_type\n#&gt;   &lt;chr&gt; &lt;list&gt;           &lt;chr&gt;            &lt;list&gt; &lt;dbl&gt;  &lt;dbl&gt; &lt;chr&gt;        \n#&gt; 1 Hous\u2026 &lt;list [4]&gt;       Houston, TX, USA &lt;name\u2026  29.8  -95.4 APPROXIMATE  \n#&gt; 2 LA    &lt;list [4]&gt;       Los Angeles, CA\u2026 &lt;name\u2026  34.1 -118.  APPROXIMATE  \n#&gt; 3 New \u2026 &lt;list [3]&gt;       New York, NY, U\u2026 &lt;name\u2026  40.7  -74.0 APPROXIMATE  \n#&gt; 4 Chic\u2026 &lt;list [4]&gt;       Chicago, IL, USA &lt;name\u2026  41.9  -87.6 APPROXIMATE  \n#&gt; 5 Spri\u2026 &lt;list [5]&gt;       Springfield, MO\u2026 &lt;name\u2026  37.2  -93.3 APPROXIMATE  \n#&gt; # \u2026 with 4 more variables: viewport &lt;list&gt;, place_id &lt;chr&gt;, types &lt;list&gt;,\n#&gt; #   status &lt;chr&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u043f\u044f\u0442\u044c \u0436\u0435, <code>unnest_auto()<\/code> \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0440\u0438\u0441\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u0437\u0432\u0430\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_auto(json) %&gt;%\n  unnest_auto(results) %&gt;%\n  unnest_auto(results) %&gt;%\n  unnest_auto(geometry) %&gt;%\n  unnest_auto(location)\n#&gt; Using `unnest_wider(json)`; elements have 2 names in common\n#&gt; Using `unnest_longer(results)`; no element has names\n#&gt; Using `unnest_wider(results)`; elements have 5 names in common\n#&gt; Using `unnest_wider(geometry)`; elements have 4 names in common\n#&gt; Using `unnest_wider(location)`; elements have 2 names in common\n#&gt; # A tibble: 5 x 11\n#&gt;   city  address_compone\u2026 formatted_addre\u2026 bounds   lat    lng location_type\n#&gt;   &lt;chr&gt; &lt;list&gt;           &lt;chr&gt;            &lt;list&gt; &lt;dbl&gt;  &lt;dbl&gt; &lt;chr&gt;        \n#&gt; 1 Hous\u2026 &lt;list [4]&gt;       Houston, TX, USA &lt;name\u2026  29.8  -95.4 APPROXIMATE  \n#&gt; 2 LA    &lt;list [4]&gt;       Los Angeles, CA\u2026 &lt;name\u2026  34.1 -118.  APPROXIMATE  \n#&gt; 3 New \u2026 &lt;list [3]&gt;       New York, NY, U\u2026 &lt;name\u2026  40.7  -74.0 APPROXIMATE  \n#&gt; 4 Chic\u2026 &lt;list [4]&gt;       Chicago, IL, USA &lt;name\u2026  41.9  -87.6 APPROXIMATE  \n#&gt; 5 Spri\u2026 &lt;list [5]&gt;       Springfield, MO\u2026 &lt;name\u2026  37.2  -93.3 APPROXIMATE  \n#&gt; # \u2026 with 4 more variables: viewport &lt;list&gt;, place_id &lt;chr&gt;, types &lt;list&gt;,\n#&gt; #   status &lt;chr&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  unnest_wider(json) %&gt;%\n  hoist(results, first_result = 1) %&gt;%\n  unnest_wider(first_result) %&gt;%\n  unnest_wider(geometry) %&gt;%\n  unnest_wider(location)\n#&gt; # A tibble: 5 x 11\n#&gt;   city  address_compone\u2026 formatted_addre\u2026 bounds   lat    lng location_type\n#&gt;   &lt;chr&gt; &lt;list&gt;           &lt;chr&gt;            &lt;list&gt; &lt;dbl&gt;  &lt;dbl&gt; &lt;chr&gt;        \n#&gt; 1 Hous\u2026 &lt;list [4]&gt;       Houston, TX, USA &lt;name\u2026  29.8  -95.4 APPROXIMATE  \n#&gt; 2 LA    &lt;list [4]&gt;       Los Angeles, CA\u2026 &lt;name\u2026  34.1 -118.  APPROXIMATE  \n#&gt; 3 New \u2026 &lt;list [3]&gt;       New York, NY, U\u2026 &lt;name\u2026  40.7  -74.0 APPROXIMATE  \n#&gt; 4 Chic\u2026 &lt;list [4]&gt;       Chicago, IL, USA &lt;name\u2026  41.9  -87.6 APPROXIMATE  \n#&gt; 5 Spri\u2026 &lt;list [5]&gt;       Springfield, MO\u2026 &lt;name\u2026  37.2  -93.3 APPROXIMATE  \n#&gt; # \u2026 with 4 more variables: viewport &lt;list&gt;, place_id &lt;chr&gt;, types &lt;list&gt;,\n#&gt; #   status &lt;chr&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0418\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>hoist()<\/code> \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a <code>lat<\/code> \u0438 <code>lng<\/code>. <\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">loc %&gt;%\n  hoist(json,\n    lat = list(&quot;results&quot;, 1, &quot;geometry&quot;, &quot;location&quot;, &quot;lat&quot;),\n    lng = list(&quot;results&quot;, 1, &quot;geometry&quot;, &quot;location&quot;, &quot;lng&quot;)\n  )\n#&gt; # A tibble: 5 x 4\n#&gt;   city          lat    lng json            \n#&gt;   &lt;chr&gt;       &lt;dbl&gt;  &lt;dbl&gt; &lt;list&gt;          \n#&gt; 1 Houston      29.8  -95.4 &lt;named list [2]&gt;\n#&gt; 2 LA           34.1 -118.  &lt;named list [2]&gt;\n#&gt; 3 New York     40.7  -74.0 &lt;named list [2]&gt;\n#&gt; 4 Chicago      41.9  -87.6 &lt;named list [2]&gt;\n#&gt; 5 Springfield  37.2  -93.3 &lt;named list [2]&gt;<\/code><\/pre>\n<p><\/p>\n<h1 id=\"diskografiya-sharly-gelfand\">\u0414\u0438\u0441\u043a\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0428\u0430\u0440\u043b\u044b \u0413\u0435\u043b\u044c\u0444\u0430\u043d\u0434<\/h1>\n<p><\/p>\n<p>\u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0430\u043c\u0443\u044e \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u2014 \u0434\u0438\u0441\u043a\u043e\u0433\u0440\u0430\u0444\u0438\u044e \u0428\u0430\u0440\u043b\u044b \u0413\u0435\u043b\u044c\u0444\u0430\u043d\u0434. \u041a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u0432 \u0434\u0430\u0442\u0430 \u0444\u0440\u0435\u0439\u043c \u0441 \u043e\u0434\u043d\u0438\u043c \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u043c, \u0430 \u0437\u0430\u0442\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043c \u0435\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0431\u044b\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <code>date_added<\/code> \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u0442\u044b \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 R.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs &lt;- tibble(disc = discog) %&gt;% \n  unnest_wider(disc) %&gt;% \n  mutate(date_added = as.POSIXct(strptime(date_added, &quot;%Y-%m-%dT%H:%M:%S&quot;))) \ndiscs\n#&gt; # A tibble: 155 x 5\n#&gt;    instance_id date_added          basic_information       id rating\n#&gt;          &lt;int&gt; &lt;dttm&gt;              &lt;list&gt;               &lt;int&gt;  &lt;int&gt;\n#&gt;  1   354823933 2019-02-16 17:48:59 &lt;named list [11]&gt;  7496378      0\n#&gt;  2   354092601 2019-02-13 14:13:11 &lt;named list [11]&gt;  4490852      0\n#&gt;  3   354091476 2019-02-13 14:07:23 &lt;named list [11]&gt;  9827276      0\n#&gt;  4   351244906 2019-02-02 11:39:58 &lt;named list [11]&gt;  9769203      0\n#&gt;  5   351244801 2019-02-02 11:39:37 &lt;named list [11]&gt;  7237138      0\n#&gt;  6   351052065 2019-02-01 20:40:53 &lt;named list [11]&gt; 13117042      0\n#&gt;  7   350315345 2019-01-29 15:48:37 &lt;named list [11]&gt;  7113575      0\n#&gt;  8   350315103 2019-01-29 15:47:22 &lt;named list [11]&gt; 10540713      0\n#&gt;  9   350314507 2019-01-29 15:44:08 &lt;named list [11]&gt; 11260950      0\n#&gt; 10   350314047 2019-01-29 15:41:35 &lt;named list [11]&gt; 11726853      0\n#&gt; # \u2026 with 145 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0438\u0441\u043a \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u0434\u0438\u0441\u043a\u043e\u0433\u0440\u0430\u0444\u0438\u044e \u0428\u0430\u0440\u043b\u044b, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0432\u0438\u0434\u0438\u043c \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431 \u044d\u0442\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <code>basic_information<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs %&gt;% unnest_wider(basic_information)\n#&gt; Column name `id` must not be duplicated.\n#&gt; Use .name_repair to specify repair.<\/code><\/pre>\n<p><\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443, \u0442.\u043a. \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 <code>basic_information<\/code> \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <code>basic_information<\/code>. \u041f\u0440\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0435\u0451 \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>names_repair = &quot;unique&quot;<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs %&gt;% unnest_wider(basic_information, names_repair = &quot;unique&quot;)\n#&gt; New names:\n#&gt; * id -&gt; id...6\n#&gt; * id -&gt; id...14\n#&gt; # A tibble: 155 x 15\n#&gt;    instance_id date_added          labels  year artists id...6 thumb title\n#&gt;          &lt;int&gt; &lt;dttm&gt;              &lt;list&gt; &lt;int&gt; &lt;list&gt;   &lt;int&gt; &lt;chr&gt; &lt;chr&gt;\n#&gt;  1   354823933 2019-02-16 17:48:59 &lt;list\u2026  2015 &lt;list \u2026 7.50e6 http\u2026 Demo \n#&gt;  2   354092601 2019-02-13 14:13:11 &lt;list\u2026  2013 &lt;list \u2026 4.49e6 http\u2026 Obse\u2026\n#&gt;  3   354091476 2019-02-13 14:07:23 &lt;list\u2026  2017 &lt;list \u2026 9.83e6 http\u2026 I    \n#&gt;  4   351244906 2019-02-02 11:39:58 &lt;list\u2026  2017 &lt;list \u2026 9.77e6 http\u2026 O\u00eddo\u2026\n#&gt;  5   351244801 2019-02-02 11:39:37 &lt;list\u2026  2015 &lt;list \u2026 7.24e6 http\u2026 A Ca\u2026\n#&gt;  6   351052065 2019-02-01 20:40:53 &lt;list\u2026  2019 &lt;list \u2026 1.31e7 http\u2026 Tash\u2026\n#&gt;  7   350315345 2019-01-29 15:48:37 &lt;list\u2026  2014 &lt;list \u2026 7.11e6 http\u2026 Demo \n#&gt;  8   350315103 2019-01-29 15:47:22 &lt;list\u2026  2015 &lt;list \u2026 1.05e7 http\u2026 Let \u2026\n#&gt;  9   350314507 2019-01-29 15:44:08 &lt;list\u2026  2017 &lt;list \u2026 1.13e7 &quot;&quot;    Sub \u2026\n#&gt; 10   350314047 2019-01-29 15:41:35 &lt;list\u2026  2017 &lt;list \u2026 1.17e7 http\u2026 Demo \n#&gt; # \u2026 with 145 more rows, and 7 more variables: formats &lt;list&gt;,\n#&gt; #   cover_image &lt;chr&gt;, resource_url &lt;chr&gt;, master_id &lt;int&gt;,\n#&gt; #   master_url &lt;chr&gt;, id...14 &lt;int&gt;, rating &lt;int&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <code>basic_information<\/code> \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 id \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0435\u0433\u043e:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs %&gt;% \n  select(-id) %&gt;% \n  unnest_wider(basic_information)\n#&gt; # A tibble: 155 x 14\n#&gt;    instance_id date_added          labels  year artists     id thumb title\n#&gt;          &lt;int&gt; &lt;dttm&gt;              &lt;list&gt; &lt;int&gt; &lt;list&gt;   &lt;int&gt; &lt;chr&gt; &lt;chr&gt;\n#&gt;  1   354823933 2019-02-16 17:48:59 &lt;list\u2026  2015 &lt;list \u2026 7.50e6 http\u2026 Demo \n#&gt;  2   354092601 2019-02-13 14:13:11 &lt;list\u2026  2013 &lt;list \u2026 4.49e6 http\u2026 Obse\u2026\n#&gt;  3   354091476 2019-02-13 14:07:23 &lt;list\u2026  2017 &lt;list \u2026 9.83e6 http\u2026 I    \n#&gt;  4   351244906 2019-02-02 11:39:58 &lt;list\u2026  2017 &lt;list \u2026 9.77e6 http\u2026 O\u00eddo\u2026\n#&gt;  5   351244801 2019-02-02 11:39:37 &lt;list\u2026  2015 &lt;list \u2026 7.24e6 http\u2026 A Ca\u2026\n#&gt;  6   351052065 2019-02-01 20:40:53 &lt;list\u2026  2019 &lt;list \u2026 1.31e7 http\u2026 Tash\u2026\n#&gt;  7   350315345 2019-01-29 15:48:37 &lt;list\u2026  2014 &lt;list \u2026 7.11e6 http\u2026 Demo \n#&gt;  8   350315103 2019-01-29 15:47:22 &lt;list\u2026  2015 &lt;list \u2026 1.05e7 http\u2026 Let \u2026\n#&gt;  9   350314507 2019-01-29 15:44:08 &lt;list\u2026  2017 &lt;list \u2026 1.13e7 &quot;&quot;    Sub \u2026\n#&gt; 10   350314047 2019-01-29 15:41:35 &lt;list\u2026  2017 &lt;list \u2026 1.17e7 http\u2026 Demo \n#&gt; # \u2026 with 145 more rows, and 6 more variables: formats &lt;list&gt;,\n#&gt; #   cover_image &lt;chr&gt;, resource_url &lt;chr&gt;, master_id &lt;int&gt;,\n#&gt; #   master_url &lt;chr&gt;, rating &lt;int&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>hoist()<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs %&gt;% \n  hoist(basic_information,\n    title = &quot;title&quot;,\n    year = &quot;year&quot;,\n    label = list(&quot;labels&quot;, 1, &quot;name&quot;),\n    artist = list(&quot;artists&quot;, 1, &quot;name&quot;)\n  )\n#&gt; # A tibble: 155 x 9\n#&gt;    instance_id date_added          title  year label artist\n#&gt;          &lt;int&gt; &lt;dttm&gt;              &lt;chr&gt; &lt;int&gt; &lt;chr&gt; &lt;chr&gt; \n#&gt;  1   354823933 2019-02-16 17:48:59 Demo   2015 Tobi\u2026 Mollot\n#&gt;  2   354092601 2019-02-13 14:13:11 Obse\u2026  2013 La V\u2026 Una B\u2026\n#&gt;  3   354091476 2019-02-13 14:07:23 I      2017 La V\u2026 S.H.I\u2026\n#&gt;  4   351244906 2019-02-02 11:39:58 O\u00eddo\u2026  2017 La V\u2026 Rata \u2026\n#&gt;  5   351244801 2019-02-02 11:39:37 A Ca\u2026  2015 Kato\u2026 Ivy (\u2026\n#&gt;  6   351052065 2019-02-01 20:40:53 Tash\u2026  2019 High\u2026 Tashme\n#&gt;  7   350315345 2019-01-29 15:48:37 Demo   2014 Mind\u2026 Desgr\u2026\n#&gt;  8   350315103 2019-01-29 15:47:22 Let \u2026  2015 Not \u2026 Phant\u2026\n#&gt;  9   350314507 2019-01-29 15:44:08 Sub \u2026  2017 Not \u2026 Sub S\u2026\n#&gt; 10   350314047 2019-01-29 15:41:35 Demo   2017 Pres\u2026 Small\u2026\n#&gt; # \u2026 with 145 more rows, and 3 more variables: basic_information &lt;list&gt;,\n#&gt; #   id &lt;int&gt;, rating &lt;int&gt;<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u044f \u0431\u044b\u0441\u0442\u0440\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u044e \u0438\u043c\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043b\u0435\u0439\u0431\u043b\u0430 \u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044f \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443, \u043f\u043e\u0433\u0440\u0443\u0437\u0438\u0432\u0448\u0438\u0441\u044c \u0432\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a.<\/p>\n<p><\/p>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044f \u0438 \u043b\u0435\u0439\u0431\u043b\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">discs %&gt;% \n  hoist(basic_information, artist = &quot;artists&quot;) %&gt;% \n  select(disc_id = id, artist) %&gt;% \n  unnest_longer(artist) %&gt;% \n  unnest_wider(artist)\n#&gt; # A tibble: 167 x 8\n#&gt;     disc_id join  name        anv   tracks role  resource_url            id\n#&gt;       &lt;int&gt; &lt;chr&gt; &lt;chr&gt;       &lt;chr&gt; &lt;chr&gt;  &lt;chr&gt; &lt;chr&gt;                &lt;int&gt;\n#&gt;  1  7496378 &quot;&quot;    Mollot      &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 4.62e6\n#&gt;  2  4490852 &quot;&quot;    Una B\u00e8stia\u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 3.19e6\n#&gt;  3  9827276 &quot;&quot;    S.H.I.T. (\u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 2.77e6\n#&gt;  4  9769203 &quot;&quot;    Rata Negra  &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 4.28e6\n#&gt;  5  7237138 &quot;&quot;    Ivy (18)    &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 3.60e6\n#&gt;  6 13117042 &quot;&quot;    Tashme      &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 5.21e6\n#&gt;  7  7113575 &quot;&quot;    Desgraciad\u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 4.45e6\n#&gt;  8 10540713 &quot;&quot;    Phantom He\u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 4.27e6\n#&gt;  9 11260950 &quot;&quot;    Sub Space \u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 5.69e6\n#&gt; 10 11726853 &quot;&quot;    Small Man \u2026 &quot;&quot;    &quot;&quot;     &quot;&quot;    https:\/\/api.discog\u2026 6.37e6\n#&gt; # \u2026 with 157 more rows\n\ndiscs %&gt;% \n  hoist(basic_information, format = &quot;formats&quot;) %&gt;% \n  select(disc_id = id, format) %&gt;% \n  unnest_longer(format) %&gt;% \n  unnest_wider(format) %&gt;% \n  unnest_longer(descriptions)\n#&gt; # A tibble: 280 x 5\n#&gt;     disc_id descriptions text  name     qty  \n#&gt;       &lt;int&gt; &lt;chr&gt;        &lt;chr&gt; &lt;chr&gt;    &lt;chr&gt;\n#&gt;  1  7496378 Numbered     Black Cassette 1    \n#&gt;  2  4490852 LP           &lt;NA&gt;  Vinyl    1    \n#&gt;  3  9827276 &quot;7&quot;&quot;        &lt;NA&gt;  Vinyl    1    \n#&gt;  4  9827276 45 RPM       &lt;NA&gt;  Vinyl    1    \n#&gt;  5  9827276 EP           &lt;NA&gt;  Vinyl    1    \n#&gt;  6  9769203 LP           &lt;NA&gt;  Vinyl    1    \n#&gt;  7  9769203 Album        &lt;NA&gt;  Vinyl    1    \n#&gt;  8  7237138 &quot;7&quot;&quot;        &lt;NA&gt;  Vinyl    1    \n#&gt;  9  7237138 45 RPM       &lt;NA&gt;  Vinyl    1    \n#&gt; 10 13117042 &quot;7&quot;&quot;        &lt;NA&gt;  Vinyl    1    \n#&gt; # \u2026 with 270 more rows<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0438\u0445 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u0431\u043e\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u043c\u0435\u0440\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<p><\/p>\n<h1 id=\"zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h1>\n<p><\/p>\n<p>\u0412 \u044f\u0434\u0440\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <code>tidyverse<\/code> \u0432\u0445\u043e\u0434\u044f\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0451\u043d\u043d\u044b\u0435 \u043e\u0431\u0449\u0435\u0439 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0435\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. <\/p>\n<p><\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <code>unnest_*()<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432. \u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043f\u0440\u043e\u0449\u0430\u044e\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 <em>Tidy Data<\/em>.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/491726\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u043e\u0442 API, \u0438\u043b\u0438 \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 JSON \u0438 XML. \u042d\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432: \u043e\u043d\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e \u0445\u0440\u0430\u043d\u044f\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0438\u0437\u043b\u0438\u0448\u043d\u0435\u0433\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041c\u0438\u043d\u0443\u0441\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u041d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":76298,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-76297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u043e\u0442 API, \u0438\u043b\u0438 \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 JSON \u0438 XML. \u042d\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u2014 \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 R (\u043f\u0430\u043a\u0435\u0442 tidyr \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 unnest) | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u043e\u0442 API, \u0438\u043b\u0438 \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 JSON \u0438 XML. \u042d\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-01T11:42:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-01T11:42:31+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 Verschachtelte Spalten \u2014 Listen mit der Sprache R entfalten (Paket tidyr und Funktionen der unnest-Familie) | ProHoster","description":"In den meisten F\u00e4llen, wenn Sie mit der von einer API erhaltenen Antwort oder mit anderen Daten arbeiten, die eine komplexe, baumartige Struktur aufweisen, sto\u00dfen Sie auf die Formate JSON und XML. Diese Formate haben viele Varianten.","canonical_url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u2014 \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 R (\u043f\u0430\u043a\u0435\u0442 tidyr \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 unnest) | ProHoster","og:description":"\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u043e\u0442 API, \u0438\u043b\u0438 \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 JSON \u0438 XML. \u042d\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e.","og:url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/razvorachivaem-vlozhennye-stolbczy-spiski-s-pomoshhyu-yazyka-r-paket-tidyr-i-funkczii-semejstva-unnest","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-04-01T11:42:31+00:00","article:modified_time":"2020-04-01T11:42:31+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"76297","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:39:23","updated":"2022-09-28 18:10:26","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/76297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=76297"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/76297\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/76298"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=76297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=76297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=76297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}