{
  "_id": "6ad9d7acdb07788da70aa5ce",
  "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-10-22 09:24:20 UTC",
    "User": "root"
  },
  "Author": "Robert Marty [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3164-3813>)",
  "Maintainer": "Robert Marty <rmarty@worldbank.org>",
  "_user": "worldbank",
  "_type": "src",
  "_file": "rsocialwatcher_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/d0e92a4ac1fce27851e6eae39879dbe1c7cb8980049b19ebbf53fc2e40f56f43",
  "_filesize": 631723,
  "_sha256": "d0e92a4ac1fce27851e6eae39879dbe1c7cb8980049b19ebbf53fc2e40f56f43",
  "_expires": "2027-01-30T09:30:18.000Z",
  "_created": "2026-10-22T09:24:20.000Z",
  "_published": "2026-10-22T09:30:20.043Z",
  "_upstream": "https://github.com/worldbank/rsocialwatcher",
  "_status": "success",
  "_maintainer": {
    "name": "Robert Marty",
    "email": "rmarty@worldbank.org",
    "orcid": "0000-0002-3164-3813"
  },
  "_jobs": [
    {
      "job": 119745352358,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12415158952"
    },
    {
      "job": 119745352349,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12415019627"
    },
    {
      "job": 119745352500,
      "time": 225,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12416216491"
    },
    {
      "job": 119745352314,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12415766216"
    },
    {
      "job": 119743809107,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12414828266"
    },
    {
      "job": 119745352340,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12415043944"
    },
    {
      "job": 119745352317,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12414903031"
    },
    {
      "job": 119745352378,
      "time": 100,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12415342056"
    },
    {
      "job": 119745352362,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12414998858"
    }
  ],
  "_buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503",
  "_commit": {
    "id": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
    "author": "Rob Marty <robmarty3@gmail.com>",
    "committer": "Rob Marty <robmarty3@gmail.com>",
    "message": "readme\n",
    "time": 1715010263
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 1203,
    "description": "Welcome to the World Bank Open Source Software Repository. Content does not necessarily represent official World Bank positions, policies and recommendations."
  },
  "_downloads": {
    "count": 209,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rsocialwatcher.html",
    "LICENSE"
  ],
  "_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",
    "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-10-22T09:26:38.000Z",
      "distro": "resolute",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/243b464add9ff3630fd1d1ab3ce6ce893a0eb919a71320ccb23e91501c8b193d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-22T09:26:28.000Z",
      "distro": "resolute",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/42bdb7c114af12ff7d2056563ed85ff1dd2677671b37e8abda5af67f51ec048c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-22T09:28:45.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/147b2dc7a2a98a63ae7be0b01e055f717eeb1bdf3550a3e615462f06c850c150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-22T09:27:11.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/4dfde91088b73a2f87343b92a8103ccb4b61eac57d14895779483f27cbd74a4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-22T09:27:24.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/5a9b89d4e834d290b41fe2cc54a93615eac4f56274098efb106896134d5b4e37",
      "status": "success",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-22T09:25:22.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/00e3f126908ba3d32ccf44ac06e1b09fb29354d733d2c23f5e07d19315f6a7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-22T09:25:45.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/ded6c01c71064044c76bdbdd6f36362d9154b3397f534ae44fb7e2d811d52a8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-22T09:25:32.000Z",
      "commit": "d9818ed6b1153aa078eafaf3ef533bf63b7a5e8d",
      "fileid": "https://r2.ropensci.org/d9a06a2d20210a0fb9feac772b396f83240e84f14b530178ca4f034a9e30d599",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/worldbank/actions/runs/39754709503"
    }
  ]
}