You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boB Rudis
043f9bf0ef
|
5 years ago | |
---|---|---|
R | 5 years ago | |
inst/tinytest | 5 years ago | |
man | 5 years ago | |
tests | 5 years ago | |
.Rbuildignore | 5 years ago | |
.codecov.yml | 5 years ago | |
.gitignore | 5 years ago | |
.travis.yml | 5 years ago | |
CONDUCT.md | 5 years ago | |
DESCRIPTION | 5 years ago | |
NAMESPACE | 5 years ago | |
NEWS.md | 5 years ago | |
README.Rmd | 5 years ago | |
README.md | 5 years ago | |
mediacloud.Rproj | 5 years ago |
README.md
mediacloud [WIP]
Tools to Query the ‘Media Cloud’ ‘API’
Description
‘Media Cloud’ (https://mediacloud.org/) is an open source platform for studying media ecosystems. By tracking millions of stories published online, their suite of tools allows researchers to track how stories and ideas spread through media and help researchers answer complex quantitative and qualitative questions about the content of online media. Methods are provided to query the ‘Media Cloud’ ‘API’.
What’s Inside The Tin
The following functions are implemented:
mc_media_list
: Return multiple media sourcesmc_stats
: Return basic summary stats about total sources, stories, feeds, etc processed by Media Cloudmediacloud_api_key
: Get or set MEDIACLOUD_API_KEY value
Installation
devtools::install_git("https://git.rud.is/hrbrmstr/mediacloud.git")
# or
devtools::install_git("https://git.sr.ht/~hrbrmstr/mediacloud")
# or
devtools::install_gitlab("hrbrmstr/mediacloud")
# or
devtools::install_bitbucket("hrbrmstr/mediacloud")
# or
devtools::install_github("hrbrmstr/mediacloud")
Usage
library(mediacloud)
# current version
packageVersion("mediacloud")
## [1] '0.1.0'
mediacloud Metrics
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 7 | 0.88 | 115 | 0.93 | 33 | 0.65 | 115 | 0.79 |
Rmd | 1 | 0.12 | 9 | 0.07 | 18 | 0.35 | 31 | 0.21 |
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.