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

Add 3 new views for RAs basing on "genre" of "source" of RAs #528

Merged
merged 5 commits into from
Jun 7, 2023

Conversation

whalekeykeeper
Copy link
Contributor

@whalekeykeeper whalekeykeeper commented Jun 7, 2023

Three csv tables were added. They are:
Reading acts whose source in Act table has a genre value "G44"(autobiography);
Reading acts whose source in Act table has a genre value "G07"(science fiction);
Reading acts whose source in Act table has a genre which has "genre_type" as "fiction".

GitHub Action workflow was modified accordingly to be able to generate new views whenever the data in ReadAct is updated.

There three views will be used in the "ReadAct" page of the ReadChina website.

The GitHub Action run after merging might fail for this PR due to a bug in frictionless (see #527 ). They are working on it and it is expected that the auto-run of GitHub Action next week will be passed.

And another PR should be open after this PR to update the views in the datapackage.json file accordingly.

view05_RA_source_G07.csv includes all the RAs when the source has a Genre G07 (SF);
view05_RA_source_G44.csv includes all the RAs when the source has a Genre G44.
the source of the genre has a genre_type 'Fiction'
Basing on genre or genre_type, 3 new views for all RAs with only autobiographical source, with only SF source, with only 'fiction' source, separately.
@LenaHenningsen
Copy link
Collaborator

So, do you want to merge this now?

@whalekeykeeper
Copy link
Contributor Author

So, do you want to merge this now?

Hi Lena, thanks for asking. Now I figured it out I have one more file type to modify andI can merge it later myself. Then just leave it to me. Thanks!

@whalekeykeeper whalekeykeeper merged commit 674603b into master Jun 7, 2023
@whalekeykeeper whalekeykeeper deleted the add-new-views branch June 7, 2023 20:34
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

Successfully merging this pull request may close these issues.

2 participants