Package: rsocialwatcher 0.1.1


Robert Marty
rsocialwatcher: 'Facebook Marketing API' Social Watcher
Facilitates querying data from the ‘Facebook Marketing API', particularly for social science research <https://developers.facebook.com/docs/marketing-apis/>. 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.
Authors:
rsocialwatcher_0.1.1.tar.gz
rsocialwatcher_0.1.1.zip(r-4.7)rsocialwatcher_0.1.1.zip(r-4.6)rsocialwatcher_0.1.1.zip(r-4.5)
rsocialwatcher_0.1.1.tgz(r-4.6-any)rsocialwatcher_0.1.1.tgz(r-4.5-any)
rsocialwatcher_0.1.1.tar.gz(r-4.7-any)rsocialwatcher_0.1.1.tar.gz(r-4.6-any)
rsocialwatcher_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rsocialwatcher/json (API)
| # Install 'rsocialwatcher' in R: |
| install.packages('rsocialwatcher', repos = c('https://worldbank.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/worldbank/rsocialwatcher/issues
Pkgdown/docs site:https://worldbank.github.io
Last updated from:d9818ed6b1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 157 | ||
| source / vignettes | OK | 197 | ||
| linux-release-x86_64 | OK | 143 | ||
| macos-release-arm64 | OK | 99 | ||
| macos-oldrel-arm64 | OK | 79 | ||
| windows-devel | OK | 123 | ||
| windows-release | OK | 92 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 127 |
Exports:get_fb_parameter_idsget_fb_suggested_radiusget_location_coordsmap_parammap_param_vecquery_fb_marketing_api
Dependencies:askpassclassclassIntclicpp11curldata.tableDBIdplyre1071genericsgluehttrjsonliteKernSmoothlifecyclelubridatemagrittrMASSmimeopensslpillarpkgconfigproxypurrrR6Rcpprlangs2sfsplitstackshapestringistringrsystibbletidyselecttimechangeunitsutf8vctrswithrwk