You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README for Scripts in var Directory (AI generated)
This README provides guidance on how to use the Python scripts located in the var directory of the Human 'Omics Data Sharing Field Guide repository. These scripts are crucial for data transformation and extraction tasks that support the website's functionality.
Scripts Overview
tools_table_conversion.py - Converts a Google Sheets table to a YAML file used for the tools and resources section of the website.
extract_zotero.py - Extracts references from a Zotero group library and saves them as a BibTeX file.
1. tools_table_conversion.py
This script fetches data from a specified Google Sheet and converts it into a YAML file that is then used to populate the tools and resources section on the website.
Usage
python var/tools_table_conversion.py
Details
Fetches data from a Google Sheet using its ID.
Filters and transforms the data.
Outputs the data to a YAML file located at _data/tool_and_resource_list.yml.
Outputs the references to a file located at _bibliography/references.bib.
Example:
# Command line argument parsingparser=argparse.ArgumentParser(prog='Zotero Extractor',
description='Extracts the latest references from a zotero library and saves a ''bibtex file.')
Common Requirements
Both scripts require Python and several dependencies which can be installed via:
pip install -r requirements.txt
Dependencies include pandas, requests, and PyYAML.
Conclusion
These scripts are essential for maintaining up-to-date and dynamic content on the Human 'Omics Data Sharing Field Guide website. By automating the extraction and transformation of data from external sources like Google Sheets and Zotero, they significantly streamline the process of content updates.
The text was updated successfully, but these errors were encountered:
README for Scripts in var Directory (AI generated)
This README provides guidance on how to use the Python scripts located in the var directory of the Human 'Omics Data Sharing Field Guide repository. These scripts are crucial for data transformation and extraction tasks that support the website's functionality.
Scripts Overview
1. tools_table_conversion.py
This script fetches data from a specified Google Sheet and converts it into a YAML file that is then used to populate the tools and resources section on the website.
Usage
Details
_data/tool_and_resource_list.yml
.Example:
2. extract_zotero.py
This script extracts references from a Zotero group library and outputs them as a BibTeX file, which is then used to manage citations on the website.
Usage
Details
_bibliography/references.bib
.Example:
Common Requirements
Both scripts require Python and several dependencies which can be installed via:
Dependencies include
pandas
,requests
, andPyYAML
.Conclusion
These scripts are essential for maintaining up-to-date and dynamic content on the Human 'Omics Data Sharing Field Guide website. By automating the extraction and transformation of data from external sources like Google Sheets and Zotero, they significantly streamline the process of content updates.
The text was updated successfully, but these errors were encountered: