{
  "_id": "6a229ce0cd65a98ecbd57cac",
  "Package": "rsocialwatcher",
  "Title": "'Facebook Marketing API' Social Watcher",
  "Version": "0.1.1",
  "Authors@R": "person(\"Robert\", \"Marty\", , \"rmarty@worldbank.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3164-3813\"))",
  "Description": "Facilitates querying data from the ‘Facebook Marketing\nAPI', particularly for social science research\n<https://developers.facebook.com/docs/marketing-apis/>. Data\nfrom the 'Facebook Marketing API' has been used for a variety\nof social science applications, such as for poverty estimation\n(Marty and Duhaut (2024) <doi:10.1038/s41598-023-49564-6>),\ndisease surveillance (Araujo et al. (2017)\n<doi:10.48550/arXiv.1705.04045>), and measuring migration\n(Alexander, Polimis, and Zagheni (2020)\n<doi:10.1007/s11113-020-09599-3>). The package facilitates\nquerying the number of Facebook daily/monthly active users for\nmultiple location types (e.g., from around a specific\ncoordinate to an administrative region) and for a number of\nattribute types (e.g., interests, behaviors, education level,\netc). The package supports making complex queries within one\nAPI call and making multiple API calls across different\nlocations and/or parameters.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://worldbank.github.io/rsocialwatcher/",
  "BugReports": "https://github.com/worldbank/rsocialwatcher/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://worldbank.r-universe.dev",
  "Date/Publication": "2024-05-06 15:44:23 UTC",
  "RemoteUrl": "https://github.com/worldbank/rsocialwatcher",
  "RemoteRef": "HEAD",
  "RemoteSha": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 09:51:29 UTC",
    "User": "root"
  },
  "Author": "Robert Marty [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3164-3813>)",
  "Maintainer": "Robert Marty <rmarty@worldbank.org>",
  "MD5sum": "f45d8bec8fe08753183ea65f9b5a7fd7",
  "_user": "worldbank",
  "_type": "src",
  "_file": "rsocialwatcher_0.1.1.tar.gz",
  "_fileid": "46c84a246ab72dbb26ebc6fcc31cfd91e013cf2843df97785aa73ca772902c1f",
  "_filesize": 631658,
  "_sha256": "46c84a246ab72dbb26ebc6fcc31cfd91e013cf2843df97785aa73ca772902c1f",
  "_created": "2026-06-05T09:51:29.000Z",
  "_published": "2026-06-05T09:54:40.455Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79704535701,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433803025"
    },
    {
      "job": 79704535763,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433798342"
    },
    {
      "job": 79704535818,
      "time": 79,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433778120"
    },
    {
      "job": 79704535723,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433784245"
    },
    {
      "job": 79704033464,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433752900"
    },
    {
      "job": 79704535712,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433793453"
    },
    {
      "job": 79704535781,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433793087"
    },
    {
      "job": 79704535741,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433783438"
    },
    {
      "job": 79704535749,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433782369"
    }
  ],
  "_buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/worldbank/rsocialwatcher",
  "_commit": {
    "id": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
    "author": "Rob Marty <robmarty3@gmail.com>",
    "committer": "Rob Marty <robmarty3@gmail.com>",
    "message": "readme\n",
    "time": 1715010263
  },
  "_maintainer": {
    "name": "Robert Marty",
    "email": "rmarty@worldbank.org",
    "orcid": "0000-0002-3164-3813"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "splitstackshape",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "worldbank",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "ramarty",
      "count": 102,
      "uuid": 11593422
    }
  ],
  "_userbio": {
    "uuid": 6454132,
    "type": "organization",
    "name": "World Bank",
    "description": "Welcome to the World Bank Open Source Software Repository. Content does not necessarily represent official World Bank positions, policies and recommendations."
  },
  "_downloads": {
    "count": 138,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rsocialwatcher"
  },
  "_devurl": "https://github.com/worldbank/rsocialwatcher",
  "_pkgdown": "https://worldbank.github.io/rsocialwatcher/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rsocialwatcher.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/worldbank/rsocialwatcher",
  "_realowner": "worldbank",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-05-02"
    },
    {
      "version": "0.1.1",
      "date": "2024-05-06"
    }
  ],
  "_exports": [
    "get_fb_parameter_ids",
    "get_fb_suggested_radius",
    "get_location_coords",
    "map_param",
    "map_param_vec",
    "query_fb_marketing_api"
  ],
  "_help": [
    {
      "page": "get_fb_parameter_ids",
      "title": "Get Facebook Parameter IDs",
      "topics": [
        "get_fb_parameter_ids"
      ]
    },
    {
      "page": "get_fb_suggested_radius",
      "title": "Get Suggested Radius",
      "topics": [
        "get_fb_suggested_radius"
      ]
    },
    {
      "page": "get_location_coords",
      "title": "Get Coordinates/Geometries for Valid Location Keys",
      "topics": [
        "get_location_coords"
      ]
    },
    {
      "page": "map_param",
      "title": "Map Parameters within 'query_fb_marketing_api()' Groups input into a 'map_param' object. When a 'map_param' object is entered as a parameter in 'query_fb_marketing_api()', 'query_fb_marketing_api()' makes a separate API query for each item within 'map_param'. A 'map_param' object is structured as a list, where the 'map_param' class triggers the 'query_fb_marketing_api' function to make a separate API query for each item in the list.",
      "topics": [
        "map_param"
      ]
    },
    {
      "page": "map_param_vec",
      "title": "Map Parameters over Vector Converts a vector into a 'map_param' object. When a 'map_param' object is entered as a parameter in 'query_fb_marketing_api()', 'query_fb_marketing_api()' makes a separate API query for each item within 'map_param' (ie, for each item in the original vector entered into 'map_param'). A 'map_param' object is structured as a list, where the 'map_param' class triggers the 'query_fb_marketing_api' function to make a separate API query for each item in the list.",
      "topics": [
        "map_param_vec"
      ]
    },
    {
      "page": "query_fb_marketing_api",
      "title": "Query 'Facebook Marketing' API",
      "topics": [
        "query_fb_marketing_api"
      ]
    }
  ],
  "_pkglogo": "https://github.com/worldbank/rsocialwatcher/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/worldbank/rsocialwatcher/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "splitstackshape",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "timechange",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rsocialwatcher",
  "_universes": [
    "worldbank"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-05T09:53:57.000Z",
      "distro": "noble",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "6762cf407959d7d38663b9b85cb060a3c0d1873807b602f3fd714ffef423a030",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-05T09:53:46.000Z",
      "distro": "noble",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "15d201cf063ce2a4f4a819e7d1a25f24f81f58f10064d84c0d14856e7a65e8b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-05T09:52:53.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "c081f53c1f3d05d051559fe9f198a5e533a8cf463e39fa12a75ada9f7f5b9d53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-05T09:53:07.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "0d6e8c2d66efa9b0d7f15d73f12e2b6701ce649aedf0efc4ef24030b088709f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-05T09:53:56.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "07e7ee314e6a5b6eaa356f9a1304292202b65135b3962d79e4b2d5fa7025ceb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-05T09:53:17.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "2a1556108fd91832b80a276e77102bcf3d3c261bc8307afcb0536ed55627696d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-05T09:52:49.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "0c5850dc5ad5cb726eca48004fd7d2ce60f9eb34b8c6df628f0a9139bd833564",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-05T09:52:48.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "c25942985ca1bab77fdf23e00d3052b105094d935709de52c9820410cfc5421e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/27007893496"
    }
  ]
}