edit LaTEX => add relevance.tex edit title.tex cds_introduction_data_science_assignment.tex / edit zotero.py zotero_bibtex_configuration.yaml
parent
b2ef658402
commit
00fad219c9
|
@ -10,11 +10,11 @@ import yaml
|
|||
# Load the Configurations
|
||||
def load_configuration(zotero_conf_filename):
|
||||
zotero_bibtex_config = dict()
|
||||
zotero_conf_dir = os.path.join(os.path.dirname(os.getcwd()), 'code_configuration')
|
||||
# zotero_conf_dir = os.path.join(os.path.dirname(os.getcwd()), 'code_configuration')
|
||||
#
|
||||
# yaml_path = os.path.join(zotero_conf_dir, zotero_conf_filename)
|
||||
|
||||
yaml_path = os.path.join(zotero_conf_dir, zotero_conf_filename)
|
||||
|
||||
with open(yaml_path, "r") as file:
|
||||
with open(zotero_conf_filename, "r") as file:
|
||||
zotero_bibtex_config = yaml.load(file, Loader=yaml.FullLoader)
|
||||
|
||||
return zotero_bibtex_config
|
||||
|
@ -159,9 +159,9 @@ def write_bibliography(zotero_data, zotero_bibtex_config):
|
|||
keystore_path = zotero_bibtex_config.get('common').get('keystore_filepath')
|
||||
tex_dir = os.path.join(os.path.dirname(os.getcwd()), keystore_path)
|
||||
|
||||
yaml_path = os.path.join(tex_dir, keystore_file)
|
||||
#yaml_path = os.path.join(tex_dir, keystore_file)
|
||||
|
||||
with open(yaml_path, "r") as file:
|
||||
with open(keystore_file, "r") as file:
|
||||
zotero_bibtex_keys = yaml.load(file, Loader=yaml.FullLoader)
|
||||
|
||||
zotero_bibtex_keys_specials = {
|
||||
|
@ -177,12 +177,13 @@ def write_bibliography(zotero_data, zotero_bibtex_config):
|
|||
# tex_dir = os.path.join(os.path.dirname(os.getcwd()), 'source')
|
||||
bibtex_path = zotero_bibtex_config.get('common').get('bibtex_filepath')
|
||||
# tex_dir = os.path.join(os.path.dirname(os.getcwd()), bibtex_path)
|
||||
tex_dir = os.path.join(os.path.dirname(), bibtex_path)
|
||||
#tex_dir = os.path.join(os.path.dirname(), bibtex_path)
|
||||
# tex_dir = os.path.join(os.getcwd(), 'src', 'content')
|
||||
# file_name = 'Datenbank_Projektauftrag_Michael_Graber.bib'
|
||||
file_name = zotero_bibtex_config.get('common').get('bibtex_filename')
|
||||
|
||||
file_path = os.path.join(tex_dir, file_name)
|
||||
#file_path = os.path.join(tex_dir, file_name)
|
||||
file_path = os.path.join(bibtex_path, file_name)
|
||||
|
||||
# bib_datas = BibliographyData()
|
||||
listKeys = list()
|
||||
|
@ -300,6 +301,6 @@ def write_bibliography(zotero_data, zotero_bibtex_config):
|
|||
BibliographyData.to_file(bib_datas, file_path, bib_format="bibtex", encoding='utf-8')
|
||||
|
||||
|
||||
zotero_bibtex_config = load_configuration('zotero_bibtex_configuration.yaml')
|
||||
zotero_bibtex_config = load_configuration('/home/gra/PycharmProjects/cds_introduction_data_science_assignment/src/gra/zotero_bibtex_configuration.yaml')
|
||||
zotero_data = get_data(zotero_bibtex_config)
|
||||
write_bibliography(zotero_data, zotero_bibtex_config)
|
||||
|
|
|
@ -6,7 +6,7 @@ private:
|
|||
result_limit: 100
|
||||
access_type: "groups"
|
||||
zotero_access_id: "5665342"
|
||||
collection_id: "EJKIYYMC"
|
||||
collection_id: "YYVZPL7F"
|
||||
api_key: "6Xgb3XhGjQXwA8NuZgu3bw3s"
|
||||
# keystore_file: "zotero_biblatex_keystore.yaml"
|
||||
# keystore_filepath: "code_configuration"
|
||||
|
@ -20,7 +20,7 @@ public:
|
|||
collection_id: "V5VYIYTF"
|
||||
api_key: "6Xgb3XhGjQXwA8NuZgu3bw3s"
|
||||
common:
|
||||
keystore_file: "zotero_biblatex_keystore.yaml"
|
||||
keystore_file: "/home/gra/PycharmProjects/cds_introduction_data_science_assignment/src/gra/zotero_biblatex_keystore.yaml"
|
||||
keystore_filepath: "code_configuration"
|
||||
bibtex_filepath: "term-paper"
|
||||
bibtex_filename: "cds_computer_science_project.bib"
|
||||
bibtex_filepath: "/home/gra/PycharmProjects/cds_introduction_data_science_assignment/term-paper"
|
||||
bibtex_filename: "cds_data_science.bib"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
@misc{YEEWV3DH,
|
||||
howpublished = "\url{https://www.tanaffosjournal.ir/article\_242146\_050977fd76f7a68418a04c8e6583c537.pdf}",
|
||||
title = "Full Text PDF"
|
||||
}
|
||||
|
||||
@article{D8G7JHBA,
|
||||
author = "Sajjadieh, Amirreza and Shahsavari, Ali and Safae, Ali and Penzel, Thomas and Schoebel, Christoph and Fietze, Ingo and Mozafarian, Nafiseh and Amra, Babak and Kelishadi, Roya",
|
||||
volume = "19",
|
||||
url = "https://www.tanaffosjournal.ir/article\_242146.html",
|
||||
title = "The Association of Sleep Duration and Quality with Heart Rate Variability and Blood Pressure",
|
||||
pages = "135-143",
|
||||
year = "2020"
|
||||
}
|
|
@ -25,13 +25,14 @@
|
|||
|
||||
%\begin{multicols}{2}
|
||||
\section{Einleitung}
|
||||
\citeauthor{Student2022} führt aus Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua \cite{Student2022}.
|
||||
%\citeauthor{Student2022} führt aus Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua \cite{Student2022}.
|
||||
|
||||
\section{Forschungsfragen und Methodik}
|
||||
\input{research_question}
|
||||
\input{data_fredy}
|
||||
\input{data_oli}
|
||||
\input{data_gra}
|
||||
\input{relevance}
|
||||
\section{Resultate}
|
||||
\input{results_fredy}
|
||||
\input{results_oli}
|
||||
|
@ -63,6 +64,6 @@
|
|||
%-------------------------
|
||||
% literature
|
||||
%-------------------------
|
||||
\bibliography{library}
|
||||
\bibliography{cds_data_science}
|
||||
|
||||
\end{document}
|
|
@ -1,8 +0,0 @@
|
|||
@article{Student2022,
|
||||
author={Student, A.},
|
||||
title={My Title},
|
||||
journal={My Journal},
|
||||
volume={8},
|
||||
year=2022,
|
||||
pages={175-191}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
%! Author = gra
|
||||
%! Date = 24.10.24
|
||||
|
||||
% Preamble
|
||||
\section{Stand der Forschung}
|
||||
\citeauthor{D8G7JHBA}
|
|
@ -4,15 +4,11 @@
|
|||
\titlehead{BSc Computational and Data Science\\Einführung inComputational und Data Science\\Dozent: Prof. Corsin Capol\hfill}
|
||||
\title{Schlafqualität und Herzfreuenz}
|
||||
\subtitle{Beeinflusst die Schlafqualität die Herzfrequenz?}
|
||||
\author[1,*]{Frederic Kurbel}
|
||||
\author[1,*]{Oliver Schütz}
|
||||
\author[1]{Hans Muster}
|
||||
\author[1]{Fachhochschule Graubünden}
|
||||
\author[2,*]{Michael Graber}
|
||||
\author[2]{Kantonsspital Graubünden}
|
||||
\author[2]{Fachhochschule Graubünden}
|
||||
\author[1,*]{Michael Graber}
|
||||
\affil[1]{Fachhochschule Graubünden}
|
||||
\affil[*]{E-Mail Adressen: hans.muster@stud.fhgr.ch, hans.muster@stud.fhgr.ch, hans.muster@stud.fhgr.ch}
|
||||
\affil[*]{E-Mail Adressen: graber-michael@hotmail.com, michael.graber@ksgr.ch, michael.graber@stud.fhgr.ch}
|
||||
\affil[*]{E-Mail Adressen: frederic.kurbel@stud.fhgr.ch, oliver.schuetz@stud.fhgr.ch, michael.graber@stud.fhgr.ch}
|
||||
\date{\today}
|
||||
\maketitle
|
||||
|
||||
|
|
Loading…
Reference in New Issue