pv_evaluation.templates#
Contents#
Create html report based on disambiguation results. |
Documentation#
HTML report templates.
- pv_evaluation.templates.render_inventor_disambiguation_report(outdir, disambiguation_files, inventor_not_disambiguated_file, cache=True, **kwargs)[source]#
Create html report based on disambiguation results.
- Parameters:
outdir (str) – directory where to output html files.
disambiguation_files (list) – list of string paths to disambiguation files (tables with the two columns “mention_id” and “inventor_id”). Files format can be one of tsv, csv, or parquet.
inventor_not_disambiguated (str) – string path to a file containing the columns “patent_id”, “inventor_sequence”, “raw_inventor_name_first”, and “raw_inventor_name_last”. For granted patents, this should be the file “g_inventor_not_disambiguated.tsv” from PatentsView’s bulk data downloads.
cache (bool, optional) – whether or not to cache jupyter chunk execution between runs. Defaults to True.
Notes
Summary table filenames are used for figure legends. Keep them short.