rmarkdown

Connecting to canvas lms from R

I often use information from canvas (in my case this is the University of Bergen version mitt.uib.no) when I prepare assignments and tasks for my students. I use Shiny and R as tools to manage my course, so I need data in formats that can readily be processed by R. It can be a pain to export information, like student names and emails etc. from within the web-interface in canvas, so I have been looking for better ways to gain access.

Markdown CV NFR style

Lag din CV tilpasset Norges Forskningsråds maler - i R! I denne posten vil jeg vise hvordan jeg laget min CV i R, tilpasset malen til Norges Forskningsråd1. Ved å bruke R kan deler av CV-oppdateringen automatiseres, og følgende funksjoner er tilgjengelig i denne malen: Antall publikasjoner, antall første- og sisteforfatterskap, antall siteringer, h-indeks og i10-indeks hentes automatisk fra Google Scholar (dersom du har profil). Antall inviterte foredrag og antall deltagere for en gitt periode kan fylles ut automatisk ved kobling til oversikt i en ekstern Excel fil.

Building a blogdown publication list from bibtex file (updated)

The best way to do this now is to follow the guide on the following page. I tried to build markdown files to use for publication section of my blog programmatically using r. I came close, but not all the way there. The following code takes a bibtex file, reads it into r, formats the output and splits each citation out to a separate markdown file. Unfortunately, there were som spaces and formatting errors that I was not able to get rid of, so I had to go through some manual cleaning up afterwards.

Testing academic framework

Just testing whether the switch to Academic allows me to post.

css, bibtex, blogdown

Auxillary files can be placed in the content folder, i.e. aux and linked to in yaml header: csl: aux/apa.csl css: aux/APAStyle.css keep_md: yes bibliography: aux/lifeevents.bib rmarkdown will then use this to produce html file in public/post folder. At least bibtex file, not so sure about css though…

Papers using rmarkdown

Introduction Children who grow up in families with poor economy are at increased risk for negative promotionansvarlig developmental outcomes. The three main theoretical frameworks that have been proposed to explain these associations are the family process perspective (underscoring how poor economy influences parental mental health, intrafamily conflict, poor parenting and children’s mental health), the family investment perspective (focusing on the constraints poor economy make on opportunities for making potentially stimulating investments into the famkily which may benefit childrens (especially) cognitive development), and the cumulative stress perspective, suggesting that chidlren in poorer families are exposed to more chaos, unpredictability and instability compare dto their affluent peers, which intereferes with their developmental processes through adverse influencsed on the stress—responsivity system of children [@Evans:2013jl].