[R] build a literature database

Michael Dewey ||@t@ @end|ng |rom dewey@myzen@co@uk
Wed Nov 4 13:12:50 CET 2020


Dear John

If you are doing a systematic review have you thought of investigating 
some of the packages in the CRAN Task View on MetaAnalysis like metagear 
or revtools? I have not used any of them but they claim to support that 
part of the process.

Michael

On 04/11/2020 09:22, John wrote:
> Hi,
> 
>     I 'd like to create a table for literature review. Is there any good
> data structure (database) I may use? Now I just use a simple dataframe as
> follows, but in the second item I swap the order of year and author, and it
> records 2013 as author and "XH" as year.  Is there any better structure ?
> If not, how may I fix the current condition?Thanks!
> 
> 
> df <- data.frame(author = NA, year = NA, title = NA, country = NA, sample =
> NA, data = NA, result = NA, note = NA, stringsAsFactors=FALSE)
> df[1, ]<-c(
>             author = "Moore",
>             year = 2020,
>             title = "Statistics and data analysis",
>             country = "Colombia",
>             sample = NA,
>             data = "firm level",
>             result = NA,
>             note = NA)
> 
> df[nrow(df)+1,]<- c(year = 2013,
>                      author = "XH",
>                      title = NA,
>                      country = NA,
>                      sample = NA,
>                      data = NA,
>                      result = NA,
>                      note = NA)
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
Michael
http://www.dewey.myzen.co.uk/home.html



More information about the R-help mailing list