{"id":4388,"date":"2018-06-06T10:47:09","date_gmt":"2018-06-06T08:47:09","guid":{"rendered":"http:\/\/sidor.webs5.uvigo.es\/miguel-martinez-comesana\/"},"modified":"2018-06-06T10:47:09","modified_gmt":"2018-06-06T08:47:09","slug":"miguel-martinez-comesana","status":"publish","type":"post","link":"https:\/\/sidor.uvigo.es\/en\/miguel-martinez-comesana\/","title":{"rendered":"Miguel Mart\u00ednez Comesa\u00f1a"},"content":{"rendered":"<p>{source}<span style=\"font-family: courier new, courier, monospace;\"><\/p>\n<p>&lt;?php<br \/>class LastPublication{ <\/p>\n<p>public function getID(){<br \/>$db = JFactory::getDBO();<br \/>$query = $db-&gt;getQuery(true);<br \/>$query-&gt;select(&#8216;id&#8217;);<br \/>$query-&gt;from(&#8216;#__jresearch_member&#8217;);<br \/>$query-&gt;where(&#8216;firstname = &#8220;Miguel&#8221;&#8216;);<\/p>\n<p>$db-&gt;setQuery($query);<br \/>$result = $db-&gt;loadResult();<\/p>\n<p>return $result;<br \/>}<\/p>\n<p>public function getLatestPublications() {<br \/>$n = 0;<br \/>$db = JFactory::getDBO(); <br \/>$latestPub = array();<br \/>$memberId = $this-&gt;getID();<\/p>\n<p>$query = &#8216;SELECT p.* FROM &#8216;.$db-&gt;quoteName(&#8216;#__jresearch_publication_internal_author&#8217;).&#8217; ia JOIN &#8216;.$db-&gt;quoteName(&#8216;#__jresearch_publication&#8217;).&#8217; p WHERE &#8216;.$db-&gt;quoteName(&#8216;p&#8217;).&#8217;.&#8217;.$db-&gt;quoteName(&#8216;id&#8217;).&#8217; = &#8216;.$db-&gt;quoteName(&#8216;ia&#8217;).&#8217;.&#8217;.$db-&gt;quoteName(&#8216;id_publication&#8217;).&#8217; &#8216;.&#8217; AND &#8216;.$db-&gt;quoteName(&#8216;ia&#8217;).&#8217;.&#8217;.$db-&gt;quoteName(&#8216;id_staff_member&#8217;).&#8217; = &#8216;.$db-&gt;Quote($memberId).&#8217; AND p.published = &#8216;.$db-&gt;Quote(&#8216;1&#8242;).&#8217; AND p.internal = &#8216;.$db-&gt;Quote(&#8216;1&#8242;).&#8217; ORDER BY &#8216;.$db-&gt;quoteName(&#8216;p&#8217;).&#8217;.&#8217;.$db-&gt;quoteName(&#8216;year&#8217;).&#8217; DESC, STR_TO_DATE(p.&#8217;.$db-&gt;quoteName(&#8216;month&#8217;).&#8217;, \\&#8217;%M\\&#8217; ) DESC, &#8216;.&#8217;p.&#8217;.$db-&gt;quoteName(&#8216;created&#8217;).&#8217; DESC&#8217;;<\/p>\n<p>if($n &gt; 0){<br \/>$query .= &#8216; LIMIT 0, &#8216;.$n;<br \/>}<\/p>\n<p>$db-&gt;setQuery($query);<br \/>$result = $db-&gt;loadAssocList();<br \/>foreach($result as $row){<br \/>$latestPub[] = $row;<br \/>}<\/p>\n<p>return $latestPub; <br \/>}<\/p>\n<p>}<\/p>\n<p>?&gt;<br \/><\/span>{\/source}<\/p>\n<div class=\"col-xs-12 xsa col-sm-12  col-md-12 col-lg-8\">\n<div class=\"media\">\n<div class=\"media-left\"><img decoding=\"async\" src=\"images\/members\/Miguel Mart\u00ednez Comesa\u00f1a.jpg\" alt=\"Miguel Martinez Comesa\u00f1a\" class=\"media-object pull-left thumbnail\" style=\"width: 20%; height: 20%;\" \/><\/div>\n<div class=\"media-body\">\n<h3 class=\"media-heading\">Technical Staff<\/h3>\n<p>Statistics and Operations Research Area (265)<\/p>\n<p><a href=\"http:\/\/webs.uvigo.es\/depc05\/\" target=\"_blank\" rel=\"noopener noreferrer\">Department of Statistics and Operations Research (C05)<\/a><\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><strong>Research Lines:<\/strong><\/p>\n<ul>\n<li><\/li>\n<\/ul><\/div>\n<div class=\"col-xs-12 xsa col-sm-12  col-md-12 col-lg-4\">\n<h3>Contact Information<\/h3>\n<div class=\"well\">\n<p><a href=\"http:\/\/fccee.uvigo.es\" target=\"_blank\" rel=\"noopener noreferrer\">FCCEE<\/a><br \/> Office 103<br \/> University Campus<br \/> PO 36310 Vigo<\/p>\n<p>&nbsp;<\/p>\n<p><i class=\"fa fa-phone\"><\/i> +34 986 812 440<br \/><i class=\"fa fa-envelope-o\"><\/i> <a href=\"mailto:migmartinez@uvigo.es\">Email<\/a><\/p>\n<p>Website at UVIGO<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<div class=\"col-xs-12 xsa col-sm-12  col-md-12 col-lg-12\">\n<h3>CV<\/h3>\n<hr class=\"hr\" \/>\n<p>Research support technician in SiDOR group (GRC ED431C 2016\/040 SiDOR)<\/p>\n<p>Degree in Economic Sciences (2017) at University of Vigo, and currently studying the <a href=\"http:\/\/eio.usc.es\/pub\/mte\/index.php\/en\" target=\"_blank\" rel=\"noopener noreferrer\"> Master in Statistical Tecniques<\/a> (USC, UVigo and UDC). Apart from of what I learned on my academic studies, I have knowledge of R programming, Matlab, web scrapping using &#8220;selenium&#8221; as well as certain specific statistical models like &#8220;Multilevel models&#8221;.<\/p>\n<\/p><\/div>\n<div class=\"col-xs-12 xsa col-sm-12  col-md-12 col-lg-12\">\n<h3>Last Publication<\/h3>\n<hr class=\"hr\" \/>\n<p>{source}<span style=\"font-family: courier new, courier, monospace;\"><br \/>&lt;?php<br \/>$lastP = new LastPublication(); <\/p>\n<p>$Publications = $lastP-&gt;getLatestPublications();<\/p>\n<p>?&gt;<\/p>\n<p>&lt;ul&gt;<\/p>\n<p>&lt;?php<\/p>\n<p>$count = 0;<\/p>\n<p>foreach ($Publications as $p):<\/p>\n<p>?&gt;<\/p>\n<p><span style=\"text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: courier new,courier,monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; white-space: normal; orphans: 2; float: none; background-color: transparent;\">&lt;li&gt;&lt;a href=&#8221;en\/publications?view=publication&amp;task=show&amp;id=&lt;?php echo $p[&#8216;id&#8217;] ?&gt;&#8221;&gt;&lt;?php echo $p[&#8216;title&#8217;]; ?&gt;&lt;\/a&gt;&lt;\/li&gt;<\/span><\/p>\n<p>&lt;?php<\/p>\n<p>if($count == 3){<\/p>\n<p>break;<\/p>\n<p>}<br \/>$count++;<\/p>\n<p>endforeach;<br \/>?&gt;<\/p>\n<p>&lt;\/ul&gt;<br \/><\/span>{\/source}<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>{source} &lt;?phpclass LastPublication{ public function getID(){$db = JFactory::getDBO();$query = $db-&gt;getQuery(true);$query-&gt;select(&#8216;id&#8217;);$query-&gt;from(&#8216;#__jresearch_member&#8217;);$query-&gt;where(&#8216;firstname = &#8220;Miguel&#8221;&#8216;); $db-&gt;setQuery($query);$result = $db-&gt;loadResult(); return $result;} public function getLatestPublications() {$n = 0;$db = JFactory::getDBO(); &hellip; <a class=\"excerpt_more\" href=\"https:\/\/sidor.uvigo.es\/en\/miguel-martinez-comesana\/\">Continued<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-4388","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/posts\/4388\/"}],"collection":[{"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/posts\/"}],"about":[{"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/types\/post\/"}],"author":[{"embeddable":true,"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/users\/2\/"}],"replies":[{"embeddable":true,"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/comments\/?post=4388"}],"version-history":[{"count":0,"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/posts\/4388\/revisions\/"}],"wp:attachment":[{"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/media\/?parent=4388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/categories\/?post=4388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sidor.uvigo.es\/en\/wp-json\/wp\/v2\/tags\/?post=4388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}