Skip to content

lrberge/linking_winst

Repository files navigation

Linking inventors to Swedish registry data

This repository contains the code to complete a linking exercise between Swedish inventors, using patent data, and Swedish identities, using Swedish registry data.

Note that for obivous confidentiality reasons, this repository does not conain any data. It only contains the source code which should be applied to the data.

The source code is geared towards being user friendly for the operator and, as such, there is only 7 lines of code to be run to complete the whole exercise (provided the source data has been properly set up). The downside of this is that the source code is harder to read (especially for R beginners).

Details on how to replicate the matching exercise is provided in the document WINST_Matching-documentation.pdf. Reading this document is highly recommended for setting up R properly.

Structure of the code

The algorithm used in this project is described in the proposal. It consists in 4 main steps:

  1. matching on names
  2. creating bilateral variables
  3. applying an EM algorithm to tell the right matches from wrong matches
  4. extra identification step using patent information

To these four steps, there are two more to add: the initial cleaning of the input data, and the creation of a final data set for information purposes.

You can find all the source for all the steps in the file src_algo_steps.R.

Acknowledgements

This work has been supported by the WINST-project (http://winst.blogg.lu.se) funded by FORTE grant number 2021-01552_3.

Suggested citation

Laurent R. Bergé, 2023, "An algorithm to match Swedish registry data to European patents data for the WINST-project", url: https://github.com/lrberge/linking_winst

Contact

Feel free to contact me (laurent.berge@u-bordeaux.fr) if you spot any mistake or for any enquiry.

About

Linking of inventors to Swedish registry data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published