Showing 26 of total 26 results (show query)
saschagobel
legislatoR:Interface to the Comparative Legislators Database
Facilitates access to the Comparative Legislators Database (CLD). The CLD includes political, sociodemographic, career, online presence, public attention, and visual information for over 67,000 contemporary and historical politicians from 16 countries.
Maintained by Sascha Goebel. Last updated 1 years ago.
datadatasetlegislatorsparliamentpolitical-sciencepoliticianspoliticswikipedia
70.4 match 96 stars 6.24 score 36 scriptsmichalovadek
eurlex:Retrieve Data on European Union Law
Access to data on European Union laws and court decisions made easy with pre-defined 'SPARQL' queries and 'GET' requests. See Ovadek (2021) <doi:10.1080/2474736X.2020.1870150> .
Maintained by Michal Ovadek. Last updated 7 months ago.
courtseurlexeuropean-unionlawlegislationsparql
10.0 match 36 stars 6.18 score 21 scriptsatahk
pscl:Political Science Computational Laboratory
Bayesian analysis of item-response theory (IRT) models, roll call analysis; computing highest density regions; maximum likelihood estimation of zero-inflated and hurdle models for count data; goodness-of-fit measures for GLMs; data sets used in writing and teaching; seats-votes curves.
Maintained by Simon Jackman. Last updated 1 years ago.
3.4 match 67 stars 13.28 score 2.7k scripts 54 dependentsnicolas-schmidt
speech:Legislative Speeches
Converts the floor speeches of Uruguayan legislators, extracted from the parliamentary minutes, to tidy data.frame where each observation is the intervention of a single legislator.
Maintained by Nicolas Schmidt. Last updated 2 years ago.
8.8 match 7 stars 4.23 score 24 scriptszhukovyuri
SUNGEO:Sub-National Geospatial Data Archive: Geoprocessing Toolkit
Tools for integrating spatially-misaligned GIS datasets. Part of the Sub-National Geospatial Data Archive System.
Maintained by Yuri M. Zhukov. Last updated 10 months ago.
10.0 match 5 stars 3.42 score 8 scriptsalarm-redist
redist:Simulation Methods for Legislative Redistricting
Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements the SMC algorithm of McCartan and Imai (2023) <doi:10.1214/23-AOAS1763>, the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020) <doi:10.1080/2330443X.2020.1791773>, the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) <doi:10.1080/10618600.2020.1739532>, the Merge-split/Recombination algorithms of Carter et al. (2019) <arXiv:1911.01503> and DeFord et al. (2021) <doi:10.1162/99608f92.eb30390f>, and the Short-burst optimization algorithm of Cannon et al. (2020) <arXiv:2011.02288>.
Maintained by Christopher T. Kenny. Last updated 2 months ago.
geospatialgerrymanderingredistrictingsamplingopenblascppopenmp
3.1 match 68 stars 9.17 score 259 scriptselipousson
mapbaltimore:Make maps for Baltimore City with open data
This package provides data from the Baltimore City, the state of Maryland, and other sources, functions to access additional data, and function to create and modify simple maps of Baltimore neighborhoods using sf and ggplot2.
Maintained by Eli Pousson. Last updated 4 months ago.
7.0 match 17 stars 3.85 score 14 scriptsropensci
rcites:R Interface to the Species+ Database
A programmatic interface to the Species+ <https://speciesplus.net/> database via the Species+/CITES Checklist API <https://api.speciesplus.net/>.
Maintained by Kevin Cazelles. Last updated 2 years ago.
api-clientcitesdatabaseendangered-speciestrade
4.0 match 14 stars 6.52 score 26 scriptsrwrandles
washex:Washington State Legislative Explorer
Gets data from the Washington State Legislature.
Maintained by Rohnin Randles. Last updated 3 years ago.
9.4 match 2.70 score 2 scriptswalkerke
tigris:Load Census TIGER/Line Shapefiles
Download TIGER/Line shapefiles from the United States Census Bureau (<https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html>) and load into R as 'sf' objects.
Maintained by Kyle Walker. Last updated 4 months ago.
1.7 match 331 stars 12.87 score 5.3k scripts 16 dependentspoliticaargentina
legislAr:Argentina Legislative Data and Tools
Paquete que failicia el acceso y trabajo con datos legislativos de Argetnina. Basados en repositorio del proyecto "La Década Votada" (Andy Tow).
Maintained by Juan Pablo Ruiz Nicolini. Last updated 3 years ago.
argentinadatalegislative-datapolitical-science
10.6 match 2 stars 2.00 scoreconjugateprior
twfy:Drive the API for TheyWorkForYou
An R wrapper around the API of TheyWorkForYou, a parliamentary monitoring site that scrapes and repackages Hansard (the UK's parliamentary record) and augments it with information from the Register of Members' Interests, election results, and voting records to provide a unified source of information about UK legislators and their activities. See <http://www.theyworkforyou.com> for details.
Maintained by Will Lowe. Last updated 6 years ago.
3.9 match 9 stars 4.65 score 3 scriptsdietrichson
ProPublicaR:Access Functions for ProPublica's APIs
Provides wrapper functions to access the ProPublica's Congress and Campaign Finance APIs. The Congress API provides near real-time access to legislative data from the House of Representatives, the Senate and the Library of Congress. The Campaign Finance API provides data from United States Federal Election Commission filings and other sources. The API covers summary information for candidates and committees, as well as certain types of itemized data. For more information about these APIs go to: <https://www.propublica.org/datastore/apis>.
Maintained by Aleksander Dietrichson. Last updated 2 years ago.
2.1 match 12 stars 4.38 score 1 scriptscorneliusfritz
bigergm:Fit, Simulate, and Diagnose Hierarchical Exponential-Family Models for Big Networks
A toolbox for analyzing and simulating large networks based on hierarchical exponential-family random graph models (HERGMs).'bigergm' implements the estimation for large networks efficiently building on the 'lighthergm' and 'hergm' packages. Moreover, the package contains tools for simulating networks with local dependence to assess the goodness-of-fit.
Maintained by Cornelius Fritz. Last updated 21 days ago.
3.4 match 2.60 score 4 scriptsbyersjs
krige:Geospatial Kriging with Metropolis Sampling
Estimates kriging models for geographical point-referenced data. Method is described in Gill (2020) <doi:10.1177/1532440020930197>.
Maintained by Jason S. Byers. Last updated 3 years ago.
6.7 match 1 stars 1.00 score 4 scriptszpneal
incidentally:Generates Incidence Matrices and Bipartite Graphs
Functions to generate incidence matrices and bipartite graphs that have (1) a fixed fill rate, (2) given marginal sums, (3) marginal sums that follow given distributions, or (4) represent bill sponsorships in the US Congress <doi:10.31219/osf.io/ectms>. It can also generate an incidence matrix from an adjacency matrix, or bipartite graph from a unipartite graph, via a social process mirroring team, group, or organization formation <doi:10.48550/arXiv.2204.13670>.
Maintained by Zachary Neal. Last updated 2 years ago.
1.3 match 7 stars 4.89 score 11 scriptsropenspain
senadoRES:Information About the Senate of Spain
Retrieve and parse information about the Spanish Congress.
Maintained by Lluís Revilla Sancho. Last updated 3 months ago.
goverment-dataspaintransparency
2.0 match 1 stars 2.18 score 3 scriptsjhu267
dTBM:Multi-Way Spherical Clustering via Degree-Corrected Tensor Block Models
Implement weighted higher-order initialization and angle-based iteration for multi-way spherical clustering under degree-corrected tensor block model. See reference Jiaxin Hu and Miaoyan Wang (2023) <doi:10.1109/TIT.2023.3239521>.
Maintained by Jiaxin Hu. Last updated 2 years ago.
4.0 match 1.00 scorethospfuller
ropensecretsapi:R Package for the OpenSecrets.org API
An R package for the OpenSecrets.org web services API.
Maintained by Thomas P. Fuller. Last updated 10 years ago.
1.8 match 1.81 score 13 scriptspolettif
proporz:Proportional Apportionment
Calculate seat apportionment for legislative bodies with various methods. The algorithms include divisor or highest averages methods (e.g. Jefferson, Webster or Adams), largest remainder methods and biproportional apportionment. Gaffke, N. & Pukelsheim, F. (2008) <doi:10.1016/j.mathsocsci.2008.01.004> Oelbermann, K. F. (2016) <doi:10.1016/j.mathsocsci.2016.02.003>.
Maintained by Flavio Poletti. Last updated 6 days ago.
apportionmentapportionment-methodsbiproportionalelection-analysis
0.5 match 6 stars 5.78 score 7 scriptsvanzanden
ggsolvencyii:A 'ggplot2'-Plot of Composition of Solvency II SCR: SF and IM
An implementation of 'ggplot2'-methods to present the composition of Solvency II Solvency Capital Requirement (SCR) as a series of concentric circle-parts. Solvency II (Solvency 2) is European insurance legislation, coming in force by the delegated acts of October 10, 2014. <https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ%3AL%3A2015%3A012%3ATOC>. Additional files, defining the structure of the Standard Formula (SF) method of the SCR-calculation are provided. The structure files can be adopted for localization or for insurance companies who use Internal Models (IM). Options are available for combining smaller components, horizontal and vertical scaling, rotation, and plotting only some circle-parts. With outlines and connectors several SCR-compositions can be compared, for example in ORSA-scenarios (Own Risk and Solvency Assessment).
Maintained by Marco van Zanden. Last updated 6 years ago.
0.5 match 3 stars 5.58 score 63 scriptsoxfordihtm
africalaws:Interface to the Laws.Africa API
Laws.Africa <https://laws.africa> endeavours to facilitate African governments in offering sustainable, free access to dependable digital laws. It aims to achieve this by ensuring that the laws are easily accessible, user-friendly, educational, and reusable. This initiative seeks to empower citizens with knowledge of their legal rights and obligations while promoting transparency and accountability within the legal system. Laws.Africa offers a content application programming interface (API) to fetch legislative content and metadata. The API is a read-only API for listing and fetching published versions of legislative works. This package interfaces with this API to allow access using R.
Maintained by Ernest Guevarra. Last updated 5 months ago.
0.8 match 3 stars 2.88 scorechristopherdhare
basicspace:Recovering a Basic Space from Issue Scales
Provides functions to estimate latent dimensions of choice and judgment using Aldrich-McKelvey and Blackbox scaling methods, as described in Poole et al. (2016, <doi:10.18637/jss.v069.i07>). These techniques allow researchers (particularly those analyzing political attitudes, public opinion, and legislative behavior) to recover spatial estimates of political actors' ideal points and stimuli from issue scale data, accounting for perceptual bias, multidimensional spaces, and missing data. The package uses singular value decomposition and alternating least squares (ALS) procedures to scale self-placement and perceptual data into a common latent space for the analysis of ideological or evaluative dimensions. Functionality also include tools for assessing model fit, handling complex survey data structures, and reproducing simulated datasets for methodological validation.
Maintained by Christopher Hare. Last updated 3 months ago.
0.5 match 1 stars 2.89 score 39 scriptschristopherkenny
apportion:Apportion Seats
Convert populations into integer number of seats for legislative bodies. Implements apportionment methods used historically and currently in the United States for reapportionment after the Census, as described in <https://www.census.gov/history/www/reference/apportionment/methods_of_apportionment.html>.
Maintained by Christopher T. Kenny. Last updated 2 years ago.
0.5 match 2.70 score 4 scriptschristopherdhare
anominate:Alpha-NOMINATE Ideal Point Estimator
Provides functions to estimate and interpret the alpha-NOMINATE ideal point model developed in Carroll et al. (2013, <doi:10.1111/ajps.12029>). alpha-NOMINATE extends traditional spatial voting frameworks by allowing for a mixture of Gaussian and quadratic utility functions, providing flexibility in modeling political actors' preferences. The package uses Markov Chain Monte Carlo (MCMC) methods for parameter estimation, supporting robust inference about individuals' ideological positions and the shape of their utility functions. It also contains functions to simulate data from the model and to calculate the probability of a vote passing given the ideal points of the legislators/voters and the estimated location of the choice alternatives.
Maintained by Christopher Hare. Last updated 4 months ago.
0.5 match 1.20 score 16 scripts