| add_event_id_from_clustering | Adds the event_id which uniquely identifies events (grouping... |
| allocate_from_df | Assign users to documents from a dataframe |
| allocate_randomly | Randomly assign a set of articles amongst a set of users for... |
| allocate_randomly_with_some_double_assignment | Assigns articles to users with some double coding and some... |
| assign_article_to_user | Assign article to a user. |
| assign_autoclusters_to_user | Assigns mutiple auto detected clusters to a single user. |
| assign_autocluster_to_user | Assign autodetected cluster to a user. |
| assign_clusters_from_df | Assigns event report to an autodetected cluster |
| assign_coding_to_environment | Assign election violence database objects to the global... |
| assign_eventreport_to_autocluster | Assign a single event report to an autodetected cluster on... |
| assign_reallocations_to_user | Assigns mutiple single events for reallocation to clusters to... |
| assign_reallocation_to_user | Assign single events to user for reallocation to clusters. |
| assign_verified_clusters_to_user | Assigns multiple verified clusters to a single user for... |
| assign_verified_cluster_to_user | Assign verified (and combined) clusters to user for... |
| bnaurl_to_id | Function to extract id portion of BNA url. |
| build_where_condition | Constructs where conditions for querying database. |
| check_sngrams | Check whether a tokenized corpus contains specific n-grams.... |
| classifier_select_docs | Subsets a dataframe of documents based on a classifier. |
| classifier_selection_description | Classifies new documents on a labeled training set... |
| classifier_selection_keywords | Classify documents based on keywords. |
| classifier_selection_ocr | Classifies new documents on a labeled training set... |
| coding_summary | Summary of coding of document allocation. |
| compare_summaries | Compares summaries of coding by user. |
| compile_report | Produces a readable summary of event reports from the... |
| contains_words | Function to tally cases with and without a particular words |
| create_docsets | Create training and test set document matrices |
| create_new_autocluster | 'create_new_autocluster' Creates a new autodetected cluster... |
| create_sets | Create training and test set from a corpus |
| date_to_boundary_year | Returns the set of electoral boundaries that were in place... |
| date_to_election | Finds the election relating to any specific date. |
| define_testset | Returns the test set document ids. |
| define_trainingset | Returns the training set document ids. |
| documents_to_actual | Restrict a vector to document ids actually existing in the... |
| documents_to_latex | Convert dataframe of documents to form suitable for asis... |
| download_to_superwide | Transforms the downloaded coding to 'superwide' format |
| election_dates | Election Dates and Basic Information. |
| evdb_connect | Set connection to election violence database |
| ev_deaths | Election Violence Deaths data. |
| ev_events | Election Violence Event Level Data. |
| evp_classifiers | wrappers round classifiers |
| extract_coding_matches | Creates tibble of all matches from the election violence... |
| find_agreement_from_matches | Checks agreement on variables from dataframe of matched... |
| find_const | Find constituency from latitude and longitude. |
| find_county | Finds county of a latitude and longitude. |
| get_allocation | Get the articles currently allocated to the user. |
| get_allocation_connect_to_docs | Get the allocation of articles to users (the unit of coding),... |
| get_archivesearches | Returns the table of searches which have been passed to the... |
| get_archivesearchresults | Returns the crawler search table |
| get_archivesearchsummaryonly | Returns the archivesearchessummaryonly table filtered by id |
| get_attribute | Returns the tag table filtered by either attribute_id... |
| get_autodetected_cluster_allocations | Get the autodetcted cluster allocations currently allocated... |
| get_candidate_documents | Returns the candidate document table filtered by candidate... |
| get_candidates_fromarchivesearchresults | Gets candidate documents from archivesearchresults. |
| get_classified_docs | Function to get documents from database which are classified... |
| get_clustering | Download clustering process - all stages. |
| get_coding | Download all the coding on the database |
| get_combination_allocations | Finds combination allocations. |
| get_combination_clusters | Finds combination clusters. |
| get_data_for_comparison | Matches elements from two document allocations (presumably... |
| get_distance | Gets the Levenshtein distance between two separate rows after... |
| get_document | Returns the document table filtered by document id |
| get_event_report | Returns the event_report table filtered by event report id |
| get_similarity_score | Gets a similarity score between two strings |
| get_sorted | Uses a scoring matrix to decide which model (model answer)... |
| get_tag | Returns the tag table filtered by either tag_id (primary key)... |
| get_user | Gets user details. |
| get_useractivitylogentry | Get user logged activity |
| get_user_mode | Returns table of current user modes |
| get_verified_clusters | Finds verified clusters (and their existing size). |
| has_word | Function to tally cases with and without a particular words |
| is_evp_coding_download | Check if object is an evp coding download. |
| is_location_tags | Checks if an object is a location_tags table |
| keyring_evp_available | Checks if an evp password is available. |
| killDbConnections | Kills all current database connections |
| manage_dbcons | Returns a connection to the election violence database |
| map_points_on_background | plots sf points against background of a polygons (the_shapes) |
| month_contains_election | Finds the election relating to a month (where an election... |
| nb_keywords | Train a naive bayes classifier and extract keywords as... |
| nb_test | Train a naive bayes classifier on a training dfm and asses... |
| preprocess_corpus | Preprocess a text corpus and return a document feature matrix... |
| preprocess_ngrams | Preprocess a text corpus including the creation of n-grams... |
| preprocess_sgrams | Preprocess a text corpus including the creation of n-grams... |
| process_locations | Creates a wide version of the locations associated with event... |
| reallocate_from_df | Assign users to documents from a dataframe |
| reallocate_randomly | Randomly reassign a set of articles amongst a set of users... |
| reassign_article_to_user | Reassign article allocation to a new user. |
| remove_evp_db_pool | Remove database pool |
| run_firststage_fcm | First stage function of the article selection process taking... |
| run_firststage_nbchng | First stage function of the article selection process taking... |
| searches_to_dfm | Convert a set of search results to a dfm. |
| serialize_row | Turns a database row into a string |
| set_user_mode | Sets user mode |
| show_evp_tables | Shows the tables in the database. |
| split_allocation_randomly | Divide a set of N*P articles amongst P users, giving N... |
| split_corpus | Preprocess a text corpus and divide it into training and... |
| split_dfm | Divide a document feature matrix into training and testing... |
| status_to_text | Convert candidate document status to text |
| user_allocated_fromset | Which items allocated (or not allocated) to user |
| user_docs_partisanmerger | Mitchell Newspaper Partisan Affiliation for Each user_doc. |
| users_to_actual | Restrict a vector to user ids actually existing in the the... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.