Code and data from Dallas and Elderd 2021 "Mean-variance scaling relationships in commercial sex work networks"
收藏资源简介:
## Citation<br><br>Code and data to reproduce the analyses from<br><br>> Dallas, T and B Elderd. 2021. Mean-variance scaling relationships in commercial sex work networks. <br><br><br>These data are from The Erotic Review, a website of putative encounters between sex workers and clients. We have anonymized the data, using a unique 15 character string to identify sex workers and clients. We also do not release the code used to scrape The Erotic Review website, out of privacy concerns. <br><br><br><br><br><br>## Compiling the project<br><br>To compile the R markdown, the following terminal command can be issued from the directory where the files are all located.<br><br><br>```<br>Rscript -e 'install.packages(c("plyr","dplyr","igraph","viridis","rmarkdown")'<br>Rscript -e 'rmarkdown::render("analysis.Rmd", output_format="pdf_document")'<br><br>```<br><br><br><br>



