{
  "_id": "6a104c31acfb0bcc41ca01c3",
  "Package": "texteffect",
  "Version": "0.3",
  "Date": "2019-03-23",
  "Title": "Discovering Latent Treatments in Text Corpora and Estimating\nTheir Causal Effects",
  "Author": "Christian Fong <christianfong@stanford.edu>",
  "Maintainer": "Christian Fong <christianfong@stanford.edu>",
  "Description": "Implements the approach described in Fong and Grimmer\n(2016) <https://aclweb.org/anthology/P/P16/P16-1151.pdf> for\nautomatically discovering latent treatments from a corpus and\nestimating the average marginal component effect (AMCE) of each\ntreatment.  The data is divided into a training and test set.\nThe supervised Indian Buffet Process (sibp) is used to discover\nlatent treatments in the training set.  The fitted model is\nthen applied to the test set to infer the values of the latent\ntreatments in the test set.  Finally, Y is regressed on the\nlatent treatments in the test set to estimate the causal effect\nof each treatment.",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 07:32:40 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2019-03-24 04:30:06 UTC",
  "RemoteUrl": "https://github.com/cran/texteffect",
  "RemoteRef": "HEAD",
  "RemoteSha": "3d3e575e601ecd6fd1ae902907794ba1ff65dfc5",
  "MD5sum": "0b47bea61d2482bffdb18b638e26450d",
  "_user": "cran",
  "_type": "src",
  "_file": "texteffect_0.3.tar.gz",
  "_fileid": "bbd7da8678f872ab77fc206e7f0aedd8451938b1364a3b4556be1f03203e0df4",
  "_filesize": 143114,
  "_sha256": "bbd7da8678f872ab77fc206e7f0aedd8451938b1364a3b4556be1f03203e0df4",
  "_created": "2026-05-10T07:32:40.000Z",
  "_published": "2026-05-22T12:29:37.825Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77379514302,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6901993169"
    },
    {
      "job": 77379514456,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6901992590"
    },
    {
      "job": 77379513518,
      "time": 161,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901981321"
    },
    {
      "job": 77379513860,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160488338"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25622871042",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/texteffect",
  "_commit": {
    "id": "3d3e575e601ecd6fd1ae902907794ba1ff65dfc5",
    "author": "Christian Fong <christianfong@stanford.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3\n",
    "time": 1553401806
  },
  "_maintainer": {
    "name": "Christian Fong",
    "email": "christianfong@stanford.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 194,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/texteffect"
  },
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/texteffect.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2017-11-27"
    },
    {
      "version": "0.2",
      "date": "2018-12-16"
    },
    {
      "version": "0.3",
      "date": "2019-04-08"
    }
  ],
  "_exports": [
    "infer_Z",
    "sibp",
    "sibp_amce",
    "sibp_amce_plot",
    "sibp_exclusivity",
    "sibp_param_search",
    "sibp_rank_runs",
    "sibp_top_words"
  ],
  "_datasets": [
    {
      "name": "BioSample",
      "title": "Sample from the Fong and Grimmer Wikipedia Biography Data",
      "object": "BioSample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "resp",
        "born",
        "high_school",
        "university",
        "college",
        "graduated",
        "served",
        "attended",
        "father",
        "united_states",
        "worked",
        "school",
        "county",
        "son",
        "member",
        "years",
        "family",
        "nee",
        "state",
        "law_school",
        "city",
        "elected",
        "state_university",
        "business",
        "graduating",
        "mother",
        "year",
        "president",
        "school_law",
        "degree",
        "received",
        "law",
        "grew",
        "children",
        "moved",
        "republican",
        "married",
        "office",
        "raised",
        "house",
        "service",
        "st",
        "political_science",
        "district",
        "company",
        "time",
        "bachelor_arts",
        "national",
        "public",
        "parents",
        "education"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BioSample",
      "title": "Sample from the Fong and Grimmer Wikipedia Biography Data",
      "topics": [
        "BioSample"
      ]
    },
    {
      "page": "infer_Z",
      "title": "Infer Treatments on the Test Set",
      "topics": [
        "infer_Z"
      ]
    },
    {
      "page": "sibp",
      "title": "Supervised Indian Buffet Process (sibp) for Discovering Treatments",
      "topics": [
        "sibp"
      ]
    },
    {
      "page": "sibp_amce",
      "title": "Infer Treatments on the Test Set",
      "topics": [
        "sibp_amce",
        "sibp_amce_plot"
      ]
    },
    {
      "page": "sibp_exclusivity",
      "title": "Calculate Exclusivity Metric",
      "topics": [
        "sibp_exclusivity",
        "sibp_rank_runs"
      ]
    },
    {
      "page": "sibp_param_search",
      "title": "Search Parameter Configurations for Supervised Indian Buffet Process (sibp)",
      "topics": [
        "sibp_param_search"
      ]
    },
    {
      "page": "sibp_top_words",
      "title": "Report Words Most Associated with each Treatment",
      "topics": [
        "sibp_top_words"
      ]
    }
  ],
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "MASS",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "texteffect",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-10T07:34:32.000Z",
      "distro": "noble",
      "commit": "3d3e575e601ecd6fd1ae902907794ba1ff65dfc5",
      "fileid": "06890e0a919eb8db6ef2677d3fbf7f6edb691953e5978d744d5aecac2032274c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25622871042"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-10T07:34:25.000Z",
      "distro": "noble",
      "commit": "3d3e575e601ecd6fd1ae902907794ba1ff65dfc5",
      "fileid": "a300c9bee2247af578170507437930d76d606ba40ad0dbafe2710f7a775967bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25622871042"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3",
      "date": "2026-05-22T12:29:23.000Z",
      "commit": "3d3e575e601ecd6fd1ae902907794ba1ff65dfc5",
      "fileid": "94d1263aaaa991d6ce14c72c85a1cab5851626235dc575e532564adaf760acdd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25622871042"
    }
  ]
}