From 94856dc7652fca7661fd1bece1f78400f35b6741 Mon Sep 17 00:00:00 2001 From: Florian Matter Date: Tue, 7 Nov 2023 21:08:26 -0800 Subject: [PATCH] foreignkeys --- docs/foreignkeys.csv | 80 +++++++++++++++++++++++--------------------- docs/foreignkeys.md | 2 +- 2 files changed, 43 insertions(+), 39 deletions(-) diff --git a/docs/foreignkeys.csv b/docs/foreignkeys.csv index 612de33..27b26f4 100644 --- a/docs/foreignkeys.csv +++ b/docs/foreignkeys.csv @@ -1,38 +1,42 @@ -Source,Source_Key,Target,Target_Key -ExampleTable,Speaker_ID,speakers,ID -derivations,Process_ID,derivationalprocesses,ID -derivations,Root_ID,morphs,ID -derivations,Source_ID,stems,ID -derivations,Stempart_IDs,stemparts,ID -derivations,Target_ID,stems,ID -exampleparts,Example_ID,ExampleTable,ID -exampleparts,Parameter_ID,ParameterTable,ID -exampleparts,Wordform_ID,wordforms,ID -examples,Text_ID,texts,ID -formparts,Wordform_ID,wordforms,ID -inflectionalvalues,Category_ID,inflectionalcategories,ID -inflectionalvalues,Gloss_ID,glosses,ID -inflections,Form_ID,forms,ID -inflections,Stem_ID,stems,ID -inflections,Value_ID,inflectionalvalues,ID -inflections,Wordformpart_ID,wordformparts,ID -lexemes,Parameter_ID,ParameterTable,ID -morphemes,Part_Of_Speech,partsofspeech,ID -morphemes,Parameter_ID,ParameterTable,ID -morphs,Morpheme_ID,morphemes,ID -morphs,Parameter_ID,ParameterTable,ID -morphs,Part_Of_Speech,partsofspeech,ID -stemparts,Gloss_ID,glosses,ID -stemparts,Morph_ID,morphs,ID -stemparts,Stem_ID,stems,ID -stems,Parameter_ID,ParameterTable,ID -stems,Lexeme_ID,lexemes,ID -stems,Part_Of_Speech,partsofspeech,ID -wordformparts,Wordform_ID,wordforms,ID -wordformparts,Gloss_ID,glosses,ID -wordformparts,Morph_ID,morphs,ID -wordforms,Parameter_ID,ParameterTable,ID -wordforms,Stem_ID,stems,ID -wordforms,Part_Of_Speech,partsofspeech,ID -wordformstems,Stem_ID,stems,ID -wordformstems,Wordform_ID,wordforms,ID +"Source","Source_Key","Target","Target_Key" +"ExampleTable","Speaker_ID","speakers","" +"derivations","Process_ID","derivationalprocesses","" +"derivations","Root_ID","morphs","" +"derivations","Source_ID","stems","" +"derivations","Stempart_IDs","stemparts","" +"derivations","Target_ID","stems","" +"exampleparts","Example_ID","ExampleTable","" +"exampleparts","Parameter_ID","ParameterTable","" +"exampleparts","Wordform_ID","wordforms","" +"examples","Text_ID","texts","" +"formparts","Wordform_ID","wordforms","" +"inflectionalvalues","Category_ID","inflectionalcategories","" +"inflectionalvalues","Gloss_ID","glosses","" +"inflections","Form_ID","forms","" +"inflections","Stem_ID","stems","" +"inflections","Value_ID","inflectionalvalues","" +"inflections","Wordformpart_ID","wordformparts","" +"lexemes","Parameter_ID","ParameterTable","" +"morphemes","Part_Of_Speech","partsofspeech","" +"morphemes","Parameter_ID","ParameterTable","" +"morphemes","Language_ID","LanguageTable","" +"morphs","Language_ID","LanguageTable","" +"morphs","Morpheme_ID","morphemes","" +"morphs","Parameter_ID","ParameterTable","" +"morphs","Part_Of_Speech","partsofspeech","" +"stemparts","Gloss_ID","glosses","" +"stemparts","Morph_ID","morphs","" +"stemparts","Stem_ID","stems","" +"stems","Language_ID","LanguageTable","" +"stems","Part_Of_Speech","partsofspeech","" +"stems","Lexeme_ID","lexemes","" +"stems","Parameter_ID","ParameterTable","" +"wordformparts","Wordform_ID","wordforms","" +"wordformparts","Gloss_ID","glosses","" +"wordformparts","Morph_ID","morphs","" +"wordforms","Parameter_ID","ParameterTable","" +"wordforms","Stem_ID","stems","" +"wordforms","Part_Of_Speech","partsofspeech","" +"wordforms","Language_ID","LanguageTable","" +"wordformstems","Stem_ID","stems","" +"wordformstems","Wordform_ID","wordforms","" diff --git a/docs/foreignkeys.md b/docs/foreignkeys.md index 6190c93..61385ce 100644 --- a/docs/foreignkeys.md +++ b/docs/foreignkeys.md @@ -2,4 +2,4 @@ Running the `add_keys` function on a dataset adds the following foreign keys, if the tables are present: -{{ read_csv('../docs/foreignkeys.csv', keep_default_na=False) }} +{{ read_csv('foreignkeys.csv', keep_default_na=False) }}