Susana Rafaela Guimaraes Martins

{source}

<?php
class LastPublication{

public function getID(){
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select(‘id’);
$query->from(‘#__jresearch_member’);
$query->where(‘firstname = “Beatriz”‘);

$db->setQuery($query);
$result = $db->loadResult();

return $result;
}

public function getLatestPublications() {
$n = 0;
$db = JFactory::getDBO();
$latestPub = array();
$memberId = $this->getID();

$query = ‘SELECT p.* FROM ‘.$db->quoteName(‘#__jresearch_publication_internal_author’).’ ia JOIN ‘.$db->quoteName(‘#__jresearch_publication’).’ p WHERE ‘.$db->quoteName(‘p’).’.’.$db->quoteName(‘id’).’ = ‘.$db->quoteName(‘ia’).’.’.$db->quoteName(‘id_publication’).’ ‘.’ AND ‘.$db->quoteName(‘ia’).’.’.$db->quoteName(‘id_staff_member’).’ = ‘.$db->Quote($memberId).’ AND p.published = ‘.$db->Quote(‘1′).’ AND p.internal = ‘.$db->Quote(‘1′).’ ORDER BY ‘.$db->quoteName(‘p’).’.’.$db->quoteName(‘year’).’ DESC, STR_TO_DATE(p.’.$db->quoteName(‘month’).’, \’%M\’ ) DESC, ‘.’p.’.$db->quoteName(‘created’).’ DESC’;

if($n > 0){
$query .= ‘ LIMIT 0, ‘.$n;
}

$db->setQuery($query);
$result = $db->loadAssocList();
foreach($result as $row){
$latestPub[] = $row;
}

return $latestPub;
}

}

?>
{/source}

Susana Rafaela Guimaraes Martins

PhD Student

Statistics and Operations Research Area (265)

 

Research Lines:

  • Missing and longitudinal data

Contact Information

Instituto Politécnico de Viana do Castelo
Office xxx

Portugal

 

+34 xxx xxx xxx
Email

Website at UVIGO

CV


Degree in Educational Mathematics by Universidade do Porto in 2008. Master’s in Statistics of Sistems by Universidade do Minho which final report was the “Study of factors that facilitate the consumption of advertising through email marketing”. In October 2018, I’ve started a PhD in Statistics at Universidade de Vigo with a focus on the analysis of missing and longitudinal data.

Professionally I’m a part-time invited assistant in Instiuto Politécnico de Viana do Castelo and Instituto Superior de Administração e Gestão, both in Portugal.

Last Publications


{source}
<?php
$lastP = new LastPublication();

$Publications = $lastP->getLatestPublications();

?>

<ul>

<?php

$count = 0;

foreach ($Publications as $p):

?>

<li><a href=”en/publications?view=publication&task=show&id=<?php echo $p[‘id’] ?>”><?php echo $p[‘title’]; ?></a></li>

<?php

if($count == 3){

break;

}
$count++;

endforeach;
?>

</ul>
{/source}