Skip to contents

manypkgs 0.4.0

Package

  • Updated GitHub workflows, issue templates, and the pull request template
  • Updated CONTRIBUTING with a table of contents and NEWS.md conventions
  • Updated the website reference index to the functions now in the package
  • Dropped {english} and textclean from Imports
  • Updated CITATION to use bibentry()

Coding

Constructing

  • Improved export_data()
    • Dropped the prompt to recode the IDs and titles of the other datasets
    • Dropped the documentation and test scripts that it added

Developing

manypkgs 0.3.1

Package

  • Updated GitHub checks and release actions
  • Closed #99 and #98 with updated regex matches in countryregex to reduce double matching
  • Updated templates for preparation and test scripts to use standardized variables and refer to ‘many package’.
  • Closed #95 with fixes and updates to ‘agreements’ vignette.
  • Added package startup message to setup_package() and update_package() functions.
  • Amended agreement_type matches in sysdata to correctly identify types of agreements.
  • Updated documentation and functions to refer to datacubes rather than databases.
  • Updated test templates to refer to Begin rather than Beg variable.

Connection

Correction

  • Closed #97 by updating code_agreements() and export_data() functions to expect ‘Begin’ rather than ‘Beg’ variable
  • Expanded code_domain() to code topics for health agreements.

manypkgs 0.3.0

Package

  • Closed #87 by updating data templates for new changes with HUGGO and AIGGO new structure
  • Renamed retrieve_clauses() to read_clauses()

Correction

  • Closed #89 by updating code_agreements() and condense_agreements()to improve duplicated matching and methods “fuzzy” matching of treatyIDs for the creation of manyIDs
  • Closed #90 by updating code_states(), previously called code_parties(), to work similarly as it did in manystates to avoid unnecessary overlaps
  • Updated country regex data to improve states’ ID matching
  • Closed #91 by updating standardising_treaty_titles() to be faster, more concise, and consistent
  • Closed #92 by updating export_data() to ask users if treatyIDs, manyIDs, and treaty titles in datasets in a database need to also be updated

manypkgs 0.2.2

Package

  • Closed #55 by updating README and workflow files to download manydata from CRAN
  • Closed #74 by increasing package logo size
  • Updated workflow action files to run faster by implementing package caching
  • Closed #78 by defining consistent ways of dealing with code errors in ‘many’ data packages
  • Closed #85 by adding guidelines for writing in markdown documents to contributing files

Correction

  • Closed #18 by adding convert_pdf() function that extract texts from PDF files
  • Added retrieve_clauses() function
    • Divided get_articles() into retrieve_clauses() for retrieving treaty clauses and standardise_treaty_text() for standardising texts
    • Closed #75 by fixing memory usage issues with function
  • Updated accession and termination functions
    • Renamed code_memebership() function code_accession_terms() for clarity
    • Closed #76 by improving dictionary matching for these functions
  • Closed #77 by making standardise_dates() defunct and favour calling messydates directly for dates conversion
  • Closed #80 by updating standardise_titles() to use deeplr package for translating titles
  • Closed #84 by adding standardise_texts() function to standardise treaty texts in data preparation scripts
  • Renamed get_memberships() and get_links() to retrieve_memberships() and retrieve_links(), respectively, for clarity

manypkgs 0.2.1

Package

  • Closed #11 by adding more informative skimr output in documentation
  • Closed #52 by moving interleave() to the messydates package
  • Closed #61 and #63 by changing references from “qPackages” into “manyPackages”
  • Closed #71 by changing references from many_ID and treaty_ID to manyID and treatyID

Correction

  • Updated termination and membership functions
    • Renamed code_grounds() function code_memberships() for clarity and consistency
    • Added code_term_date() to code treaty termination date
    • Added get_memberships() to get memberships’ lists as a data frame
    • Closed #51 by integrating texts into code_term() and code_memberships()
    • Closed #64 by improving how code_term() and code_memberships() extract information from texts
  • Added code_lineage() function to code lineage from agreement titles
    • Added code_entity() function to extract entities from treaty titles
    • Added code_domain() function to code domains from agreement titles
    • Closed #65 and #70 by updating dictionary of words used to identify domains from treaty titles
    • Added get_links() to get links from manyID facilitate plotting with migraph
    • Closed #68 by writing tests for code_lineage() and related functions

Connection

  • Closed #17 by updating translate argument in standardise_titles()
  • Closed #66 by fixing bugs with lingua() function
  • Updated functions to structure texts function
    • Renamed get_treaty() function get_articles() for clarity
    • Updated split_treaty() to become a helper function to get_articles()
    • Closed #69 by making get_articles() and split_treaty() work on various types of treaty texts

manypkgs 0.2.0

Package

  • Closed #58 by renaming package from qCreate to manypkgs
  • Closed #28 by adding cheatsheet to README

Correction

  • Closed #57 by updating code agreements() and condense_qID() to make code more concise
  • Closed #48 by updating data preparation template in export_data()
  • Updated the countryregex table used in code_parties() so that countries are detected more accurately

Connection

  • Updated standardise_titles()
    • Closed #9 by adding lingua() function for translating text to English
  • Closed #47 by adding functions to structure treaty text
    • Added split_treaty() to split treaty text into preamble and articles
    • Added get_treaty() to get all matching articles by number or word match