{
  "_id": "6a169720acfb0bcc41d7c253",
  "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-05-27 06:58:36 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",
  "MD5sum": "7b983af389abe39ec937d9ca415a2895",
  "_user": "caleblucas",
  "_type": "src",
  "_file": "cspp_0.3.3.tar.gz",
  "_fileid": "df70bf44459000851dae67c5755d4aec599edff94f962126fb6d6f576d99de5e",
  "_filesize": 5336164,
  "_sha256": "df70bf44459000851dae67c5755d4aec599edff94f962126fb6d6f576d99de5e",
  "_created": "2026-05-27T06:58:36.000Z",
  "_published": "2026-05-27T07:02:56.554Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78024272064,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233926604"
    },
    {
      "job": 78024272115,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233925588"
    },
    {
      "job": 78024272090,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233937359"
    },
    {
      "job": 78024272100,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233939584"
    },
    {
      "job": 78023805780,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233882659"
    },
    {
      "job": 78024272081,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233916125"
    },
    {
      "job": 78024272095,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233912946"
    },
    {
      "job": 78024272122,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233907834"
    },
    {
      "job": 78024272086,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233911452"
    }
  ],
  "_buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Political Scientist"
  },
  "_downloads": {
    "count": 384,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cspp"
  },
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_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.778151250383644,
  "_indexed": true,
  "_nocasepkg": "cspp",
  "_universes": [
    "caleblucas"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-27T07:00:59.000Z",
      "distro": "noble",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "3190790ced5fbfc824d46f216081a006fa07d45c3f3359bb58ca247f4756ab0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-27T07:00:58.000Z",
      "distro": "noble",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "66bf9943a989e778e1b883efa085ddfab957bcff99609d07f73326a4e84974ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-27T07:01:46.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "369a98f1c0f1a508bba6495d25a74c2a9a645e0076892b17ef8eba6881c5c1a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-27T07:01:49.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "d2da4e626a82f36464ec3471c77033aba1c6d51b79375c17bbeda4579ff8da3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-27T07:00:56.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "ce17a105529ecce1e7e470eb3eac61c437c8e0af5fa4f0b7ccace2ec3d426f93",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-27T07:00:05.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "e96ec04ac403bebc0a4d8a18ca42f774c76c18bf0423514284203fefe3bf400a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-27T06:59:48.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "eaedbd5368479ca05873395d34fcbe857807dd74adfcf8842fc4d3145e4a2d06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-27T07:00:00.000Z",
      "commit": "48da624f26fd2168668fe65c2cc2a0a6e436e2dc",
      "fileid": "4ad2579a2de96fbf6599ba5074346b42d8f2f40b750e75cbe96460ac38318471",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caleblucas/actions/runs/26495849901"
    }
  ]
}