{
  "_id": "6a49c7b01f917fbb72a20cc5",
  "Package": "cspp",
  "Type": "Package",
  "Title": "A Tool for the Correlates of State Policy Project Data",
  "Version": "0.3.3",
  "Author": "Caleb Lucas (https://caleblucas.com/) and Joshua McCrain\n(http://joshuamccrain.com/)",
  "Maintainer": "Caleb Lucas <calebjlucas@gmail.com>",
  "Description": "A tool that imports, subsets, visualizes, and exports the\nCorrelates of State Policy Project dataset assembled by Marty\nP. Jordan and Matt Grossmann (2020)\n<http://ippsr.msu.edu/public-policy/correlates-state-policy>.\nThe Correlates data contains over 2000 variables across more\nthan 100 years that pertain to state politics and policy in the\nUnited States. Users with only a basic understanding of R can\nsubset this data across multiple dimensions, export their\nsearch results, create map visualizations, export the citations\nassociated with their searches, and more.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Language": "en-US",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 02:51:31 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://caleblucas.r-universe.dev",
  "Date/Publication": "2022-12-16 23:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/cspp",
  "RemoteRef": "HEAD",
  "RemoteSha": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
  "_user": "caleblucas",
  "_type": "src",
  "_file": "cspp_0.3.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/1d276dfaa0a9bb65df31df292e8d557fffb6bd35a51558350b51f03de40baa9a",
  "_filesize": 5367676,
  "_sha256": "1d276dfaa0a9bb65df31df292e8d557fffb6bd35a51558350b51f03de40baa9a",
  "_expires": "2026-10-13T02:55:42.000Z",
  "_created": "2026-07-05T02:51:31.000Z",
  "_published": "2026-07-05T02:55:44.023Z",
  "_jobs": [
    {
      "job": 85187143176,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8087703490"
    },
    {
      "job": 85187143177,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087707355"
    },
    {
      "job": 85187143183,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087699173"
    },
    {
      "job": 85187143188,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087700204"
    },
    {
      "job": 85186960894,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087688044"
    },
    {
      "job": 85187143175,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8087702299"
    },
    {
      "job": 85187143179,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8087701155"
    },
    {
      "job": 85187143194,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087696862"
    },
    {
      "job": 85187143178,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087697087"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526",
  "_status": "success",
  "_upstream": "https://github.com/cran/cspp",
  "_commit": {
    "id": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
    "author": "Caleb Lucas <calebjlucas@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.3\n",
    "time": 1671232802
  },
  "_maintainer": {
    "name": "Caleb Lucas",
    "email": "calebjlucas@gmail.com",
    "login": "caleblucas",
    "description": "Political Scientist",
    "uuid": 19397887
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "mapproj",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "csppData",
      "role": "Imports"
    },
    {
      "package": "ggcorrplot",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "ggraph",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "caleblucas",
      "count": 2,
      "uuid": 19397887
    },
    {
      "user": "jmccrain",
      "count": 2,
      "uuid": 51973413
    }
  ],
  "_userbio": {
    "uuid": 19397887,
    "type": "user",
    "name": "Caleb Lucas",
    "followers": 9,
    "description": "Political Scientist"
  },
  "_downloads": {
    "count": 416,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cspp"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cspp.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "caleblucas",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2020-10-27"
    },
    {
      "version": "0.3.1",
      "date": "2021-01-05"
    },
    {
      "version": "0.3.2",
      "date": "2021-10-17"
    },
    {
      "version": "0.3.3",
      "date": "2022-12-17"
    }
  ],
  "_exports": [
    "corr_plot",
    "generate_map",
    "get_cites",
    "get_cspp_data",
    "get_network_data",
    "get_var_info",
    "plot_panel"
  ],
  "_datasets": [
    {
      "name": "map_example",
      "title": "Sample Dataset for Working with generate_map()",
      "object": "map_example",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "year",
        "poptotal"
      ],
      "rows": 51,
      "table": true,
      "tojson": true
    },
    {
      "name": "network_data",
      "title": "State Network data (IPPSR)",
      "object": "network_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "State1",
        "State2",
        "st.abb2",
        "st.abb1",
        "dyadid",
        "S1region",
        "S2region",
        "S1division",
        "S2division",
        "Border",
        "Distance",
        "State1_Lat",
        "State1_Long",
        "State2_Lat",
        "State2_Long",
        "ACS_Migration",
        "PopDif",
        "State1_Pop",
        "State2_Pop",
        "IncomingFlights",
        "IRS_migration",
        "Income",
        "IRS_migration_2010",
        "Income_2010",
        "Imports",
        "GSPDif",
        "S1GSP",
        "S2GSP",
        "DemDif",
        "S1AvgDem",
        "S2AvgDem",
        "S1SenDemProp",
        "S1HSDemProp",
        "S2SenDemProp",
        "S2HSDemProp",
        "IdeologyDif",
        "PIDDif",
        "S1Ideology",
        "S1PID",
        "S2Ideology",
        "S2PID",
        "policy_diffusion_tie",
        "policy_diffusion_2015",
        "policy_diffusion_2000.2015",
        "LibDif",
        "ELibDif",
        "SLibDif",
        "S1EconomicLiberalism",
        "S1SocialLiberalism",
        "S2EconomicLiberalism",
        "S2SocialLiberalism",
        "MassSocLibDif",
        "MassEconLibDif",
        "PolSocLibDif",
        "PolEconLibDif",
        "State1PolSocLib",
        "State1PolEconLib",
        "State1MassSocLib",
        "State1MassEconLib",
        "State2PolSocLib",
        "State2PolEconLib",
        "State2MassSocLib",
        "State2MassEconLib",
        "perceived_similarity",
        "RaceDif",
        "LatinoDif",
        "WhiteDif",
        "BlackDif",
        "AsianDif",
        "NativeDif",
        "S1Latino",
        "S1White",
        "S1Black",
        "S1Asian",
        "S1Native",
        "S2Latino",
        "S2White",
        "S2Black",
        "S2Asian",
        "S2Native",
        "ReligDif",
        "ChristianDif",
        "EvangelicalDif",
        "MainlineDif",
        "BPDif",
        "CatholicDif",
        "MormonDif",
        "JewishDif",
        "MuslimDif",
        "BuddhistDif",
        "HinduDif",
        "NonesDif",
        "NPDif",
        "ReligiosityDif",
        "S1Christian",
        "S1Evangelical",
        "S1Mainline",
        "S1BlackProt",
        "S1Catholic",
        "S1Mormon",
        "S1Jewish",
        "S1Muslim",
        "S1Buddhist",
        "S1Hindu",
        "S1Nones",
        "S1NothingParticular",
        "S1HighlyReligious",
        "S2Christian",
        "S2Evangelical",
        "S2Mainline",
        "S2BlackProt",
        "S2Catholic",
        "S2Mormon",
        "S2Jewish",
        "S2Muslim",
        "S2Buddhist",
        "S2Hindu",
        "S2Nones",
        "S2NothingParticular",
        "S2HighlyReligious"
      ],
      "rows": 2550,
      "table": true,
      "tojson": true
    },
    {
      "name": "network_vars",
      "title": "State Network (IPPSR) Dataset Variable Names",
      "object": "network_vars",
      "class": [
        "data.frame"
      ],
      "fields": [
        "var_names",
        "category"
      ],
      "rows": 118,
      "table": true,
      "tojson": true
    },
    {
      "name": "var_names_db",
      "title": "Correlates of State Policy Project Dataset (IPPSR) Variable Names",
      "object": "var_names_db",
      "class": [
        "data.frame"
      ],
      "fields": [
        "var_names",
        "category",
        "addl_notes"
      ],
      "rows": 2179,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "corr_plot",
      "title": "Create correlation plots of CSPP data",
      "topics": [
        "corr_plot"
      ]
    },
    {
      "page": "generate_map",
      "title": "Generate map visualizations (choropleths) of CSPP data",
      "topics": [
        "generate_map"
      ]
    },
    {
      "page": "get_cites",
      "title": "Get citations for CSPP variables",
      "topics": [
        "get_cites"
      ]
    },
    {
      "page": "get_cspp_data",
      "title": "Load CSPP data into the R environment",
      "topics": [
        "get_cspp_data"
      ]
    },
    {
      "page": "get_network_data",
      "title": "Get state networks data",
      "topics": [
        "get_network_data"
      ]
    },
    {
      "page": "get_var_info",
      "title": "Get information regarding the CSPP variables",
      "topics": [
        "get_var_info"
      ]
    },
    {
      "page": "map_example",
      "title": "Sample Dataset for Working with generate_map()",
      "topics": [
        "map_example"
      ]
    },
    {
      "page": "network_data",
      "title": "State Network data (IPPSR)",
      "topics": [
        "network_data"
      ]
    },
    {
      "page": "network_vars",
      "title": "State Network (IPPSR) Dataset Variable Names",
      "topics": [
        "network_vars"
      ]
    },
    {
      "page": "plot_panel",
      "title": "Generate time series plots of CSPP data",
      "topics": [
        "plot_panel"
      ]
    },
    {
      "page": "var_names_db",
      "title": "Correlates of State Policy Project Dataset (IPPSR) Variable Names",
      "topics": [
        "var_names_db"
      ]
    }
  ],
  "_readme": "https://github.com/cran/cspp/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "csppData",
    "dplyr",
    "farver",
    "forcats",
    "generics",
    "ggcorrplot",
    "ggplot2",
    "glue",
    "gtable",
    "haven",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mapproj",
    "maps",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cspp-vignette.Rmd",
      "filename": "cspp-vignette.html",
      "title": "cspp: A Package for The Correlates of State Policy Project Data",
      "author": "Caleb LucasJoshua McCrain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic Use: Finding and Returning State Politics Data",
        "Finding Variables",
        "Pulling data",
        "Citations",
        "Maps and Choropleths",
        "Plot timeseries data",
        "Network data",
        "Network Plotting Examples"
      ],
      "created": "2020-10-27 13:10:11",
      "modified": "2021-10-16 22:30:19",
      "commits": 3
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "cspp",
  "_universes": [
    "caleblucas"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-05T02:54:07.000Z",
      "distro": "resolute",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/a2f12b315dd8288e40e97d254aad533834ea6df29ef9e4c0a14836d9c17042ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-05T02:54:51.000Z",
      "distro": "resolute",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/9b77429454b9a85a8ccbd929fb8f2489ccca944a2daf252d310b77ce0ef56e5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-05T02:53:31.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/1b7bebe27d1fe7dde4a190fdbb6792996999043351c3ed371306c93dd879f760",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-05T02:53:39.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/b8777272360c6d19a633e036ba05c5bab37a71cd4d4fda9ec6ec10cc1922b38d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-07-05T02:54:27.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/9437c9cc2a9dc69a86277f866c9079bd00ff43ef1252a25359b299e7e4a35bda",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-05T02:53:31.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/9e47155b9b451a7345319387617a554f51f4b67b12e31a06ce4e0868a3648ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-05T02:52:57.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/81971c051f7c1fc3bf4cfb90a3aabf44b02e4da095dabadef4e5fd7200171c5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-05T02:52:49.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "https://r2.ropensci.org/591e213e6e5891ca267119cca00d22103bee0c406a57c2856788ed5664edc275",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/28727363526"
    }
  ]
}