Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run metadata_to_api on just one dataset #60

Open
chrowe opened this issue Sep 8, 2022 · 0 comments
Open

Run metadata_to_api on just one dataset #60

chrowe opened this issue Sep 8, 2022 · 0 comments

Comments

@chrowe
Copy link
Member

chrowe commented Sep 8, 2022

Run contents/src/init.py` interactively instead of following the readme.

Add metadata_to_api = metadata_to_api.loc[metadata_to_api['New WRI_ID']=='{ID of the dataset you want to update}'] replacing {ID of the dataset you want to update} with an actual ID.

For Example metadata_to_api = metadata_to_api.loc[metadata_to_api['New WRI_ID']=='com.039.rw0']

I also like to add metadata_to_api.head() after that just be able to preview the output to make sure it is the datasets I was expecting.

add main() at the bottom if you want to be able to run it all at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant