{"id":13071,"date":"2024-11-05T13:32:50","date_gmt":"2024-11-05T13:32:50","guid":{"rendered":"https:\/\/m-path.io\/manual\/?post_type=ht_kb&#038;p=13071"},"modified":"2025-03-11T15:51:41","modified_gmt":"2025-03-11T15:51:41","slug":"importing-and-analyzing-m-path-data-in-r-mpathr","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/importing-and-analyzing-m-path-data-in-r-mpathr\/","title":{"rendered":"Importing and analyzing m-Path data in R: mpathr"},"content":{"rendered":"\n<p>We created an R package to make it easier to import and analyze m-Path data in R. In the following video, we show how to install the package and how to import the data in R.<\/p>\n\n\n\n<p>To load the data in R, you first need to <a href=\"\/knowledge-base\/export-data\/#export-a-larger-dataset-for-statistical-analysis\">export the data<\/a> in m-Path. Make sure you download <strong>basic <\/strong>and <strong>meta <\/strong>data and use export version of at least 1.1. If you cannot choose an export version of 1.1 or higher, choose beta for researchers in <a href=\"\/knowledge-base\/general-settings\/#dashboard-settings\">dashboard settings<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Importing and analyzing m-Path data in R: mpathr\" width=\"643\" height=\"482\" src=\"https:\/\/www.youtube.com\/embed\/wEp7Rp3GPjU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Introduction video on how to import m-Path data in R.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">R guide<\/h2>\n\n\n\n<p>You can find a full guide on how to import and analyze data with R here: <a href=\"https:\/\/m-path.io\/mpathr\/guide.html\">https:\/\/m-path.io\/mpathr\/guide.html<\/a><\/p>\n\n\n\n<p>This guide learns you the following things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to install the packages<\/li>\n\n\n\n<li>How to import data<\/li>\n\n\n\n<li>How to get information on the design and sampling scheme<\/li>\n\n\n\n<li>How to study participants response behaviors<\/li>\n\n\n\n<li>How to compute and transform variables<\/li>\n\n\n\n<li>How to do data exploration<\/li>\n\n\n\n<li>How to analyze data<\/li>\n<\/ul>\n\n\n\n<p>Even more <a href=\"https:\/\/preprocess.esmtools.com\/\">information on how to preprocess and analyze data can be found here<\/a>. This page is however not linked to m-Path (or specific for m-Path data).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The package<\/h2>\n\n\n\n<p>We have a <a href=\"https:\/\/m-path-io.github.io\/mpathr\/index.html\">Github page about the R package<\/a>, be sure to check it out for more information.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Bugs and problems should be reported on the page of the package.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We created an R package to make it easier to import and analyze m-Path data in R. In the following video, we show how to install the package and how to import the data in R. To load the data in R, you first need to export the data in&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-13071","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/13071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=13071"}],"version-history":[{"count":4,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/13071\/revisions"}],"predecessor-version":[{"id":13764,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/13071\/revisions\/13764"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=13071"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-category?post=13071"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-tag?post=13071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}