rsocialwatcher: 'Facebook Marketing API' Social Watcher

Facilitates querying data from the ‘Facebook Marketing API', particularly for social science research <>. Data from the 'Facebook Marketing API' has been used for a variety of social science applications, such as for poverty estimation (Marty and Duhaut (2024) <doi:10.1038/s41598-023-49564-6>), disease surveillance (Araujo et al. (2017) <doi:10.48550/arXiv.1705.04045>), and measuring migration (Alexander, Polimis, and Zagheni (2020) <doi:10.1007/s11113-020-09599-3>). The package facilitates querying the number of Facebook daily/monthly active users for multiple location types (e.g., from around a specific coordinate to an administrative region) and for a number of attribute types (e.g., interests, behaviors, education level, etc). The package supports making complex queries within one API call and making multiple API calls across different locations and/or parameters.

Version: 0.1.1
Imports: dplyr, lubridate, jsonlite, httr, curl, stringr, splitstackshape, sf, purrr
Suggests: knitr, rmarkdown
Published: 2024-05-06
DOI: 10.32614/CRAN.package.rsocialwatcher
Author: Robert Marty ORCID iD [aut, cre]
Maintainer: Robert Marty <rmarty at>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: rsocialwatcher results


Reference manual: rsocialwatcher.pdf


Package source: rsocialwatcher_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): rsocialwatcher_0.1.1.tgz, r-oldrel (arm64): rsocialwatcher_0.1.1.tgz, r-release (x86_64): rsocialwatcher_0.1.1.tgz, r-oldrel (x86_64): rsocialwatcher_0.1.1.tgz
Old sources: rsocialwatcher archive


Please use the canonical form to link to this page.