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:Robert Marty [aut, cre]

rsocialwatcher_0.1.1.tar.gz
rsocialwatcher_0.1.1.zip(r-4.5)rsocialwatcher_0.1.1.zip(r-4.4)rsocialwatcher_0.1.1.zip(r-4.3)
rsocialwatcher_0.1.1.tgz(r-4.4-any)rsocialwatcher_0.1.1.tgz(r-4.3-any)
rsocialwatcher_0.1.1.tar.gz(r-4.5-noble)rsocialwatcher_0.1.1.tar.gz(r-4.4-noble)
rsocialwatcher_0.1.1.tgz(r-4.4-emscripten)rsocialwatcher_0.1.1.tgz(r-4.3-emscripten)
rsocialwatcher.pdf |rsocialwatcher.html
rsocialwatcher/json (API)

# Install 'rsocialwatcher' in R:
install.packages('rsocialwatcher', repos = c('https://worldbank.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/worldbank/rsocialwatcher/issues

On CRAN:

6 exports 6 stars 1.81 score 43 dependencies 7 scripts 154 downloads

Last updated 5 months agofrom:d9818ed6b1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winOKSep 03 2024
R-4.5-linuxOKSep 03 2024
R-4.4-winOKSep 03 2024
R-4.4-macOKSep 03 2024
R-4.3-winOKSep 03 2024
R-4.3-macOKSep 03 2024

Exports:get_fb_parameter_idsget_fb_suggested_radiusget_location_coordsmap_parammap_param_vecquery_fb_marketing_api

Dependencies:askpassclassclassIntclicpp11curldata.tableDBIdplyre1071fansigenericsgluehttrjsonliteKernSmoothlifecyclelubridatemagrittrMASSmimeopensslpillarpkgconfigproxypurrrR6Rcpprlangs2sfsplitstackshapestringistringrsystibbletidyselecttimechangeunitsutf8vctrswithrwk